From b6e0c4e55de7276b81df31892d2411aad133e019 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 19 Oct 2025 17:21:36 +0200 Subject: [PATCH] feat(hyprland): fix volume script not working. --- modules/linux/home-manager/hyprland.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 8980267..bc0b54e 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -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 '';