don't spam notifications when changing volume
This commit is contained in:
parent
b33638d944
commit
3855d7e7a0
@ -5,8 +5,12 @@
|
|||||||
wpctl=${pkgs.wireplumber}/bin/wpctl
|
wpctl=${pkgs.wireplumber}/bin/wpctl
|
||||||
notify_send=${pkgs.libnotify}/bin/notify-send
|
notify_send=${pkgs.libnotify}/bin/notify-send
|
||||||
|
|
||||||
|
notify-send () {
|
||||||
|
$notify_send -h string:x-canonical-private-synchronous:keysetting "$@"
|
||||||
|
}
|
||||||
|
|
||||||
notifyvol () {
|
notifyvol () {
|
||||||
$notify_send "$(wpctl get-volume @DEFAULT_SINK@)"
|
notify-send "$(wpctl get-volume @DEFAULT_SINK@)"
|
||||||
}
|
}
|
||||||
|
|
||||||
setvol () {
|
setvol () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user