License as MIT, KDE support, nix package and flake

This commit is contained in:
Kat Inskip 2023-11-12 12:56:47 -08:00
parent 3c196d83d0
commit 4a18fa6337
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
19 changed files with 219 additions and 39 deletions

View file

@ -1,8 +1,8 @@
import sys
import os
import logging
from custom_errors import UnsupportedPlatform
from module_loader import environment_handlers
from konawall.custom_errors import UnsupportedPlatform
from konawall.module_loader import environment_handlers
"""
This detects the DE/WM from the Linux environment because it's not provided by the platform
@ -21,6 +21,7 @@ def detect_linux_environment():
"kde", # qdbus
]
modified_mapping = {
"plasma": "kde",
"fluxbox": "feh",
"blackbox": "feh",
"openbox": "feh",