From aa16f6d4118f0c192f40c5e48ddba76730292907 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Sun, 14 Dec 2025 03:00:53 -0500 Subject: [PATCH] use noctalia for wallpaper --- home/tiling/niri/default.nix | 1 + home/tiling/niri/niri.nix | 13 +++---------- home/tiling/niri/noctalia.nix | 24 ++++++++---------------- home/tiling/wallpaper/bing-wallpaper.nix | 6 +----- 4 files changed, 13 insertions(+), 31 deletions(-) diff --git a/home/tiling/niri/default.nix b/home/tiling/niri/default.nix index 587bee9..750ee11 100644 --- a/home/tiling/niri/default.nix +++ b/home/tiling/niri/default.nix @@ -15,6 +15,7 @@ in qt6Packages.qt6ct libsForQt5.qt5ct catppuccin-qt5ct + xwayland-satellite ]; home.file = { diff --git a/home/tiling/niri/niri.nix b/home/tiling/niri/niri.nix index 4cd820e..3e3d86f 100644 --- a/home/tiling/niri/niri.nix +++ b/home/tiling/niri/niri.nix @@ -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 = { }; diff --git a/home/tiling/niri/noctalia.nix b/home/tiling/niri/noctalia.nix index 055030f..74b753b 100644 --- a/home/tiling/niri/noctalia.nix +++ b/home/tiling/niri/noctalia.nix @@ -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"; diff --git a/home/tiling/wallpaper/bing-wallpaper.nix b/home/tiling/wallpaper/bing-wallpaper.nix index 5247075..c7187fb 100644 --- a/home/tiling/wallpaper/bing-wallpaper.nix +++ b/home/tiling/wallpaper/bing-wallpaper.nix @@ -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