summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-07-28 15:42:26 +0200
committerRasmus Steinke <rasi@xssn.at>2015-07-28 15:42:26 +0200
commit6b77641f4032c5616d9e24045d2b4e80f6fdf74d (patch)
tree67c16aa00efa0c4738d05b40a3a2e1549fac4f44 /clerk
parent1802bc10464968b0b485ac6c0fbf34cad67e46ba (diff)
downloadperl-app-clerk-6b77641f4032c5616d9e24045d2b4e80f6fdf74d.tar.gz
perl-app-clerk-6b77641f4032c5616d9e24045d2b4e80f6fdf74d.tar.xz
reload output menu
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk3
1 files changed, 2 insertions, 1 deletions
diff --git a/clerk b/clerk
index e3e1ef5..8285a96 100755
--- a/clerk
+++ b/clerk
@@ -754,6 +754,7 @@ outputPrompt () {
else
mpc toggleoutput $(echo "$menu" | awk '{print $2}');
notify-send "MPD" "$(echo "$menu" | $sed -e 's/enabled$/disabled/;ta;s/disabled$/enabled/;:a;')";
+ outputPrompt
fi
}
@@ -1775,7 +1776,7 @@ saveTrackToPlaylist() {
function dmenu_t () {
- rofi -dmenu $(echo "$rofiopts") "$@"
+ rofi -dmenu -z $(echo "$rofiopts") "$@"
}
while :; do