Add current mpd status notify shortcut
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 13 Oct 2021 20:21:20 +0000 (16:21 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 13 Oct 2021 20:21:20 +0000 (16:21 -0400)
home/.xbindkeysrc
home/bin/notify_mpc [new file with mode: 0755]

index bb34e7a..2ee1024 100644 (file)
 
 "notify_time-in-zones"
     Mod4 + z
+
+# MPD
+"notify_mpc"
+    Mod4 + Shift + m
diff --git a/home/bin/notify_mpc b/home/bin/notify_mpc
new file mode 100755 (executable)
index 0000000..87546d5
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+notify-send -u low 'currently playing' "$(mpc)"
This page took 0.021339 seconds and 4 git commands to generate.