Minor tweaks to sxhkd.

This commit is contained in:
Derek Taylor
2019-09-05 21:05:33 -05:00
parent 00d2d27ba3
commit e8529575e4

View File

@@ -1,19 +1,26 @@
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
# #
# wm independent hotkeys # A customized sxhkdrc for the bspwm window manager.
# # https://github.com/baskerville/sxhkd
# https://github.com/baskerville/bspwm
# WM INDEPENDENT KEYBINDINGS
# terminal emulator # terminal emulator
super + Return super + Return
st st
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + Escape super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
#
# bspwm hotkeys # BSPWM HOTKEYS
#
# quit/restart bspwm # quit/restart bspwm
super + shift + {q,r} super + shift + {q,r}
@@ -35,9 +42,8 @@ super + y
super + g super + g
bspc node -s biggest bspc node -s biggest
#
# state/flags # STATE/FLAGS
#
# set the window state # set the window state
super + {t,shift + t,s,f} super + {t,shift + t,s,f}
@@ -47,9 +53,8 @@ super + {t,shift + t,s,f}
super + ctrl + {m,x,y,z} super + ctrl + {m,x,y,z}
bspc node -g {marked,locked,sticky,private} bspc node -g {marked,locked,sticky,private}
#
# focus/swap # FOCUS/SWAP
#
# focus the node in the given direction # focus the node in the given direction
super + {_,shift + }{h,j,k,l} super + {_,shift + }{h,j,k,l}
@@ -81,9 +86,8 @@ super + {o,i}
super + {_,shift + }{1-9,0} super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}' bspc {desktop -f,node -d} '^{1-9,10}'
#
# preselect # PRESELECT
#
# preselect the direction # preselect the direction
super + ctrl + {h,j,k,l} super + ctrl + {h,j,k,l}
@@ -101,9 +105,8 @@ super + ctrl + space
super + ctrl + shift + space super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
# move/resize # MOVE/RESIZE
#
# expand a window by moving one of its side outward # expand a window by moving one of its side outward
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
@@ -117,9 +120,8 @@ super + alt + shift + {h,j,k,l}
super + {Left,Down,Up,Right} super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0} bspc node -v {-20 0,0 20,0 -20,20 0}
#
# dmenu scripts (Alt+Ctrl+Key) # DMENU SCRIPTS (Alt+Ctrl+Key)
#
# run program launcher # run program launcher
alt + ctrl + Return alt + ctrl + Return