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