Set x11 wallpaper update command
This commit is contained in:
parent
befd2eb0fb
commit
b5a3d3f577
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue