diff --git a/modules/home/noctalia.nix b/modules/home/noctalia.nix index 2abc07f..0d40ade 100644 --- a/modules/home/noctalia.nix +++ b/modules/home/noctalia.nix @@ -1,5 +1,8 @@ -{ pkgs, inputs, ... }: { + pkgs, + inputs, + ... +}: { # import the home manager module imports = [ inputs.noctalia.homeModules.default @@ -94,6 +97,9 @@ wallpaper = { enabled = true; directory = "~/.wallpapers/"; + setWallpaperOnAllMonitors = true; + linkLightAndDarkWallpapers = true; + fillMode = "crop"; randomEnabled = true; randomIntervalSec = 60; transitionDuration = 1500; @@ -105,57 +111,58 @@ floatingRatio = 1; size = 1; onlySameOutput = true; - monitors = [ "eDP-1" ]; - pinnedApps = [ "com.mitchellh.ghostty" "org.gnome.Nautilus" "google-chrome" "code" ]; + monitors = ["eDP-1"]; + pinnedApps = ["com.mitchellh.ghostty" "org.gnome.Nautilus" "google-chrome" "code"]; colorizeIcons = false; }; controlCenter = { - position = "close_to_bar_button"; - shortcuts = { - left = [ - { - id = "WiFi"; - } - { - id = "Bluetooth"; - } - { - id = "ScreenRecorder"; - } - { - id = "WallpaperSelector"; - } - ]; - right = [ - { - id = "Notifications"; - } - { - id = "NightLight"; - } - ]; - }; - cards = [ + position = "close_to_bar_button"; + shortcuts = { + left = [ { - enabled = true; - id = "profile-card"; + id = "WiFi"; } { - enabled = true; - id = "shortcuts-card"; + id = "Bluetooth"; } { - enabled = true; - id = "audio-card"; + id = "ScreenRecorder"; } { - enabled = true; - id = "media-sysmon-card"; + id = "WallpaperSelector"; + } + ]; + right = [ + { + id = "Notifications"; + } + { + id = "NightLight"; } ]; }; + cards = [ + { + enabled = true; + id = "profile-card"; + } + { + enabled = true; + id = "shortcuts-card"; + } + { + enabled = true; + id = "audio-card"; + } + { + enabled = true; + id = "media-sysmon-card"; + } + ]; + }; }; # this may also be a string or a path to a JSON file, # but in this case must include *all* settings. }; -} \ No newline at end of file +} + diff --git a/modules/home/wallpaper.nix b/modules/home/wallpaper.nix index 1935980..6013794 100644 --- a/modules/home/wallpaper.nix +++ b/modules/home/wallpaper.nix @@ -17,9 +17,9 @@ in { home.file.".cache/noctalia/wallpapers.json" = { text = builtins.toJSON { - defaultWallpaper = "~/.wallpapers/"; + defaultWallpaper = "~/.wallpapers/1.jpg"; wallpapers = { - "DP-1" = "~/.wallpapers/"; + "DP-1" = "~/.wallpapers/1.jpg"; }; }; };