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