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
libsForQt5.qt5ct
catppuccin-qt5ct
xwayland-satellite
];
home.file = {

View file

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

View file

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

View file

@ -6,7 +6,7 @@ let
# Configuration
SIZE="UHD"
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"
# API configuration
@ -57,10 +57,6 @@ let
"Bing Wallpaper of the Day" "$TITLE"
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."
'';
in