Files
dotfiles/SXHkD/.config/sxhkd/sxhkdrc
2025-11-16 22:31:24 +00:00

142 lines
2.6 KiB
Plaintext

# Launchers
super + Return
notify-send -u low "Launching terminal"; \
$TERMINAL
super + a
dmenu_run
super + e
$HOME/.local/scripts/eselect;
super + E
notify-send -u low "Launching basic"; \
$HOME/.local/scripts/spawn_everything;
super + s
notify-send -u low "Launching browser"; \
$HOME/.local/scripts/browser;
super + C
dunstctl close;
super + semicolon
$HOME/.local/scripts/qscope;
super + apostrophe
$HOME/.local/scripts/statdisplay;
super + equal
$HOME/.local/scripts/act_display "--auto";
super + minus
$HOME/.local/scripts/act_display "--off";
super + numbersign
$HOME/.local/scripts/bt_connect;
super + underscore
notify-send -u normal "Turning off screentimer"; \
$HOME/.local/scripts/screentimer off;
super + plus
notify-send -u normal "Turning on screentimer"; \
$HOME/.local/scripts/screentimer on;
super + z
notify-send -u low "Launching zathura"; \
zathura;
super + ctrl + m
$HOME/.local/scripts/mail_fetch
super + p
passmenu -f -i
# lock and power
super + alt + l
$HOME/.local/scripts/lock;
super + alt + L
i3lock -c 000000;
super + ctrl + alt + l
xtrlock;
super + F11
systemctl hibernate
super + F12
systemctl suspend
# Profiles
super + Escape
notify-send -u low "Reloading xprofile"; \
sh .xprofile;
super + shift + Escape
notify-send -u low "Reloaded sxhkd"; \
killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
# Media
super + F{6,7,8}
playerctl --player=mpv {previous,play-pause,next};
XF86Audio{Prev,Play,Next}
playerctl --player=mpv {previous,play-pause,next};
XF86Audio{Lower,Raise}Volume
kill -42 $(pidof dwmblocks); \
{pamixer -d,pamixer -i} 5 --allow-boost;
shift + XF86Audio{Lower,Raise}Volume
kill -42 $(pidof dwmblocks); \
{pamixer -d,pamixer -i} 1 --allow-boost;
super + F{9,10}
kill -42 $(pidof dwmblocks); \
{pamixer -d,pamixer -i} 1 --allow-boost;
XF86AudioMute
kill -42 $(pidof dwmblocks); \
pamixer -t;
Pause
playerctl --player=spotify play-pause
Print
$HOME/.local/scripts/screenshot;
super + alt + s
$HOME/.local/scripts/screenshot;
super + ctrl + d
notify-send -u low "Changing background"; \
$HOME/.local/scripts/background;
super + ctrl + D
notify-send -u low "Changing background"; \
$HOME/.local/scripts/black-bg;
# Brightness
XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 5; \
kill -37 $(pidof dwmblocks);
shift + XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 1; \
kill -37 $(pidof dwmblocks);
super + F{3,4}
xbacklight -{dec,inc} 5; \
kill -37 $(pidof dwmblocks);
super + shift + F{3,4}
xbacklight -{dec,inc} 1; \
kill -37 $(pidof dwmblocks);
;; Local Variables:
;; mode: conf
;; End: