109 lines
2.3 KiB
Plaintext
109 lines
2.3 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
|
|
KP_Divide
|
|
~/.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
|
|
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 + x
|
|
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"
|