2019-08-06 10:56:54 -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
|
|
|
|
|
2020-02-11 16:31:37 -08:00
|
|
|
# Attach to a detached session. If none is available create a new one, rather
|
|
|
|
# than attach to one that is already attached to elsewhere.
|
2019-08-06 10:56:54 -07:00
|
|
|
super + Return
|
2021-10-10 01:34:00 -07:00
|
|
|
kitty
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2020-02-09 00:03:58 -08:00
|
|
|
ctrl + super + Return
|
2021-10-10 01:34:00 -07:00
|
|
|
xst -e bash -c "(tmux ls | grep -qEv 'attached|scratch' && tmux at) || tmux"
|
2020-02-09 00:03:58 -08:00
|
|
|
|
2021-02-09 19:01:55 -08:00
|
|
|
# Open a disposable, floating terminal window, for quick shell commands.
|
2019-08-06 10:56:54 -07:00
|
|
|
super + grave
|
2020-02-01 18:04:39 -08:00
|
|
|
scratch
|
2019-12-03 17:33:31 -08:00
|
|
|
|
2021-02-09 19:01:55 -08:00
|
|
|
# Open a disposable scratch buffer in a floating Emacs window, to run arbitrary
|
|
|
|
# code or quickly note something down.
|
2019-12-03 17:33:31 -08:00
|
|
|
super + shift + grave
|
2021-02-09 19:06:16 -08:00
|
|
|
emacsclient --eval "(open-scratch-frame)"
|
|
|
|
|
|
|
|
# Invoke emacs-everywhere at point.
|
|
|
|
super + e
|
|
|
|
emacsclient --eval "(emacs-everywhere)"
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
super + space
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/rofi/appmenu
|
2019-08-06 10:56:54 -07:00
|
|
|
|
2019-12-08 01:00:15 -08:00
|
|
|
super + Tab
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/rofi/windowmenu
|
2019-12-08 01:00:15 -08:00
|
|
|
|
2021-02-23 07:47:38 -08:00
|
|
|
super + p
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/rofi/bwmenu
|
2021-02-23 07:47:38 -08:00
|
|
|
|
|
|
|
super + shift + p
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/rofi/bwmenu -r
|
2020-02-09 00:03:58 -08:00
|
|
|
|
|
|
|
super + slash
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/rofi/filemenu -x
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
super + Escape
|
|
|
|
pkill -USR1 -x sxhkd
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
2020-02-09 00:03:58 -08:00
|
|
|
## Toggle floating/fullscreen
|
2019-08-06 10:56:54 -07:00
|
|
|
super + {_,ctrl + }f
|
|
|
|
bspc node -t ~{floating,fullscreen}
|
|
|
|
|
|
|
|
|
2020-02-09 00:03:58 -08:00
|
|
|
super + {_,ctrl +}{h,j,k,l}
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/bspwm/focus {_,-m }{west,south,north,east}
|
2020-02-09 00:03:58 -08:00
|
|
|
|
|
|
|
super + shift + {_,ctrl +}{h,j,k,l}
|
2021-02-26 10:20:46 -08:00
|
|
|
$DOTFILES_BIN/bspwm/swap {_,-m }{west,south,north,east}
|
2020-02-09 00:03:58 -08:00
|
|
|
|
|
|
|
## Resize by preselection
|
|
|
|
super + alt + {1-9}
|
2020-10-11 18:30:49 -07:00
|
|
|
$DOTFILES/bin/bspwm/presel 0.{1-9}
|
2020-02-09 00:03:58 -08:00
|
|
|
|
|
|
|
super + alt + {h,j,k,l}
|
|
|
|
bspc node -p {west,south,north,east}
|
|
|
|
|
|
|
|
super + alt + Return
|
2020-10-11 18:30:49 -07:00
|
|
|
$DOTFILES/bin/bspwm/subtract-presel
|
2020-02-09 00:03:58 -08:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
2019-08-06 10:56:54 -07:00
|
|
|
#
|
|
|
|
## Media keys
|
|
|
|
|
2020-01-12 15:17:17 -08:00
|
|
|
# screenshot region
|
|
|
|
Print
|
2019-08-06 10:56:54 -07:00
|
|
|
scrcap
|
2020-01-12 15:17:17 -08:00
|
|
|
# screencast region to mp4
|
|
|
|
super + Print
|
2020-02-09 00:03:58 -08:00
|
|
|
scrrec -s ~/recordings/$(date +%F-%T).mp4
|
2020-01-12 15:17:17 -08:00
|
|
|
# screencast region to gif
|
|
|
|
super + ctrl + Print
|
2020-02-09 00:03:58 -08:00
|
|
|
scrrec -s ~/recordings/$(date +%F-%T).gif
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
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}
|
2020-04-06 12:41:35 -07:00
|
|
|
spt-send toggle
|
2019-11-17 20:11:54 -08:00
|
|
|
XF86AudioNext
|
2020-04-06 12:41:35 -07:00
|
|
|
spt-send next
|
2019-11-17 20:11:54 -08:00
|
|
|
XF86AudioPrev
|
2020-04-06 12:41:35 -07:00
|
|
|
spt-send prev
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
# X86Search
|
|
|
|
|