diff --git a/dotfiles/lib/bin/brightness.hs b/dotfiles/lib/bin/brightness.hs index 9e099ed6..900dbc1d 100755 --- a/dotfiles/lib/bin/brightness.hs +++ b/dotfiles/lib/bin/brightness.hs @@ -135,7 +135,7 @@ sendNotification brightness = do rawSystem "sh" ["-c", "command -v rumno >/dev/null 2>&1"] if rumnoExists then do - _ <- readProcess "rumno" ["notify", "-t", timeoutSeconds, "-b", show brightness] "" + _ <- readProcess "rumno" ["-t", timeoutSeconds, "-b", show brightness] "" return () else putStrLn (show brightness) diff --git a/dotfiles/lib/bin/brightness.sh b/dotfiles/lib/bin/brightness.sh index 4283e0e3..74590d35 100755 --- a/dotfiles/lib/bin/brightness.sh +++ b/dotfiles/lib/bin/brightness.sh @@ -87,7 +87,7 @@ RUMNO_TIMEOUT="${RUMNO_TIMEOUT:-2.5}" # Show notification if rumno is available if command -v rumno &> /dev/null; then - rumno notify -t "$RUMNO_TIMEOUT" -b "$BRIGHTNESS" + rumno -t "$RUMNO_TIMEOUT" -b "$BRIGHTNESS" else echo "$BRIGHTNESS" fi diff --git a/dotfiles/lib/functions/pashowvolume b/dotfiles/lib/functions/pashowvolume index 7fc638c9..2f61fe79 100755 --- a/dotfiles/lib/functions/pashowvolume +++ b/dotfiles/lib/functions/pashowvolume @@ -3,12 +3,12 @@ function pashowvolume { timeout="${RUMNO_TIMEOUT:-2.5}" if paismuted; then - rumno notify -t "$timeout" -m + rumno -t "$timeout" -m true else actual=$(pavolume) max=100 show=$(( actual < max ? actual : max )) - rumno notify -t "$timeout" -v "$show" + rumno -t "$timeout" -v "$show" fi } diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index 6ae6ad3c..34828071 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -317,6 +317,8 @@ withUWSM = true; }; + services.rumno.enable = true; + home-manager.sharedModules = [ inputs.hyprscratch.homeModules.default (