new configs
This commit is contained in:
parent
f3ab049a81
commit
4c81c0ca4a
10 changed files with 107 additions and 14 deletions
9
.local/scripts/mpdvolumenotify.fish
Executable file
9
.local/scripts/mpdvolumenotify.fish
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
set volume (mpc status "%volume%" | string trim --chars " %")
|
||||
|
||||
if test $volume = "-1"
|
||||
set volume "0"
|
||||
end
|
||||
|
||||
notify-send -c 'status' -h int:value:$volume "MPD Volume" "$volume%"
|
||||
Loading…
Add table
Add a link
Reference in a new issue