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

Clickeable bar - not just the text. #120

Closed
zexa opened this issue Apr 20, 2015 · 6 comments
Closed

Clickeable bar - not just the text. #120

zexa opened this issue Apr 20, 2015 · 6 comments

Comments

@zexa
Copy link

zexa commented Apr 20, 2015

Hello,
I'm doing some work on my bar and I noticed that %{A:urxvt:}something%{A} only works when you click on the text and there's basically no way to make the whole bar or area click-able.
Could you please add a feature to make an area or the whole bar click-able?
Zexodus

P.s. A workaround for this is to center text with spaces through out the bar.

@Mishio595
Copy link

You can achieve this by adding spaces. %{A:urxvt:} %{A} will make an clickable area several spaces wide. My bar uses clickable underlined spaces.

edit: github seems to trim extra spaces. any number of whitespace characters can be placed between the command blocks

@zexa
Copy link
Author

zexa commented Apr 20, 2015

Isn't that just an incredibly goofy workaround?

@Mishio595
Copy link

It simply uses the very literal nature of bar. It also looks really nice

@CamilleScholtz
Copy link

It simply uses the very literal nature of bar. It also looks really nice

%{A:urxvt:}                                                                                        %{A}

doesn't look nice at all in my opinion.

+1

@Mishio595
Copy link

I should have been more clear. Here's an example line from my bar scripts.

%{U$ACTIVE}%{A:bspc desktop -f $name:}%{+u}   %{A}%{-u}

My bar looks like this
bar

The above line accounts for the workspace indicators in the center.

@LemonBoy
Copy link
Owner

Let's keep #175 only for this.

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

No branches or pull requests

4 participants