helm/users/profiles/desktop/sxhkdrc

132 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2021-10-04 08:22:19 -07:00
super + alt + Escape
bspc quit
super + {_,shift + }q
bspc node -{c,k}
super + t
bspc desktop -l next
super + apostrophe
bspc window -s last
# Attach to a detached session. If none is available create a new one, rather
# than attach to one that is already attached to elsewhere.
super + Return
kitty
ctrl + super + Return
xst -e bash -c "(tmux ls | grep -qEv 'attached|scratch' && tmux at) || tmux"
# Open a disposable, floating terminal window, for quick shell commands.
super + grave
scratch
# Open a disposable scratch buffer in a floating Emacs window, to run arbitrary
# code or quickly note something down.
super + shift + grave
emacsclient --eval "(open-scratch-frame)"
super + space
2021-10-12 05:35:18 -07:00
rofi -show drun -modi drun,run -show-icons -theme theme/appmenu.rasi
2021-10-04 08:22:19 -07:00
super + Tab
2021-10-12 05:35:18 -07:00
rofi -show window -show-icons -theme theme/windowmenu.rasi
2021-10-04 08:22:19 -07:00
2022-04-15 08:20:42 -07:00
super + e
rofimoji --rofi-args "-theme theme/emojimenu.rasi" --skin-tone moderate --action copy
2021-10-04 08:22:19 -07:00
super + p
2021-11-13 09:47:38 -08:00
passmenu
2021-10-04 08:22:19 -07:00
2021-11-13 09:47:38 -08:00
super + s
powermenu
2021-10-04 08:22:19 -07:00
2022-03-21 21:52:06 -07:00
super + o
screenshot
2021-10-04 08:22:19 -07:00
super + Escape
pkill -USR1 -x sxhkd
super + n
xkblayout-state set +1
2021-10-04 08:22:19 -07:00
#
##
## Toggle floating/fullscreen
super + {_,ctrl + }f
bspc node -t ~{floating,fullscreen}
2021-10-13 05:52:50 -07:00
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
2021-10-04 08:22:19 -07:00
2021-10-13 05:52:50 -07:00
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
2021-10-04 08:22:19 -07:00
## Resize by preselection
super + alt + {1-9}
2021-10-13 05:52:50 -07:00
$DOTFLES/bin/bspwm/presel 0.{1-9}
2021-10-04 08:22:19 -07:00
super + alt + {h,j,k,l}
bspc node -p {west,south,north,east}
super + alt + Return
$DOTFILES/bin/bspwm/subtract-presel
super + alt + Delete
bspc node -p cancel
super + {_,shift +}{1-9,0}
bspc {desktop -f,node -d} {1-9,10};
# expand a window by moving one of its side outward
super + {Left,Down,Up,Right}
bspc node -z {left -40 0,bottom 0 40,top 0 -40,right 40 0}
# contract a window by moving one of its side inward
super + ctrl + {Left,Down,Up,Right}
bspc node -z {right -40 0,top 0 40,bottom 0 -40,left 40 0}
# move a floating window
super + shift + {Left,Down,Up,Right}
bspc node -v {-40 0,0 40,0 -40,40 0}
#
## Media keys
super + u
mpv-ify
2021-10-04 08:22:19 -07:00
# screenshot region
Print
scrcap
# screencast region to mp4
super + Print
scrrec -s ~/recordings/$(date +%F-%T).mp4
# screencast region to gif
super + ctrl + Print
scrrec -s ~/recordings/$(date +%F-%T).gif
XF86MonBrightnessUp
light -A 5
XF86MonBrightnessDown
light -U 5
XF86AudioMute
amixer -q set Master toggle
XF86AudioLowerVolume
amixer -q set Master 10%- unmute
XF86AudioRaiseVolume
amixer -q set Master 10%+ unmute
XF86Audio{Play,Pause}
spt-send toggle
XF86AudioNext
spt-send next
XF86AudioPrev
spt-send prev
# X86Search