From b5a3d3f5778a800a1a2145884d61d204f7363390 Mon Sep 17 00:00:00 2001 From: Kevin Alberts Date: Mon, 11 Aug 2025 17:17:08 +0200 Subject: [PATCH] Set x11 wallpaper update command --- kuro/config/__init__.py | 2 +- kuro/theme.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kuro/config/__init__.py b/kuro/config/__init__.py index 00ff7ea..7c6a25a 100644 --- a/kuro/config/__init__.py +++ b/kuro/config/__init__.py @@ -76,7 +76,7 @@ class Config(BaseConfig): cmd_reconfigure_screens = "kanshictl reload" # Commands - wallpaper_config_command = "/bin/true" # TODO: Remove + x11_wallpaper_config_command = "/home/kevin/bin/wal-nitrogen-noupdate" # TODO: Remove # Images desktop_bg = "/home/kevin/Pictures/wallpapers/desktop.png" diff --git a/kuro/theme.py b/kuro/theme.py index a7b785a..d46ce20 100644 --- a/kuro/theme.py +++ b/kuro/theme.py @@ -739,7 +739,7 @@ class Kuro(BaseTheme): def set_wallpaper(self, filename): if qtile.core.name == "x11": - p = utils.execute_once(f"{Config.get('wallpaper_config_command', 'wal-nitrogen-noupdate')} {filename}") + p = utils.execute_once(f"{Config.get('x11_wallpaper_config_command', 'wal-nitrogen-noupdate')} {filename}") p.wait() else: # Wayland can set wallpaper in qtile directly per screen