summaryrefslogtreecommitdiffstats
path: root/.local/bin/mixer-set
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/mixer-set3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/mixer-set b/.local/bin/mixer-set
index 460086b..c5911bb 100755
--- a/.local/bin/mixer-set
+++ b/.local/bin/mixer-set
@@ -47,6 +47,7 @@ sub main {
'mixer-set',
'墳 Volume'
);
+ system('kill -68 $(pidof dwmblocks)');
exit;
}
elsif ($ARGV[0] eq "toggle") {
@@ -73,6 +74,7 @@ sub main {
'mixer-set',
'婢 Volume muted'
);
+ system('kill -68 $(pidof dwmblocks)');
}
else {
open(my $fh, '<:encoding(UTF-8)', $tmp_file);
@@ -106,6 +108,7 @@ sub main {
'mixer-set',
$icon . ' Volume restored'
);
+ system('kill -68 $(pidof dwmblocks)');
}
exit;
}