You are not logged in.
.
Last edited by leminhman0312 (2024-09-22 15:44:08)
Offline
Not sure whether and how xfce4-notifyd supports some extra actions built-in, but you could have a look at eg.
https://github.com/dastorm/volume-notif … /volume.sh
https://www.reddit.com/r/unixporn/comme … ith_dunst/
https://gist.github.com/sebastiencs/5d7 … 2e783fbd6a
Offline
.
Last edited by leminhman0312 (2024-09-22 15:44:23)
Offline
I could not get a slide bar
Why not?
I linked some scripts, there's a script in the dunst link, I've actually a personal implementation…
#!/bin/sh
if [ $1 = 0 ]; then
bar="? Mute"
else
bar="♫ "
((chunks=${1}/10))
for ((i=0;i<chunks;++i)); do
bar="${bar} ●"
done
if (($1-10*chunks > 4)); then
bar="${bar} ◉"
((++chunks))
fi
for ((i=chunks;i<10;++i)); do
bar="${bar} ○"
done
#bar="${bar} (${1}%)"
fi
dunstify "$bar" -u low -t 1000 -h int:value:"$1" -h string:synchronous:"$bar" --replace=555(expects an integer parameter [0,100] that I filter out of "amixer sset" when changing the volume)
Something™ should work for you, no?
Offline