Add i3-with-shmlog detection

This commit is contained in:
EnumDev 2025-03-20 13:27:46 +02:00
parent cd0faaefe5
commit 6185af37d5

View File

@ -280,7 +280,7 @@ func GetDEWM() string {
return "MATE " + runCommand("mate-about --version | awk '{print $4}'")
} else if processExists("lxsession") {
return "LXDE"
} else if processExists("i3") {
} else if processExists("i3") || processExists("i3-with-shmlog") {
return "i3 " + runCommand("i3 --version | awk '{print $3}'")
} else if processExists("sway") {
if runCommand("sway --version | awk '{print $1}'") == "swayfx" {