sxhkd/sxhkdrc

113 lines
2.0 KiB
Plaintext

#
# wm independent hotkeys
#
# terminal emulator
# super + Return
# urxvt
# program launcher
#super + @space
# dmenu_run
# dunst
ctrl + space
dunstctl close-all
ctrl + grave
dunstctl history-pop
# toggle keyboard layout
super + BackSpace
~/.config/sxhkd/toggle-gb-ru-kb.sh
# mouse scroll down
super + Down
xte 'mouseclick 5'
# xte provided by xautomation package (Arch)
# mouse scroll up
super + Up
xte 'mouseclick 4'
# mouse middle click
super + v
xte 'mouseclick 2'
# 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
terminal
super + shift + Return
alacritty --config-file ~/.config/alacritty/alacritty--light.yml
super + control + Return
alacritty
## screenshots
super + Print
i3-scrot
super + shift + Print
i3-scro -d
super + s
dmenu_ssh
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 + x
xcompmgr-toggle
# surf
super + KP_Home
surf https://git.rayelliott.dev/
super + KP_Up
surf https://git.rayelliott.dev/rayelliott/wiki
super + KP_Prior
surf http://web.home/
# chromium as app
super + shift + KP_Prior
chromium --app=http://web.home
super + KP_Left
keepassxc
# file managers
super + KP_Begin
bspc rule --add Alacritty --one-shot state=floating && alacritty --config-file ~/.config/alacritty/alacritty--light-small.yml -e lf ~
super + shift + KP_Begin
bspc rule --add Pcmanfm --one-shot state=floating && pcmanfm
# floating terminal
super + KP_End
bspc rule --add Alacritty --one-shot state=floating && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.yml
super + shift + KP_End
bspc rule --add Alacritty --one-shot state=floating && alacritty --working-directory ~/.Temp --config-file ~/.config/alacritty/alacritty--light-small.yml -e nvim -c "setfiletype markdown"