use noctalia for wallpaper

This commit is contained in:
Sean Kovacs 2025-12-14 03:00:53 -05:00
commit aa16f6d411
Signed by: sckova
GPG key ID: 00F325187C68651A
4 changed files with 13 additions and 31 deletions

View file

@ -15,6 +15,7 @@ in
qt6Packages.qt6ct qt6Packages.qt6ct
libsForQt5.qt5ct libsForQt5.qt5ct
catppuccin-qt5ct catppuccin-qt5ct
xwayland-satellite
]; ];
home.file = { home.file = {

View file

@ -10,15 +10,7 @@
hotkey-overlay.skip-at-startup = true; hotkey-overlay.skip-at-startup = true;
prefer-no-csd = true; prefer-no-csd = true;
gestures.hot-corners.enable = false; gestures.hot-corners.enable = false;
spawn-at-startup = [ spawn-at-startup = [ ];
{
command = [
"${pkgs.swaybg}"
"-i"
"/home/${config.userOptions.username}/.local/share/dailywallpaper.jpg"
];
}
];
overview = { overview = {
backdrop-color = pkgs.catppuccin.${config.catppuccin.flavor}.crust; backdrop-color = pkgs.catppuccin.${config.catppuccin.flavor}.crust;
workspace-shadow.enable = false; workspace-shadow.enable = false;
@ -36,7 +28,7 @@
mouse = { mouse = {
enable = true; enable = true;
accel-profile = "adaptive"; accel-profile = "adaptive";
natural-scroll = true; natural-scroll = false;
}; };
touchpad = { touchpad = {
enable = true; enable = true;
@ -365,6 +357,7 @@
"Mod+W".action.toggle-column-tabbed-display = { }; "Mod+W".action.toggle-column-tabbed-display = { };
"Print".action.screenshot = { }; "Print".action.screenshot = { };
"Mod+Shift+S".action.screenshot = { };
"Ctrl+Print".action.screenshot-screen = { }; "Ctrl+Print".action.screenshot-screen = { };
"Alt+Print".action.screenshot-window = { }; "Alt+Print".action.screenshot-window = { };

View file

@ -253,40 +253,32 @@ in
videoSource = "portal"; videoSource = "portal";
}; };
wallpaper = { wallpaper = {
enabled = false; enabled = true;
overviewEnabled = false; overviewEnabled = false;
directory = ""; directory = "/home/sckova/.local/share/wallpaper";
monitorDirectories = [ ]; monitorDirectories = [ ];
enableMultiMonitorDirectories = false; enableMultiMonitorDirectories = false;
recursiveSearch = false; recursiveSearch = false;
setWallpaperOnAllMonitors = true; setWallpaperOnAllMonitors = true;
fillColor = "${pkgs.catppuccin.${config.catppuccin.flavor}.base}";
fillMode = "crop"; fillMode = "crop";
fillColor = "#000000"; hideWallpaperFilenames = true;
panelPosition = "follow_bar";
randomEnabled = false; randomEnabled = false;
randomIntervalSec = 300; randomIntervalSec = 300;
transitionDuration = 1500; transitionDuration = 1500;
transitionType = "random";
transitionEdgeSmoothness = 0.05; transitionEdgeSmoothness = 0.05;
panelPosition = "follow_bar"; transitionType = "random";
hideWallpaperFilenames = false;
useWallhaven = false; useWallhaven = false;
wallhavenQuery = "";
wallhavenSorting = "relevance";
wallhavenOrder = "desc";
wallhavenCategories = "111";
wallhavenPurity = "100";
wallhavenResolutionMode = "atleast";
wallhavenResolutionWidth = "";
wallhavenResolutionHeight = "";
}; };
appLauncher = { appLauncher = {
enableClipboardHistory = true; enableClipboardHistory = true;
enableClipPreview = true; enableClipPreview = true;
position = "center"; position = "top_left";
pinnedExecs = [ ]; pinnedExecs = [ ];
useApp2Unit = false; useApp2Unit = false;
sortByMostUsed = true; sortByMostUsed = true;
terminalCommand = "xterm -e"; terminalCommand = "kitty";
customLaunchPrefixEnabled = false; customLaunchPrefixEnabled = false;
customLaunchPrefix = ""; customLaunchPrefix = "";
viewMode = "list"; viewMode = "list";

View file

@ -6,7 +6,7 @@ let
# Configuration # Configuration
SIZE="UHD" SIZE="UHD"
MARKET="en-US" MARKET="en-US"
OUTPUT_PATH="''${XDG_DATA_HOME:-$HOME/.local/share}/dailywallpaper.jpg" OUTPUT_PATH="''${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper/daily.jpg"
DAY="0" DAY="0"
# API configuration # API configuration
@ -57,10 +57,6 @@ let
"Bing Wallpaper of the Day" "$TITLE" "Bing Wallpaper of the Day" "$TITLE"
fi fi
# Kill existing swaybg instances and start new one
${pkgs.procps}/bin/pkill swaybg || true
${pkgs.swaybg}/bin/swaybg -i "/home/${config.userOptions.username}/.local/share/dailywallpaper.jpg" &
echo "Wallpaper downloaded and applied successfully." echo "Wallpaper downloaded and applied successfully."
''; '';
in in