sxhkd/sxhkdrc

88 lines
2.0 KiB
Plaintext

#
# wm independent hotkeys
#
# dunst
ctrl + space
dunstctl close-all
ctrl + grave
dunstctl history-pop
# toggle keyboard layout
KP_Divide
~/.config/sxhkd/toggle-gb-ru-kb.sh
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
super + p
dmenu_recency
super + b
qutesesh
super + shift + p
keepmenu
super + ctrl + p
tmux-select
super + Return
alacritty --config-file ~/.config/alacritty/alacritty--light.yml
super + shift + Return
alacritty
super + control + Return
st
## screenshots
super + Print
i3-scrot
super + shift + Print
i3-scrot -d
super + ctrl + Print
scrot-grab
super + e
dmenu_power
super + shift + e
slock
super + o
buku_dmenu
super + y
alacritty -t "WM_FORCE_FLOATING" -e "/usr/local/src/dmenu_buku/buku_add_primary.sh"
super + c
xcompmgr-toggle
# surf
KP_Home
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+700 && chromium --app=https://git.rayelliott.dev/rayelliott/wiki
KP_Up
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+700 && chromium --app=https://git.rayelliott.dev/
KP_Add
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+700 && chromium --app=http://web.home
KP_Insert
bspc rule --add KeePassXC --one-shot follow=on state=floating && keepassxc
# file managers
KP_Left
bspc rule --add Alacritty --one-shot follow=on state=floating && alacritty --config-file ~/.config/alacritty/alacritty--light-small.yml -e lf ~
KP_Begin
bspc rule --add Pcmanfm --one-shot follow=on state=floating rectangle=1080x868+0+700 && pcmanfm
# floating terminal
KP_End
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1000x600+0+700 && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.yml
KP_Down
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1000x600+0+700 && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.yml -e nvim -c "setfiletype markdown"