sxhkd/sxhkdrc

109 lines
2.3 KiB
Plaintext
Raw Normal View History

2020-03-31 20:28:57 +00:00
#
# wm independent hotkeys
#
# terminal emulator
# super + Return
# urxvt
# program launcher
#super + @space
# dmenu_run
2021-10-26 10:27:39 +00:00
# dunst
ctrl + space
dunstctl close-all
ctrl + grave
dunstctl history-pop
2021-01-01 00:31:01 +00:00
# toggle keyboard layout
2022-01-09 11:38:32 +00:00
KP_Divide
2021-01-01 00:31:01 +00:00
~/.config/sxhkd/toggle-gb-ru-kb.sh
2020-12-28 13:14:51 +00:00
# mouse scroll down
super + Down
xte 'mouseclick 5'
2020-12-28 13:20:36 +00:00
# xte provided by xautomation package (Arch)
2020-12-28 13:14:51 +00:00
# mouse scroll up
super + Up
xte 'mouseclick 4'
# mouse middle click
super + v
xte 'mouseclick 2'
2020-03-31 20:28:57 +00:00
# make sxhkd reload its configuration files:
2020-03-31 21:28:57 +00:00
super + Escape
pkill -USR1 -x sxhkd
2020-03-31 20:28:57 +00:00
super + p
dmenu_recency
2021-04-13 08:23:58 +00:00
super + b
qutesesh
2020-04-11 17:12:37 +00:00
super + shift + p
keepmenu
super + ctrl + p
tmux-select
2020-07-12 10:26:50 +00:00
super + Return
2022-01-09 11:38:32 +00:00
alacritty --config-file ~/.config/alacritty/alacritty--light.yml
2020-03-31 20:28:57 +00:00
2020-07-12 10:26:50 +00:00
super + shift + Return
2022-01-09 11:38:32 +00:00
alacritty
2020-07-12 10:26:50 +00:00
2020-03-31 20:28:57 +00:00
super + control + Return
2022-01-09 11:38:32 +00:00
st
2020-03-31 20:28:57 +00:00
## screenshots
super + Print
i3-scrot
super + shift + Print
2021-12-03 13:52:28 +00:00
i3-scrot -d
super + ctrl + Print
scrot-grab
2020-03-31 20:28:57 +00:00
super + e
dmenu_power
super + shift + e
slock
super + o
2020-11-20 23:46:07 +00:00
buku_dmenu
super + y
2020-11-20 23:53:42 +00:00
alacritty -t "WM_FORCE_FLOATING" -e "/usr/local/src/dmenu_buku/buku_add_primary.sh"
2020-10-30 12:25:34 +00:00
super + x
xcompmgr-toggle
2021-10-30 15:58:31 +00:00
# surf
2022-01-09 11:38:32 +00:00
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
2021-10-30 15:58:31 +00:00
2022-01-09 11:38:32 +00:00
KP_Insert
bspc rule --add KeePassXC --one-shot follow=on state=floating && keepassxc
2021-10-30 15:58:31 +00:00
# file managers
2022-01-09 11:38:32 +00:00
KP_Left
2021-11-21 12:23:46 +00:00
bspc rule --add Alacritty --one-shot follow=on state=floating && alacritty --config-file ~/.config/alacritty/alacritty--light-small.yml -e lf ~
2022-01-09 11:38:32 +00:00
KP_Begin
bspc rule --add Pcmanfm --one-shot follow=on state=floating rectangle=1080x868+0+700 && pcmanfm
2021-10-30 15:58:31 +00:00
# floating terminal
2022-01-09 11:38:32 +00:00
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"