feat(hyprland): fix volume script not working.
This commit is contained in:
parent
164549b66c
commit
b6e0c4e55d
1 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@
|
|||
*) volumep="100%" ;;
|
||||
esac
|
||||
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify "🔊 Volume: ''${volumep}"
|
||||
${pkgs.libnotify}/bin/notify-send -h string:x-canonical-private-synchronous:sys-notify "🔊 Volume: ''${volumep}"
|
||||
'';
|
||||
toggle-sound-output = pkgs.writeShellScriptBin "toggle-sound-output" ''
|
||||
#!/usr/bin/env sh
|
||||
|
|
@ -65,10 +65,10 @@
|
|||
|
||||
if [ "$(nmcli --overview -f GENERAL.STATE connection show hetz)" = "" ]; then
|
||||
nmcli con up hetz
|
||||
notify-send "VPN" "UP"
|
||||
${pkgs.libnotify}/bin/notify-send "VPN" "UP"
|
||||
else
|
||||
nmcli con down hetz
|
||||
notify-send "VPN" "DOWN"
|
||||
${pkgs.libnotify}/bin/notify-send "VPN" "DOWN"
|
||||
fi
|
||||
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue