mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-16 07:56:12 +00:00
Add i3-with-shmlog detection
This commit is contained in:
@@ -280,7 +280,7 @@ func GetDEWM() string {
|
|||||||
return "MATE " + runCommand("mate-about --version | awk '{print $4}'")
|
return "MATE " + runCommand("mate-about --version | awk '{print $4}'")
|
||||||
} else if processExists("lxsession") {
|
} else if processExists("lxsession") {
|
||||||
return "LXDE"
|
return "LXDE"
|
||||||
} else if processExists("i3") {
|
} else if processExists("i3") || processExists("i3-with-shmlog") {
|
||||||
return "i3 " + runCommand("i3 --version | awk '{print $3}'")
|
return "i3 " + runCommand("i3 --version | awk '{print $3}'")
|
||||||
} else if processExists("sway") {
|
} else if processExists("sway") {
|
||||||
if runCommand("sway --version | awk '{print $1}'") == "swayfx" {
|
if runCommand("sway --version | awk '{print $1}'") == "swayfx" {
|
||||||
|
|||||||
Reference in New Issue
Block a user