emasab / shelltile

A tiling window extension for GNOME Shell
https://extensions.gnome.org/extension/657/shelltile/
GNU General Public License v2.0
648 stars 42 forks source link

Feature request: Option to change the background color of the grid #43

Closed lexruee closed 7 years ago

lexruee commented 7 years ago

@emasab First of all, this is a really nice GNOME Shell extension. Well done!

shelltile-blue-background-part

What do you think about a feature that allows the user to change the background color of the grid. Currently, the color is set in the stylesheet.css file. I know I can adapt this file to my prefered color, but what about my mom? She doesn't know CSS :smile:.

My proposal is as follows. The prefs.js could be adjusted so that a user can pick the background color and the border color of the grid using a Gtk color chooser widget with some kind of icon paint button. Here is a mockup for this feature:

shelltile-mockup

AlexWayfer commented 7 years ago

Good proposal! But I think that we can do a choice of one color, and background color and border color will differ in the level of transparency.

lexruee commented 7 years ago

@AlexWayfer @emasab I have implemented a simple prototype for the prefs.js & schema. However, I could not integrate it with extension.js as it would require some refactoring of the code base I guess. Of course there needs to be a nice slider (Gtk.Hscale) for setting the level of transparency :smile:.

Here are two screenshots that show the prototype: screenshot from 2017-07-12 19-36-32 screenshot from 2017-07-12 19-37-02

AlexWayfer commented 7 years ago

Of course there needs to be a nice slider (Gtk.Hscale) for setting the level of transparency :smile:.

No… I mean, you choose just one color — blue, for example. And borders has 0% of transparency, and background has 50%, for example. But they're both blue, with the same color, chosen once and one time.

AlexWayfer commented 7 years ago

Is it duplicate of #21?

Sent from my Sony E5823 using FastHub