mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-04 14:28:03 +00:00
Fix bug in WM Theme detection
This commit is contained in:
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
Block a user