141 lines
2.6 KiB
Plaintext
141 lines
2.6 KiB
Plaintext
# Launchers
|
|
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"
|
|
|
|
super + Return
|
|
notify-send -u low "Launching terminal"; \
|
|
$TERMINAL
|
|
|
|
super + a
|
|
dmenu_run
|
|
|
|
super + e
|
|
$HOME/.local/scripts/eselect;
|
|
|
|
super + s
|
|
notify-send -u low "Launching browser"; \
|
|
xdg-open "https://duckduckgo.com";
|
|
|
|
super + C
|
|
dunstctl close;
|
|
|
|
super + semicolon
|
|
$HOME/.local/scripts/localstream -f;
|
|
|
|
super + colon
|
|
$HOME/.local/scripts/localstream -p;
|
|
|
|
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 + z
|
|
notify-send -u low "Launching zathura"; \
|
|
zathura
|
|
|
|
super + alt + l
|
|
$HOME/.local/scripts/lock;
|
|
|
|
super + alt + L
|
|
xtrlock;
|
|
|
|
super + ctrl + alt + l
|
|
i3lock -c 000000;
|
|
|
|
super + ctrl + m
|
|
$HOME/.local/scripts/mail_fetch
|
|
|
|
super + p
|
|
passmenu -f -i
|
|
|
|
super + F11
|
|
systemctl hibernate
|
|
|
|
super + F12
|
|
systemctl suspend
|
|
|
|
super + Home
|
|
onboard
|
|
|
|
# Media
|
|
super + F{6,7,8}
|
|
playerctl {previous,play-pause,next};
|
|
|
|
XF86Audio{Prev,Play,Next}
|
|
playerctl {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;
|
|
|
|
# Connections
|
|
Scroll_Lock
|
|
conn=$(nmcli | grep "connected to" | sed 's/.*connected to //g' | head -1); \
|
|
nmcli c down "$conn"; \
|
|
notify-send -u low "Turning off wifi"; \
|
|
nmcli c up "$conn"; \
|
|
notify-send -u low "Reset " $conn;
|
|
|
|
# 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:
|