From d92f382b9a1133b957b218c54420c42aa62e9fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 7 Aug 2025 10:12:21 +0200 Subject: [PATCH] wallpaper: fix for X --- configs/wallpaper.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configs/wallpaper.nix b/configs/wallpaper.nix index 6420ec5..33a8ead 100644 --- a/configs/wallpaper.nix +++ b/configs/wallpaper.nix @@ -17,11 +17,7 @@ in { chmod o+rx ${stateDir} cd ${stateDir} (${pkgs.curl}/bin/curl -s -o wallpaper.tmp -z wallpaper.tmp ${lib.escapeShellArg url} && cp wallpaper.tmp wallpaper) || : - if [ -z $SWAYSOCK ]; then - ${pkgs.feh}/bin/feh --no-fehbg --bg-scale wallpaper - else - ${pkgs.sway}/bin/swaymsg -s $SWAYSOCK 'output * bg ${stateDir}/wallpaper fill' - fi + ${pkgs.feh}/bin/feh --no-fehbg --bg-scale wallpaper ''; startAt = "*:00,10,20,30,40,50"; serviceConfig = {