Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/sxhkd/sxhkdrc

83 lines
1.5 KiB
Text

# Terminal
super + Return
tabbed -c -r 2 st -w ''
# Rofi
super + space
rofi -show drun
# Rofi Calc
super + c
rofi -show calc -no-show-match -no-sort
# Rofi Emoji
super + e
rofi -show emoji
# Rofi Window
super + w
rofi -show window
# Rofi Powermenu
super + p
rofi -show powermenu -modi powermenu:$HOME/.config/rofi/powermenu.sh
# Start slock
super + shift + q
slock
# Chrome
super + b
google-chrome-unstable
# Discord
super + d
discord-canary
# Ranger
super + p
st -e ranger
# Quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
# Close and kill
super + {_,shift + }v
bspc node -{c,k}
# Set the window state
super + {t,s,f}
bspc node -t {tiled,floating,fullscreen}
# Focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# Focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
# Preselect the direction
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# Preselect the ratio
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# Cancel the preselection for the focused desktop
super + Escape
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
# Expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# Contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}