Fix bug in WM Theme detection
This commit is contained in:
parent
e37d5c61c7
commit
a295181a5b
3
neofetch
3
neofetch
|
@ -828,10 +828,11 @@ getwm () {
|
|||
|
||||
getwmtheme () {
|
||||
[ -z "$wm" ] && getwm
|
||||
[ -z "$de" ] && getde
|
||||
|
||||
case "$wm" in
|
||||
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
|
||||
'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
|
||||
'E16') wmtheme="$(awk -F "= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
|
||||
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
|
||||
|
||||
'Cinnamon' | 'Muffin' | 'Mutter (Muffin)')
|
||||
|
|
Reference in New Issue