From f9d7375f7bebbaf639d3cbbf1364c2db2b6a87f8 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 14 Aug 2025 00:43:19 -0600 Subject: [PATCH] [NixOS] Finish integrating rumno --- dotfiles/lib/bin/brightness.sh | 6 +++--- dotfiles/lib/functions/pashowvolume | 4 ++-- nixos/desktop.nix | 2 -- nixos/flake.nix | 2 +- nixos/xmonad.nix | 4 ++-- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/dotfiles/lib/bin/brightness.sh b/dotfiles/lib/bin/brightness.sh index d16e63b1..b5835422 100755 --- a/dotfiles/lib/bin/brightness.sh +++ b/dotfiles/lib/bin/brightness.sh @@ -76,9 +76,9 @@ fi # Get current brightness percentage for display BRIGHTNESS=$(get_brightness_percentage) -# Show notification if volnoti-show is available -if command -v volnoti-show &> /dev/null; then - volnoti-show "$BRIGHTNESS" +# Show notification if rumno is available +if command -v rumno &> /dev/null; then + rumno notify -b "$BRIGHTNESS" else echo "$BRIGHTNESS" fi diff --git a/dotfiles/lib/functions/pashowvolume b/dotfiles/lib/functions/pashowvolume index e5c9ed9f..5bd3ad3b 100755 --- a/dotfiles/lib/functions/pashowvolume +++ b/dotfiles/lib/functions/pashowvolume @@ -2,12 +2,12 @@ function pashowvolume { if paismuted; then - volnoti-show -m + rumno notify -m else actual=$(pavolume) max=100 show=$(( actual < max ? actual : max )) - volnoti-show "$show" + rumno notify -v "$show" fi } diff --git a/nixos/desktop.nix b/nixos/desktop.nix index 5cf7425a..f0cbb91d 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -35,7 +35,6 @@ makeEnable config "myModules.desktop" true { services.gnome.gnome-keyring.enable = true; # Visual notification manager - services.rumno.enable = true; environment.systemPackages = with pkgs; [ # Appearance @@ -89,7 +88,6 @@ makeEnable config "myModules.desktop" true { # TODO: reenable # transmission_3-gtk vlc - # volnoti xfce.thunar # Audio diff --git a/nixos/flake.nix b/nixos/flake.nix index 5eaa667b..ce3ff55b 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -159,7 +159,7 @@ # Rumno service PR (bootstrapPkgs.fetchpatch { url = "https://github.com/NixOS/nixpkgs/pull/433540.patch"; - hash = "sha256-4Qe/RPKXJV77/MyeCpyajJGZrcesAH82UlhtD9Sn6ds="; + hash = "sha256-EF8XsUgOu6BNC15pe0rqUHoszrKY1GEbW3BuCO3Kmbk="; }) ]; }; diff --git a/nixos/xmonad.nix b/nixos/xmonad.nix index db544ae1..aed212da 100644 --- a/nixos/xmonad.nix +++ b/nixos/xmonad.nix @@ -7,6 +7,8 @@ makeEnable config "myModules.xmonad" true { (import ../dotfiles/config/xmonad/overlay.nix) ] ++ taffybar.overlays; + services.rumno.enable = true; + services.xserver = { windowManager = { session = [ @@ -69,8 +71,6 @@ makeEnable config "myModules.xmonad" true { services.xsettingsd.enable = true; - # services.volnoti.enable = true; - services.pasystray.enable = true; # services.parcellite = {