diff options
-rw-r--r-- | sxhkdrc | 181 |
1 files changed, 0 insertions, 181 deletions
diff --git a/sxhkdrc b/sxhkdrc deleted file mode 100644 index 52b3c77..0000000 --- a/sxhkdrc +++ /dev/null @@ -1,181 +0,0 @@ -# -# wm independent hotkeys -# - -# terminal emulator -super + Return - WINIT_X11_SCALE_FACTOR=1.0 ~/.cargo/bin/alacritty - -# program launcher -super + a - rofi -show run - -# window switcher -super + k - rofi -show window - -# make sxhkd reload its configuration files -super + Escape - pkill -USR1 -x sxhkd - -# screenshot -super + Print - flameshot gui - -# mute output -XF86AudioMute - pactl set-sink-mute @DEFAULT_SINK@ toggle - -# lower output volume -XF86AudioLowerVolume - pactl set-sink-volume @DEFAULT_SINK@ -5% - -# raise output volume -XF86AudioRaiseVolume - pactl set-sink-volume @DEFAULT_SINK@ +5% - -# mute input -XF86AudioMicMute - pactl set-source-mute @DEFAULT_SOURCE@ toggle - -# lower brightness -XF86MonBrightnessDown - brightnessctl set 2%- - -# raise brightness -XF86MonBrightnessUp - brightnessctl set 2%+ - -# lock screen -super + l - i3lock-fancy-rapid 1 10 - -# kill session completely -super + alt + {_,shift + }o - pkill -u {_,-9} ${USER} - -# firefox -super + shift + f - firefox - -# hexchat -super + shift + h - hexchat - -# thunderbird -super + shift + l - thunderbird - -# signal -super + shift + s - signal-desktop - -# element -super + shift + m - LIBGL_ALWAYS_INDIRECT=1 element-desktop - -# -# bspwm hotkeys -# - -# quit/restart bspwm -super + alt + {q,r} - bspc {quit,wm -r} - -# close and kill -super + {_,shift + }q - bspc node -{c,k} - -# -# state/flags -# - -# set the window state -super + {t,shift + t,s,f} - bspc node -t {tiled,pseudo_tiled,floating,fullscreen} - -# set the node flags -super + ctrl + {m,x,y,z} - bspc node -g {marked,locked,sticky,private} - -# start intro sequence -super + ctrl + s - ~/bin/wmintro - -# enter unsafe mode -super + ctrl + u - ~/bin/wmunsafe - -# enter normal mode -super + ctrl + n - ~/bin/wmnormal - -# enter normal mode and ensure immediate safety -Pause - ~/bin/wmdanger - -# -# focus/swap -# - -# focus the node in the given direction -super + {_,shift + }{Left,Down,Up,Right} - bspc node -{f,s} {west,south,north,east} - -# focus the given desktop -super + {1-9} - D={1-9}; \ - bspc desktop -f "$(bspc query -D -m | sed -n "$D p")" - -# send to the given desktop -super + shift + {1-9} - D={1-9}; \ - bspc node -d "$(bspc query -D -m | sed -n "$D p")" --follow - -# focus the given monitor -super + ctrl + {1-2} - bspc monitor -f '^{1-2}' - -# send to the given monitor -super + ctrl + shift + {1-2} - bspc node -m '^{1-2}' --follow - -# -# preselect -# - -# preselect the direction -super + ctrl + {Left,Down,Up,Right} - bspc node -p {west,south,north,east} - -# cancel the preselection for the focused node -super + ctrl + space - bspc node -p cancel - -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# -# move/resize -# - -# expand a window by moving one of its sides outward -super + alt + {Left,Down,Up,Right} - bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} - -# contract a window by moving one of its sides inward -super + alt + shift + {Left,Down,Up,Right} - bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} - -# move a floating window -super + {Left,Down,Up,Right} - bspc node -v {-20 0,0 20,0 -20,20 0} - -# -# rotate split -# - -# rotate the split of the last two focused windows -super + {x,z} - bspc node @parent -R {90,-90} |