feat: i3, feh

This commit is contained in:
Kat Inskip 2025-02-26 16:21:22 -08:00
parent 8d685de972
commit 44735ee435
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 10 additions and 0 deletions

View file

@ -21,6 +21,7 @@ def detect_linux_environment():
"kde", # qdbus "kde", # qdbus
] ]
modified_mapping = { modified_mapping = {
"none+i3": "feh",
"plasma": "kde", "plasma": "kde",
"fluxbox": "feh", "fluxbox": "feh",
"blackbox": "feh", "blackbox": "feh",

View file

@ -0,0 +1,9 @@
import subprocess
import dbus
import time
from konawall.module_loader import add_environment
@add_environment("feh_setter")
def set_wallpapers(files: list, displays: list):
command = ["feh", "--bg-scale"] + files
subprocess.run(command)