super + Escape pkill -USR1 -x sxhkd super + shift + Return alacritty super + p rofi -show run -theme ~/scripts/rofi-scripts/default_theme.rasi super + shift + p rofi -modi drun -show drun -theme ~/scripts/rofi-scripts/default_theme.rasi # # bspwm hotkeys # super + ctrl + shift + q bspc quit # restart bspwm super + q bspc wm -r # close a window super + ctrl + shift + c bspc node -c # alternate between the tiled and monocle layout super + m bspc desktop -l next # send the newest marked node to the newest preselected node super + alt + comma bspc node newest.marked.local -n newest.!automatic.local super + Return bspc node -s biggest.local # # state/flags # # set the window state super + {t,shift + t,s,f} bspc node -t {tiled,pseudo_tiled,floating,fullscreen} # set the node flags super + alt + m bspc node -g marked # # focus/swap # # focus the node in the given direction super + {_,shift + }{h,j,k,l} bspc node -{f,s} {west,south,north,east} # focus the node for the given path jump #super + {shift+b,b,comma,period} # bspc node -f @{parent,brother,first,second} # focus the next/previous node in the current desktop super + {_,shift + }c bspc node -f {next,prev}.local # focus the last node/desktop super + {grave,Tab} bspc {node,desktop} -f last # focus the older or newer node in the focus history super + {o,i} bspc wm -h off; \ bspc node {older,newer} -f; \ bspc wm -h on # focus or send to the given desktop super + {_,shift + }{1-9,0} bspc {desktop -f,node -d} '^{1-9,10}' # # preselect # # preselect the direction super + alt + {h,j,k,l} bspc node -p {west,south,north,east} # preselect the ratio super + alt + {1-9} bspc node -o 0.{1-9} # cancel the preselection for the focused node super + alt + shift + space bspc node -p cancel # cancel the preselection for the focused desktop super + alt + space bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel # # move/resize # super + ctrl + {h,j,k,l} bspc node -z {left -40 0,bottom 0 40,top 0 -40,right 40 0} super + ctrl + shift + {h,j,k,l} bspc node -z {right -40 0,top 0 40,bottom 0 -40,left 40 0} # move a floating window super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} # # start stuff # super + b qutebrowser --target window super + e sh ~/.config/bspwm/bspwm_scripts/execute_menu.sh super + shift + ctrl + g killall -INT -g giph;\ notify-send gif "saved gif to ~/Bilder/gifs" # # scratchpads # # super + n; super + d # pids=$(xdotool search --class "discord"); \ # for pid in $pids; do bspc node $pid --flag hidden -f; done #super + n; super + d # tdrop -ma -w -4 --class discord -y "$PANEL_HEIGHT" discord # #super + n; super + n # ~/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh kitty_scratchpad #super + n; super + n #id=$(cat /tmp/scratchid); bspc node $id --flag hidden; bspc node -f $id