commit 8c94291be1bae6dc8133352164cf757164aece57
parent 03097795e74a60f12c11f7ff5e34b8d8e0c01dc2
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Fri, 2 Oct 2020 20:29:31 -0700
Fix song notifications bug
if the song title had `[.*]' in it that would also be displayed.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -40,7 +40,7 @@ super + e
# pause-play/stop
alt + backslash
- notify-send "`mpc toggle | grep -o "\[.*\]"`"
+ notify-send "`mpc -f '' toggle | grep -om1 "\[.*\]"`"
# control volume
alt + {apostrophe,semicolon}