config (5366B)
1 # ______ ______ ______ ______ __ 2 #| \ / \ / \ / \ | \ 3 # \$$$$$$| $$$$$$\ | $$$$$$\ ______ _______ | $$$$$$\ \$$ ______ 4 # | $$ \$$__| $$ | $$ \$$ / \ | \ | $$_ \$$| \ / \ 5 # | $$ | $$ | $$ | $$$$$$\| $$$$$$$\| $$ \ | $$| $$$$$$\ 6 # | $$ __\$$$$$\ | $$ __ | $$ | $$| $$ | $$| $$$$ | $$| $$ | $$ 7 # _| $$_ | \__| $$ | $$__/ \| $$__/ $$| $$ | $$| $$ | $$| $$__| $$ 8 #| $$ \ \$$ $$ \$$ $$ \$$ $$| $$ | $$| $$ | $$ \$$ $$ 9 # \$$$$$$ \$$$$$$ \$$$$$$ \$$$$$$ \$$ \$$ \$$ \$$ _\$$$$$$$ 10 # | \__| $$ 11 # \$$ $$ 12 # \$$$$$$ 13 14 # Diffrent config files 15 include ~/.config/i3/workspaces.conf 16 17 set $mod Mod4 18 19 # Does not matter, using polybar 20 font pango:Meslo LGM Nerd Font 8 21 22 # Starts up desktop enviroment + miisc stuff 23 exec --no-startup-id dex --autostart --environment i3 24 exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork 25 26 # Use pactl to adjust volume in PulseAudio. 27 set $refresh_i3status killall -SIGUSR1 i3status 28 bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status 29 bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status 30 bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status 31 bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status 32 33 # Use Mouse+$mod to drag floating windows to their wanted position 34 floating_modifier $mod 35 tiling_drag modifier titlebar 36 37 # Opens a terminal 38 bindsym $mod+Return exec i3-sensible-terminal 39 40 # kill focused window 41 bindsym $mod+w kill 42 43 #----------------------------------------------------------------------------------# 44 # Shortcuts / Auto start # 45 #----------------------------------------------------------------------------------# 46 47 bindsym $mod+r exec rofi -show drun -show-icons 48 bindsym $mod+f exec librewolf 49 bindsym $mod+d exec discord 50 bindsym $mod+p exec pavucontrol 51 52 #Auto start programs 53 exec polybar 54 exec redshift 55 exec picom & 56 exec nitrogen --restore 57 #exec --no-startup-id nm-applet #GUI network 58 59 #----------------------------------------------------------------------------------# 60 # Focus window / Misc window options # 61 #----------------------------------------------------------------------------------# 62 # change focus window 63 bindsym $mod+h focus left 64 bindsym $mod+j focus down 65 bindsym $mod+k focus up 66 bindsym $mod+l focus right 67 68 # move focused window 69 bindsym $mod+Shift+j move left 70 bindsym $mod+Shift+k move down 71 bindsym $mod+Shift+l move up 72 bindsym $mod+Shift+semicolon move right 73 74 # split in horizontal/vertical orientation 75 bindsym $mod+Shift+v split h 76 bindsym $mod+v split v 77 78 # enter fullscreen mode for the focused container 79 bindsym $mod+t fullscreen toggle 80 81 # change container layout (stacked, tabbed, toggle split) 82 bindsym $mod+u layout stacking 83 bindsym $mod+o layout tabbed 84 bindsym $mod+i layout toggle split 85 86 # toggle tiling / floating 87 bindsym $mod+Shift+space floating toggle 88 89 # change focus between tiling / floating windows 90 bindsym $mod+space focus mode_toggle 91 92 # focus the parent/child container 93 bindsym $mod+z focus parent 94 bindsym $mod+x focus child 95 96 # reload the configuration file 97 bindsym $mod+Shift+c reload 98 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 99 bindsym $mod+Shift+r restart 100 # exit i3 (logs you out of your X session) 101 bindsym $mod+Shift+e exec pkill i3 102 103 # resize window (you can also use the mouse for that) 104 bindsym $mod+Shift+p mode "resize" 105 mode "resize" { 106 bindsym h resize shrink width 10 px or 10 ppt 107 bindsym k resize grow height 10 px or 10 ppt 108 bindsym j resize shrink height 10 px or 10 ppt 109 bindsym l resize grow width 10 px or 10 ppt 110 111 # back to normal: Enter or Escape or $mod+r 112 bindsym Return mode "default" 113 bindsym Escape mode "default" 114 bindsym $mod+r mode "default" 115 } 116 117 # class border backgr. text indicator child_border 118 client.focused #552486 #701acb #ffffff #552486 #552486 119 client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a 120 client.unfocused #333333 #222222 #888888 #292d2e #222222 121 client.urgent #2f343a #900000 #ffffff #900000 #900000 122 client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c 123 124 client.background #ffffff 125 126 #bar { 127 # status_command i3status -c ~/.config/i3status/config 128 # position top 129 # show no 130 # font pango:monospace 10 131 # separator_symbol " | " 132 # tray_output primary 133 # 134 # colors { 135 # background #282c34 136 # statusline #ffffff 137 # separator #666666 138 # 139 # focused_workspace #552486 #701acb #ffffff 140 # active_workspace #333333 #5f676a #ffffff 141 # inactive_workspace #333333 #222222 #888888 142 # urgent_workspace #2f343a #900000 #ffffff 143 # } 144 #} 145