Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash background blur #224

Open
adtac opened this issue Sep 18, 2015 · 9 comments
Open

Dash background blur #224

adtac opened this issue Sep 18, 2015 · 9 comments

Comments

@adtac
Copy link

adtac commented Sep 18, 2015

Hi, I'm a huge fan of Dash to Dock.

I just have one suggestion - could you add an option to blur the background (like OS X Mavericks' dock)? I like the opacity controls, just feel that blur would be a really nice feature.

Thanks

@micheleg
Copy link
Owner

Hi, it would be a fancy addition, although I personally prefer flat styles (I even disable it on the Mac I use at work). It should be technically feasible. I remember for instance this old extension using a blur effect: https://extensions.gnome.org/extension/330/bolt/. But I'm not sure what are the performance implications. It would require quite a bit of work, so it's not likely I will look into it soon, but I'll put it in in my long list of things to be considered. Anybody wanting to experiment with it is welcome .

@adtac
Copy link
Author

adtac commented Nov 8, 2015

Hi I was just messing around trying to make this. I wrote this script to get the average color (a little lighter so that it is distinguishable (I've used 20% lighting - it's in the 1.2 factor; feel free to change it)) of the whole image:

URL=$(gsettings get org.gnome.desktop.background picture-uri | tr -d "'") && curl -s $URL | convert - -colorspace CMYK -colors 1 -depth 8 txt: | head -2 | tail -1 | awk -F "#" '{OP=1.2; printf "#%X%X%X", (strtonum("0x"substr($2, 0, 2))*OP)<255?(strtonum("0x"substr($2, 0, 2))*OP):255, (strtonum("0x"substr($2, 3, 2))*OP)<255?(strtonum("0x"substr($2, 3, 2))*OP):255, (strtonum("0x"substr($2, 5, 2))*OP)<255?(strtonum("0x"substr($2, 5, 2))*OP):255}'

Note: Requires ImageMagick and curl

This will basically spit out a color hex code based on the wallpaper you currently have. My question is where do I put this color code in your extension? Which file? It's just a color code, so should be simple, yeah?

@micheleg
Copy link
Owner

micheleg commented Nov 8, 2015

Hi, the appearance of the dash is defined in the css theme, either the main one of the few lines of the internal one that you can find in `~/.local/share/gnome-shell/extensions/[email protected]/stylesheet.css``.

After that, I guess you have to somehow force a reload of the theme. I know this theme https://github.com/satya164/elegance-colors has a tool updating the theme so you might want to have a look at it.

@aviwad
Copy link

aviwad commented May 11, 2017

Any work on blur? I really want it! 😢

@adtac
Copy link
Author

adtac commented May 11, 2017

I don't use dash-to-dock anymore haha :D

@micheleg micheleg marked this as a duplicate of #546 Jul 21, 2017
@Sockolet
Copy link

Any chance for this feature?

@fdinardo
Copy link

Hi, First of all: Thanks. I couldn't use gnome 3 without this extension.

IMHO: blurring the dock is not only a "fancy" thing to have, but will improve the UX in my case.
I don't really like have a solid panel that is not consistent with my theme and my desktop look, so sometime, I come up to not fully read what is in the dock and what is behind it, but I understand that some people could not like it or just use a solid background that makes the dash usable.

although I personally prefer flat styles (I even disable it on the Mac I use at work)
There is an extension, that works pretty good with low blur values, that blurs the activity overview and the gnome-panel.

@micheleg : It is possible to collaborate with them and moving the responsibility of blurring the dock to that extension, like they already know with the panel.
What do you think?

@UnknownCoder56
Copy link

Ok so, is this still considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants
@micheleg @fdinardo @adtac @Sockolet @aviwad @UnknownCoder56 and others