mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
chore: update noctalia and wallpaper config
Add wallpaper options (setWallpaperOnAllMonitors, linkLightAndDarkWallpapers, fillMode=crop). Set specific wallpaper file path instead of directory. Fix noctalia.nix indentation. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
+45
-38
@@ -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.
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user