GithubHelp home page GithubHelp logo

hardpixel / dark-variant Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 1.0 408 KB

GNOME Shell extension to apply dark window decorations.

License: GNU General Public License v3.0

JavaScript 100.00%
gnome gnome-extension gnome-shell gnome-shell-extension

dark-variant's People

Contributors

jonian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

aaronrancsik

dark-variant's Issues

Gnome 44 support

This extension does not work on Gnome 44 beta (Wayland, haven't tried x11). There are no exceptions, the settings work fine, just no effect.
It would be nice if Gnome 44 was supported as well. Thank you

If you open gimp from "Open with another application" context menu, it will not have a dark border

Describe the bug
If you open gimp from "Open with" context menu, it will not have a dark border. Opening it from applications menu works fine

To Reproduce

  1. Configure extension to apply dark theme for gimp
  2. Click with right mouse button on an image file in nautilus
  3. Select Open with another application
  4. Select Gimp and confirm

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Open With menu:
image
Gimp with light border because it was opened through "Open with another application":
image
Gimp opened through applications menu
image

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • GNOME Shell 42
  • Dark Variant 8

Settings Crash on shell 3.38

Settings page crashes on Zorin OS 16

The settings of extension [email protected] had an error:

TypeError: this.set_child is not a function

Stack trace:

_init@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:25:12
buildPrefsWidget@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:236:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Settings Crash

If an app is uninstalled while its pref is set to dark mode, settings no longer opens:
JS ERROR: Failed to open preferences: TypeError: appInfo is null
_init@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:111:9
_onSync/<@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:76:29
_onSync@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:73:15
_init@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:59:12
buildPrefsWidget@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:236:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
lines 1-22

Also:
JS ERROR: Failed to open preferences: Error: Type name Gjs_DarkVariantPrefsWidget is already registered
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:444:27
_init/Gtk.Widget._classInit@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:74:32
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:78:22
@/home/eli/.local/share/gnome-shell/extensions/[email protected]/prefs.js:8:35
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:206:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

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.