commit d3fea9bee9f779fef7231b33b1ad7fe617d56987
parent 65ae99855287c33e3fc583fc137e89926d6904d3
Author: hhvn <dev@hhvn.uk>
Date: Sun, 19 Dec 2021 13:19:30 +0000
.c/s/sxhkdrc: back to cmus
Diffstat:
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
@@ -22,9 +22,6 @@ super + shift + a
super + b
tabbed -k -c surf -e > /tmp/tabbed.xid
-super + shift + n
- st -c mpvrcp -g 150x30 -b -e mpvrcp /tmp/mpv-socket
-
super + n
st -t neomutt -c neomutt -e sh -c "neomutt; $SHELL"
@@ -67,9 +64,6 @@ super + ctrl + w
super + shift + g
chradio
-super + o
- st -t torrents -c torrents -e sh -c "torrents; $SHELL"
-
super + shift + o
addtorrent xclip
@@ -82,17 +76,34 @@ super + ctrl + y
super + ctrl + u
dmpv general/music/ /tmp/mpv-socket /tmp/mpv-socket2 --no-video
-super + alt + {y,u}
- rmpv general/{videos,music}/list
+# Socket mpv control
+# super + alt + {y,u}
+# rmpv general/{videos,music}/list
+#
+# super + ctrl + {i,p}
+# hmpv {back,forward} /tmp/mpv-socket
+#
+# super + alt + {i,p}
+# hmpv {prev,next} /tmp/mpv-socket
+#
+# super + {ctrl,alt} + o
+# hmpv {toggle,quit} /tmp/mpv-socket
+#
+# super + shift + n
+# st -c mpvrcp -g 150x30 -b -e mpvrcp /tmp/mpv-socket
+# cmus control
super + ctrl + {i,p}
- hmpv {back,forward} /tmp/mpv-socket
+ cmus-remote --seek {-5,5}
super + alt + {i,p}
- hmpv {prev,next} /tmp/mpv-socket
+ cmus-remote {--prev,--next}
super + {ctrl,alt} + o
- hmpv {toggle,quit} /tmp/mpv-socket
+ cmus-remote {--pause,--stop}
+
+super + shift + n
+ pgrep cmus || st -c cmus -g 150x30 -b -e cmus
super + {minus,equal}
hvol 3%{-,+}