[NixOS] Finish integrating rumno

This commit is contained in:
2025-08-14 00:43:19 -06:00
parent 4d714d4416
commit f9d7375f7b
5 changed files with 8 additions and 10 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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

View File

@@ -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=";
})
];
};

View File

@@ -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 = {