# For some keybinds to work properly some scripts from "https://github.com/thei0n/slcf" must be installed ######### General keybinds ########## #Launch terminal alt + Return [ -z $TERMINAL ] && alacritty || $TERMINAL #Launch browser alt + shift + Return [ -z $BROWSER ] && qutebrowser || $BROWSER #Change wallpaper alt + shift + v setwp ~/.config/wallpapers #Launch terminal alternative alt + shift + n [ -z $TERMINAL_ALTERNATIVE ] && kitty || $TERMINAL_ALTERNATIVE #Kill all the alternative terminal instances alt + shift + m [ -z $TERMINAL_ALTERNATIVE ] && killall kitty || killall $TERMINAL_ALTERNATIVE #Open gruvbox themed dmenu alt + d dmenu_run -i -nb '#282828' -nf '#ebdbb2' -sb '#ebdbb2' -sf '#1f222d' -fn 'Roboto:bold:pixelsize=14' #passmenu alt+p passmenu #Volume buttons XF86AudioRaiseVolume sVolume +10 XF86AudioLowerVolume sVolume -10 XF86AudioMute sVolume --toggle #Brightness buttons XF86MonBrightnessUp sBrightness +5 XF86MonBrightnessDown sBrightness -5 #Screenshot alt + shift + s sScreenshot ######### BSPWM specific keybinds ########## #Change workspaces alt + {_,shift + }{1-9} bspc {desktop -f,node -d} '^{1-9,10}' #Change Focus alt + {h,j,k,l} bspc node -f {west,south,north,east} #Reload bspwm alt + shift + r bspc wm -r #Exit bspwm alt + shift + 0 killall bspwm #Toggle fullscreen mode alt + f bspc node -t fullscreen #Toggle titled mode alt + a bspc node -t tiled #Toggle floating mode alt+s bspc node -t floating #Move windowns in floating mode super + shift + {h,j,k,l} bspc node -v {-20 0,0 20,0 -20,20 0} #Kill the focused window alt + shift + q bspc node -c # Focus next floating window alt + space bspc node -f next.floating #Expanding the focused node super + {h,j,k,l} bspc node -z {left -20 0,bottom 0 20, bottom 0 -20, left 20 0} #moving the focused node alt + shift + {h,j,k,l} bspc node -s {west,south,north,east} alt + r bspc node @/ -R 90