aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/hjem/wm
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-06-23 20:50:27 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-06-23 20:50:27 -0500
commitf5ef0cf848e65d4fea2be8dee7bc1c72ad67046f (patch)
treea0e40d5cd417ea2e2bf12c4a30ecdcd27b345100 /modules/desktop/hjem/wm
parent516af1635df84f9adb96d064f8fbd671ea09a758 (diff)
noctalia is kinda cool...
Diffstat (limited to 'modules/desktop/hjem/wm')
-rw-r--r--modules/desktop/hjem/wm/niri.nix49
1 files changed, 18 insertions, 31 deletions
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];