mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
feat(xfce): set style of wallpaper
This commit is contained in:
parent
dd9ad663ee
commit
2ab1de269d
1 changed files with 2 additions and 0 deletions
|
|
@ -12,4 +12,6 @@ def set_wallpapers(files: list, displays: list):
|
|||
set_command_base = ["xfconf-query", "-c", "xfce4-desktop", "-s", file.name, "-p"]
|
||||
for workspace_config in workspaces_command_wallpapers:
|
||||
set_command = set_command_base + [workspace_config]
|
||||
set_style_command = ["xfconf-query", "-c", "xfce4-desktop", "-s", "5", "-p"] + [workspace_config.replace("last-image", "image-style")]
|
||||
subprocess.run(set_style_command)
|
||||
subprocess.run(set_command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue