mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-04-24 03:00:16 -04:00
Experimental fix for issue #42.
This commit is contained in:
@@ -972,6 +972,8 @@ detectwm () {
|
||||
WM=$(xprop -root _NET_SUPPORTING_WM_CHECK)
|
||||
if [[ "$WM" =~ "not found" ]]; then
|
||||
WM="Not Found"
|
||||
elif [[ "$WM" =~ "invalid window id format" ]]; then
|
||||
WM="Not Found"
|
||||
else
|
||||
WM=${WM//* }
|
||||
WM=$(xprop -id ${WM} 8s _NET_WM_NAME)
|
||||
|
||||
Reference in New Issue
Block a user