sxhkd/sxhkdrc

88 lines
2.3 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 -d /home/ray/.Syncthing/Pass/Passwords.kdbx
super + ctrl + shift + p
keepmenu -d /home/ray/.Syncthing/Pass/PasswordsClient.kdbx
super + ctrl + p
tmux-select
super + Return
alacritty --config-file ~/.config/alacritty/alacritty--light.toml
super + shift + Return
alacritty
## 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
bookmarks /home/ray/.Syncthing/bookmarks/urls.txt
super + shift o
bookmarks /home/ray/.Syncthing/bookmarks/paths-machineone.txt
super + ctrl o
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1200x600+610+1200 && alacritty --config-file ~/.config/alacritty/alacritty--light-small.toml -e nvim /home/ray/.Syncthing/bookmarks/
# surf
KP_Home
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+1200 && chromium --app=https://git.rayelliott.dev/rayelliott/wiki
KP_Up
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+1200 && chromium --app=https://git.rayelliott.dev/
KP_Add
bspc rule --add Chromium --one-shot follow=on state=floating rectangle=1080x868+0+1200 && 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.toml -e lf ~
KP_Begin
bspc rule --add Pcmanfm --one-shot follow=on state=floating rectangle=1080x868+0+1200 && pcmanfm
# floating terminal
KP_End
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1000x600+0+1200 && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.toml
KP_Down
bspc rule --add Alacritty --one-shot follow=on state=floating rectangle=1000x600+0+1200 && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.toml -e nvim -c "setfiletype markdown"