mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Fix GNOME showing wrong wm theme
This commit is contained in:
5
neofetch
5
neofetch
@@ -561,7 +561,10 @@ getwmtheme() {
|
||||
|
||||
'Compiz' | 'Mutter'* | 'GNOME Shell' | 'Gala')
|
||||
if type -p gsettings >/dev/null 2>&1; then
|
||||
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
||||
wmtheme="$(gsettings get org.gnome.shell.extensions.user-theme name)"
|
||||
|
||||
[ -z "$wmtheme" ] && \
|
||||
wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)"
|
||||
|
||||
elif type -p gconftool-2 >/dev/null 2>&1; then
|
||||
wmtheme="$(gconftool-2 -g /apps/metacity/general/theme)"
|
||||
|
Reference in New Issue
Block a user