Fix bug in WM Theme detection
This commit is contained in:
parent
e37d5c61c7
commit
a295181a5b
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -828,10 +828,11 @@ getwm () {
|
||||||
|
|
||||||
getwmtheme () {
|
getwmtheme () {
|
||||||
[ -z "$wm" ] && getwm
|
[ -z "$wm" ] && getwm
|
||||||
|
[ -z "$de" ] && getde
|
||||||
|
|
||||||
case "$wm" in
|
case "$wm" in
|
||||||
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
|
'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")" ;;
|
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
|
||||||
|
|
||||||
'Cinnamon' | 'Muffin' | 'Mutter (Muffin)')
|
'Cinnamon' | 'Muffin' | 'Mutter (Muffin)')
|
||||||
|
|
Loading…
Reference in a new issue