Git Product home page Git Product logo

Comments (6)

DarNCelsius avatar DarNCelsius commented on June 7, 2024

Here's a comment from the Budgie dev on Mutter themes:
dylanaraps/neofetch#408 (comment)
So WM Theme is basically the same as GTK theme, or nothing at all.

from fastfetch.

LinusDierheimer avatar LinusDierheimer commented on June 7, 2024

Should work with latest commit. Close this on confirm.

from fastfetch.

DarNCelsius avatar DarNCelsius commented on June 7, 2024

Looks good πŸ‘

from fastfetch.

DarNCelsius avatar DarNCelsius commented on June 7, 2024

You should probably still rewrite printMutter().
"/org/gnome/desktop/wm/preferences/theme" is not in use, and I think "/org/gnome/shell/extensions/user-theme/name" is only there with certain extensions. It certainly didn't exist when I tried Gnome.
I think it's just GTK in that case.

from fastfetch.

LinusDierheimer avatar LinusDierheimer commented on June 7, 2024

I copied this directly from neofetch:

wm_theme=$(gsettings get org.gnome.shell.extensions.user-theme name)
[[ ${wm_theme//\'} ]] || \
    wm_theme=$(gsettings get org.gnome.desktop.wm.preferences theme)

There is an official extension "user theme" which allows custom theming of the shell, so we check that first. Maybe we should fallback to GTK if both of them fail.

from fastfetch.

DarNCelsius avatar DarNCelsius commented on June 7, 2024

I think so - that's the Gnome default.
You'd have to be running a very old install if "org.gnome.desktop.wm.preferences theme" works though.

from fastfetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.