mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
feat: i3, feh
This commit is contained in:
parent
8d685de972
commit
44735ee435
2 changed files with 10 additions and 0 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
9
konawall/environments/feh.py
Normal file
9
konawall/environments/feh.py
Normal 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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue