summaryrefslogtreecommitdiffstats
path: root/.local/bin/mixer-set
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-17 14:37:44 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-17 14:37:44 +0200
commit9addbecbf31bab7088d3089a99964eeb3c6c7928 (patch)
treebfb42318b4495c88eb7883180661bf53cc9e0a8c /.local/bin/mixer-set
parentupdate (diff)
downloaddotfiles-bsd-9addbecbf31bab7088d3089a99964eeb3c6c7928.tar.gz
dotfiles-bsd-9addbecbf31bab7088d3089a99964eeb3c6c7928.tar.bz2
dotfiles-bsd-9addbecbf31bab7088d3089a99964eeb3c6c7928.tar.xz
dotfiles-bsd-9addbecbf31bab7088d3089a99964eeb3c6c7928.tar.zst
dotfiles-bsd-9addbecbf31bab7088d3089a99964eeb3c6c7928.zip
update
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;
}