diff --git a/files/niri/config-noctalia.kdl b/files/niri/config-noctalia.kdl index 46ffbab..860caf2 100644 --- a/files/niri/config-noctalia.kdl +++ b/files/niri/config-noctalia.kdl @@ -77,12 +77,15 @@ animations { } layer-rule { - // This is for swaybg; change for other wallpaper tools. - // Find the right namespace by running niri msg layers. match namespace="^wallpaper$" place-within-backdrop true } +layer-rule { + match namespace="^noctalia-overview*" + place-within-backdrop true +} + window-rule { match app-id=r#"firefox$"# title="^Picture-in-Picture$" open-floating true @@ -251,7 +254,6 @@ binds { Mod+Shift+P { power-off-monitors; } } -spawn-sh-at-startup "swaybg -i ~/.config/niri/wallpaper.jpg" spawn-at-startup "noctalia-shell" diff --git a/flake.lock b/flake.lock index 0aff38c..d15be1a 100644 --- a/flake.lock +++ b/flake.lock @@ -1967,6 +1967,7 @@ "stylix": "stylix", "tangled": "tangled", "tranquil": "tranquil", + "wallpapers": "wallpapers", "website": "website", "wire": "wire" } @@ -2527,6 +2528,22 @@ "type": "github" } }, + "wallpapers": { + "flake": false, + "locked": { + "lastModified": 1781417875, + "narHash": "sha256-1aHY02tdvHqdclyF1mo6iSbXHO7mk6fmIBXsX70szgg=", + "ref": "refs/heads/main", + "rev": "eccedf11c54cb8010500d16c4b48a360c6566c87", + "revCount": 1, + "type": "git", + "url": "ssh://git@git.cow.computer/cow/wallpapers" + }, + "original": { + "type": "git", + "url": "ssh://git@git.cow.computer/cow/wallpapers" + } + }, "website": { "inputs": { "anemone": "anemone", diff --git a/flake.nix b/flake.nix index 1d5f496..bae3687 100644 --- a/flake.nix +++ b/flake.nix @@ -88,6 +88,11 @@ flake = false; }; + wallpapers = { + url = "git+ssh://git@git.cow.computer/cow/wallpapers"; + flake = false; + }; + lix-module = { url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/noctalia.nix b/modules/noctalia.nix index 4bbfa98..42c20f2 100644 --- a/modules/noctalia.nix +++ b/modules/noctalia.nix @@ -74,7 +74,11 @@ in enabled = true; nightTemp = 3000; }; - wallpaper.enabled = false; + wallpaper = { + enabled = true; + overviewEnabled = true; + directory = inputs.wallpapers; + }; general = { avatarImage = ../files/cow.jpg; animationDisabled = true;