From f5ef0cf848e65d4fea2be8dee7bc1c72ad67046f Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 23 Jun 2026 20:50:27 -0500 Subject: noctalia is kinda cool... --- modules/desktop/hjem/wm/niri.nix | 49 +++++++++++++++------------------------- 1 file changed, 18 insertions(+), 31 deletions(-) (limited to 'modules/desktop/hjem/wm') diff --git a/modules/desktop/hjem/wm/niri.nix b/modules/desktop/hjem/wm/niri.nix index c6826af..ba17037 100644 --- a/modules/desktop/hjem/wm/niri.nix +++ b/modules/desktop/hjem/wm/niri.nix @@ -9,8 +9,7 @@ in lib.mkIf cfg.enable { files.".config/niri/config.kdl".text = '' spawn-sh-at-startup "${config.collinux.desktop.wallpaper_cmd}" - spawn-at-startup "${pkgs.playerctl}/bin/playerctld daemon" - spawn-at-startup "dunst" + spawn-at-startup "noctalia-shell" prefer-no-csd environment { @@ -45,10 +44,10 @@ in Mod+S repeat=false { screenshot; } Mod+M repeat=false { maximize-column; } - XF86MonBrightnessUp { spawn "~/.config/util.lua" "brightness" "5%+"; } - XF86MonBrightnessDown { spawn "~/.config/util.lua" "brightness" "5%-"; } - XF86AudioRaiseVolume { spawn "~/.config/util.lua" "vol" "5%+"; } - XF86AudioLowerVolume { spawn "~/.config/util.lua" "vol" "5%-"; } + XF86MonBrightnessUp { spawn-sh "noctalia-shell ipc call brightness increase"; } + XF86MonBrightnessDown { spawn-sh "noctalia-shell ipc call brightness decrease"; } + XF86AudioRaiseVolume { spawn-sh "noctalia-shell ipc call volume increase"; } + XF86AudioLowerVolume { spawn-sh "noctalia-shell ipc call volume decrease"; } } gestures { @@ -71,13 +70,6 @@ in off } - border { - width 3 - active-color "#ffffff00" - inactive-color "#ffffff00" - urgent-color "#ffffff00" - } - struts { left 0 right 0 @@ -85,26 +77,22 @@ in bottom 0 } - background-color "transparent" - } + border { + width 2 + active-color "#89b4faff" + inactive-color "#ffffff00" + } - layer-rule { - match namespace="^wallpaper$" - place-within-backdrop true + background-color "transparent" } - layer-rule { - match namespace="^launcher$" - shadow { - on - } + blur { + on } layer-rule { - match namespace="^notifications$" - shadow { - on - } + match namespace="^wallpaper$" + place-within-backdrop true } window-rule { @@ -113,12 +101,11 @@ in } window-rule { - match is-focused=true - shadow { - on + match app-id="foot" + background-effect { + blur true } } - ''; packages = [pkgs.niri pkgs.xwayland-satellite]; -- cgit v1.3.1