2023-11-05 12:22:05 +01:00
|
|
|
#
|
|
|
|
# wm independent hotkeys
|
|
|
|
#
|
|
|
|
|
|
|
|
# terminal emulator
|
|
|
|
alt + Return
|
|
|
|
sterm
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# big terminal
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + shift + Return
|
|
|
|
bterm
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# huge terminal
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + control + Return
|
|
|
|
hterm
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# scratchpad
|
2023-11-08 11:02:15 +01:00
|
|
|
alt + minus
|
|
|
|
sp
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
# program launcher
|
|
|
|
alt + d
|
|
|
|
dexec
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# ssh
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + s
|
|
|
|
dexec_ssh
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# browser
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + shift + f
|
|
|
|
dexec_browser
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# password manager
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + shift + p
|
|
|
|
dexec_pass
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# apps
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + a
|
|
|
|
dexec_apps
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# pim
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + p
|
|
|
|
dexec_pim
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# vpn
|
2024-01-21 12:06:39 +01:00
|
|
|
alt + v
|
|
|
|
dexec_vpn
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# vim: history
|
2024-01-21 12:06:39 +01:00
|
|
|
alt + shift + o
|
|
|
|
texec "vim -c ':History!'"
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# vim: myfiles
|
2024-01-21 12:06:39 +01:00
|
|
|
alt + o
|
2024-01-21 21:52:18 +01:00
|
|
|
texec "vim -c ':MyFiles'"
|
2024-01-21 12:06:39 +01:00
|
|
|
|
2023-11-05 12:22:05 +01:00
|
|
|
#
|
|
|
|
# bspwm hotkeys
|
|
|
|
#
|
|
|
|
|
|
|
|
#XF86AudioRaiseVolume
|
|
|
|
# pkill -sigusr1 bspwmbar
|
|
|
|
#
|
|
|
|
#XF86AudioLowerVolume
|
|
|
|
# printf '%s\n' "UVOL" > "$PANEL_FIFO"
|
|
|
|
#
|
|
|
|
#XF86AudioMute
|
|
|
|
# printf '%s\n' "UVOL" > "$PANEL_FIFO"
|
|
|
|
|
|
|
|
# quit/restart bspwm
|
|
|
|
alt + shift + r
|
2024-01-22 14:47:42 +01:00
|
|
|
bspc wm -r
|
2023-11-05 12:22:05 +01:00
|
|
|
pkill -SIGUSR1 sxhkd
|
|
|
|
|
|
|
|
# close and kill
|
|
|
|
alt + q
|
|
|
|
bspc node -c
|
|
|
|
|
|
|
|
alt + shift + q
|
2024-01-22 10:28:53 +01:00
|
|
|
bspc node -k
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
# alternate between the tiled and monocle layout
|
|
|
|
alt + f
|
|
|
|
bspc node -t "~"{fullscreen,tiled}
|
|
|
|
|
|
|
|
# send the newest marked node to the newest preselected node
|
|
|
|
alt + y
|
|
|
|
bspc node newest.marked.local -n newest.!automatic.local
|
|
|
|
|
|
|
|
# swap the current node and the biggest node
|
|
|
|
alt + g
|
|
|
|
bspc node -s biggest
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# toggle tiling
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + space
|
|
|
|
bspc node -t "~"{floating,tiled}
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# pick color
|
2023-11-05 12:22:05 +01:00
|
|
|
Print
|
|
|
|
xpick_copy
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# screenshot
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + Print
|
|
|
|
sshot
|
|
|
|
|
|
|
|
#
|
|
|
|
# state/flags
|
|
|
|
#
|
|
|
|
|
|
|
|
# set the window state
|
|
|
|
#alt + {t,shift + t,s,f}
|
|
|
|
# bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
|
|
|
|
|
|
|
# set the node flags
|
|
|
|
#alt + ctrl + {m,x,y,z}
|
|
|
|
# bspc node -g {marked,locked,sticky,private}
|
|
|
|
|
|
|
|
#
|
|
|
|
# focus/swap
|
|
|
|
#
|
|
|
|
|
2024-01-22 10:28:53 +01:00
|
|
|
# {focus,swap} the node in the given direction
|
2023-11-05 12:22:05 +01:00
|
|
|
alt + {_,shift + }{Left,Down,Up,Right}
|
|
|
|
bspc node -{f,s} {west,south,north,east}
|
|
|
|
|
2024-01-22 10:28:53 +01:00
|
|
|
# move window into give direction
|
|
|
|
alt + ctrl + {Left,Down,Up,Right}
|
|
|
|
bspc node -n {west,south,north,east}
|
|
|
|
|
2023-11-05 12:22:05 +01:00
|
|
|
# focus the node for the given path jump
|
2024-01-21 21:52:18 +01:00
|
|
|
#alt + {p,b,comma,period}
|
|
|
|
# bspc node -f @{parent,brother,first,second}
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
# focus the next/previous node in the current desktop
|
|
|
|
#alt + {o,i}
|
2024-01-22 10:28:53 +01:00
|
|
|
# ctrl + {Prior,Next}
|
|
|
|
# bspc node -f {next,prev}.local
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
# focus the next/previous desktop in the current monitor
|
|
|
|
alt + {Prior,Next}
|
|
|
|
bspc desktop -f {prev,next}.local
|
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# drag window to next/previous desktop
|
2024-01-22 10:28:53 +01:00
|
|
|
alt + shift + {Next,Prior}
|
|
|
|
bspc node -d {next,prev}.local --follow
|
2024-01-21 21:52:18 +01:00
|
|
|
|
2023-11-05 12:22:05 +01:00
|
|
|
# focus the last node/desktop
|
2024-01-21 21:52:18 +01:00
|
|
|
alt + Tab
|
|
|
|
bspc desktop -f last
|
2023-11-05 12:22:05 +01:00
|
|
|
|
2024-01-21 21:52:18 +01:00
|
|
|
# # focus the older or newer node in the focus history
|
|
|
|
# alt + {_,shift + }c
|
|
|
|
# bspc wm -h off; \
|
|
|
|
# bspc node {older,newer} -f; \
|
|
|
|
# bspc wm -h on
|
2023-11-05 12:22:05 +01:00
|
|
|
|
2024-01-22 10:28:53 +01:00
|
|
|
# focus or send to the given desktop
|
|
|
|
alt + {_,shift + }{1-9,0}
|
|
|
|
bspc {desktop -f,node -d} '^{1-9,10}'
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# preselect
|
|
|
|
#
|
|
|
|
|
|
|
|
# preselect the direction
|
2024-01-21 12:06:39 +01:00
|
|
|
#super + {Left,Down,Up,Right}
|
|
|
|
# bspc node -p {west,south,north,east}
|
2023-11-05 12:22:05 +01:00
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# preselect spawn area
|
2024-01-22 10:28:53 +01:00
|
|
|
ctrl + {Left,Down,Up,Right}
|
2024-01-22 16:55:21 +01:00
|
|
|
bspc node -p {west,south,north,east}
|
2023-11-05 12:22:05 +01:00
|
|
|
|
2024-01-22 16:55:21 +01:00
|
|
|
# cancel the preselection for the focused node
|
2024-01-22 10:28:53 +01:00
|
|
|
ctrl + Return
|
|
|
|
bspc node -p cancel
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
# cancel the preselection for the focused node
|
2024-01-22 10:28:53 +01:00
|
|
|
ctrl + space
|
2023-11-05 12:22:05 +01:00
|
|
|
bspc node -p cancel
|
|
|
|
|
2024-01-22 10:28:53 +01:00
|
|
|
|
|
|
|
# preselect the ratio
|
|
|
|
alt + ctrl + {1-9}
|
|
|
|
bspc node -o 0.{1-9}
|
|
|
|
|
2024-01-21 21:52:18 +01:00
|
|
|
## cancel the preselection for the focused desktop
|
|
|
|
#alt + ctrl + shift + space
|
|
|
|
# bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
2023-11-05 12:22:05 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# move/resize
|
|
|
|
#
|
|
|
|
|
|
|
|
# expand a window by moving one of its side outward
|
|
|
|
#shift + 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
|
|
|
|
#shift + 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
|
|
|
|
#alt + {Left,Down,Up,Right}
|
|
|
|
# bspc node -v {-20 0,0 20,0 -20,20 0}
|