[NixOS] Finish integrating rumno
This commit is contained in:
@@ -76,9 +76,9 @@ fi
|
|||||||
# Get current brightness percentage for display
|
# Get current brightness percentage for display
|
||||||
BRIGHTNESS=$(get_brightness_percentage)
|
BRIGHTNESS=$(get_brightness_percentage)
|
||||||
|
|
||||||
# Show notification if volnoti-show is available
|
# Show notification if rumno is available
|
||||||
if command -v volnoti-show &> /dev/null; then
|
if command -v rumno &> /dev/null; then
|
||||||
volnoti-show "$BRIGHTNESS"
|
rumno notify -b "$BRIGHTNESS"
|
||||||
else
|
else
|
||||||
echo "$BRIGHTNESS"
|
echo "$BRIGHTNESS"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
function pashowvolume {
|
function pashowvolume {
|
||||||
if paismuted; then
|
if paismuted; then
|
||||||
volnoti-show -m
|
rumno notify -m
|
||||||
else
|
else
|
||||||
actual=$(pavolume)
|
actual=$(pavolume)
|
||||||
max=100
|
max=100
|
||||||
show=$(( actual < max ? actual : max ))
|
show=$(( actual < max ? actual : max ))
|
||||||
volnoti-show "$show"
|
rumno notify -v "$show"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ makeEnable config "myModules.desktop" true {
|
|||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
# Visual notification manager
|
# Visual notification manager
|
||||||
services.rumno.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Appearance
|
# Appearance
|
||||||
@@ -89,7 +88,6 @@ makeEnable config "myModules.desktop" true {
|
|||||||
# TODO: reenable
|
# TODO: reenable
|
||||||
# transmission_3-gtk
|
# transmission_3-gtk
|
||||||
vlc
|
vlc
|
||||||
# volnoti
|
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
|
|||||||
@@ -159,7 +159,7 @@
|
|||||||
# Rumno service PR
|
# Rumno service PR
|
||||||
(bootstrapPkgs.fetchpatch {
|
(bootstrapPkgs.fetchpatch {
|
||||||
url = "https://github.com/NixOS/nixpkgs/pull/433540.patch";
|
url = "https://github.com/NixOS/nixpkgs/pull/433540.patch";
|
||||||
hash = "sha256-4Qe/RPKXJV77/MyeCpyajJGZrcesAH82UlhtD9Sn6ds=";
|
hash = "sha256-EF8XsUgOu6BNC15pe0rqUHoszrKY1GEbW3BuCO3Kmbk=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ makeEnable config "myModules.xmonad" true {
|
|||||||
(import ../dotfiles/config/xmonad/overlay.nix)
|
(import ../dotfiles/config/xmonad/overlay.nix)
|
||||||
] ++ taffybar.overlays;
|
] ++ taffybar.overlays;
|
||||||
|
|
||||||
|
services.rumno.enable = true;
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
windowManager = {
|
windowManager = {
|
||||||
session = [
|
session = [
|
||||||
@@ -69,8 +71,6 @@ makeEnable config "myModules.xmonad" true {
|
|||||||
|
|
||||||
services.xsettingsd.enable = true;
|
services.xsettingsd.enable = true;
|
||||||
|
|
||||||
# services.volnoti.enable = true;
|
|
||||||
|
|
||||||
services.pasystray.enable = true;
|
services.pasystray.enable = true;
|
||||||
|
|
||||||
# services.parcellite = {
|
# services.parcellite = {
|
||||||
|
|||||||
Reference in New Issue
Block a user