~rearrange scripts

This commit is contained in:
dx
2020-06-27 11:03:26 +01:00
parent b82ffe03b0
commit 290a98c970

View File

@@ -33,8 +33,8 @@ super + {comma,period}
# Launchers # Launchers
super + Return super + Return
$TERMINAL;\ notify-send "Launching terminal"; \
notify-send "Launching terminal"; $TERMINAL
{super,hyper} + a {super,hyper} + a
dmenu_run dmenu_run
@@ -43,27 +43,27 @@ hyper + e
$HOME/.emacs_anywhere/bin/run $HOME/.emacs_anywhere/bin/run
hyper + s hyper + s
qutebrowser; notify-send "Launching qutebrowser"; \
notify-send "Launching qutebrowser"; qutebrowser
hyper + q; q hyper + q; q
emacsclient -c -s MAIN -a=emacs; \ notify-send "Launching Emacs"; \
notify-send "Launching Emacs"; emacsclient -c -s MAIN -a=emacs;
hyper + q; s hyper + q; s
eserver restart; \ notify-send "(Re)starting emacs server"; \
notify-send "(Re)starting emacs server"; eserver restart;
hyper + q; d hyper + q; d
emacsclient -c -s MAIN -a=emacs --eval '(dired "~")'; \ notify-send "Launching Dired"; \
notify-send "Launching Dired"; emacsclient -c -s MAIN -a=emacs --eval '(dired "~")';
hyper + l hyper + l
$HOME/.local/scripts/lock $HOME/.local/scripts/lock
hyper + d hyper + d
$HOME/.local/scripts/background; \ notify-send "Changing background"; \
notify-send "Changing background"; $HOME/.local/scripts/background;
hyper + m hyper + m
$HOME/.local/scripts/playlist_choice $HOME/.local/scripts/playlist_choice
@@ -74,11 +74,11 @@ super + F12
# Music and volume # Music and volume
F{6,7,8} F{6,7,8}
mpc -q {prev,toggle,next}; \ mpc -q {prev,toggle,next}; \
notify-send "MPD: Track $(mpc --format '%title%' | head -1)" notify-send "MPD: Track $(mpc --format '%title%' | head -1)";
XF86Audio{Prev,Next} XF86Audio{Prev,Next}
mpc -q {prev,next}; \ mpc -q {prev,next}; \
notify-send "MPD: Track $(mpc --format '%title%' | head -1)" notify-send "MPD: Track $(mpc --format '%title%' | head -1)";
{_,hyper + }F{9,10} {_,hyper + }F{9,10}
{pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%;
@@ -88,8 +88,8 @@ XF86Audio{Prev,Next}
XF86MonBrightness{Down,Up} XF86MonBrightness{Down,Up}
xbacklight {-,+}15; \ xbacklight {-,+}15; \
notify-send "Brightness: $(xbacklight)" notify-send "Brightness: $(xbacklight)";
F{3,4} F{3,4}
xbacklight {-,+}15; \ xbacklight {-,+}15; \
notify-send "Brightness: $(xbacklight)" notify-send "Brightness: $(xbacklight)";