This commit is contained in:
Ray Elliott 2024-01-07 17:10:18 +00:00
parent cb51a2bad8
commit 08f3d34263
2 changed files with 11 additions and 29 deletions

36
sxhkdrc
View File

@ -10,12 +10,12 @@ ctrl + grave
dunstctl history-pop
# toggle keyboard layout
KP_Divide
~/.config/sxhkd/toggle-gb-ru-kb.sh
# KP_Divide
# ~/.config/sxhkd/toggle-gb-ru-kb.sh
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
killall sxhkd && /usr/bin/sxhkd -c /home/ray/.config/sxhkd/sxhkdrc /home/ray/.config/sxhkd/sxhkdrc.bspwm /home/ray/.config/sxhkd/sxhkdrc.bspwm.machineone &
super + p
dmenu_recency
@ -63,25 +63,11 @@ super + shift o
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"
# KP_Home
# KP_Up
# KP_Add
# KP_Insert
# KP_Left
# KP_Begin
# KP_End
# KP_Down

View File

@ -22,10 +22,6 @@ super + m
# bspc node -s biggest
# show window titles
super + Home
bspc rule --add Alacritty --one-shot state=floating && alacritty --config-file ~/.config/alacritty/alacritty--light-small.yml --hold -e show-windows
#
# state/flags
#