You are not logged in.
Did it happen after a specific commit ?
Well, it happened after i moved from the master branch + Xft patch (https://aur.archlinux.org/packages/bar- … -bskv-git/)
Also, I can't find the typicons font anywhere, mind sending it to me to avoid blind testing ?
Offline
Using the wip branch. Trying to set the font using -f. I tried the name of several fonts I know I have installed, did not work. Then I tried the example on Arch wiki: #define BAR_FONT "-misc-stlarch-medium-*-normal-*-10-*-*-*-c-*-*-1","fixed" - I mean I tried -f and that string after installing stlarch-medium. No effect. How do you appropriately set the font?
Edit: Another question: How can I use terminal colours (256)?
Last edited by Ploppz (2014-03-18 17:14:35)
Offline
Offline
TheLemonMan: I already have that (xset ---) in my .xinitrc. Maybe I am just doing it wrong. Can you give an example of a successful font setting? Say if I wanted Termsyn with the size 8.
Edit: By the way, how do you write percentage sign to bar? Neither of these work: echo "34\\%, 34\%, 34%" | bar -p
Last edited by Ploppz (2014-03-20 15:18:42)
Offline
> err, TTF fonts are not supported.
Oops, forgot about that. Cheers. Keep up the good work!
Offline
Sorry, but I really don't get any fonts to work. Is there anything I can do in an attempt to fix that?
Offline
Ah, thanks.
The fonts do work for other apps. Is this the right way to do it? bar -f "Termsyn", for the font Termsyn.
Edit: Okay, it did work when I did -*-termsyn-medium-r-normal-*-11-*-*-*-*-*-iso8859-2 - however, it's not displaying unicode letters currently. I am using Termsyn in termite and termite shows me unicode letters. I am guessing it has fallback font.
Edit2: I found the fallback font (-Misc-Fixed-Medium-R-Normal--10-100-75-75-C-60-ISO10646-1). Solved.
Last edited by Ploppz (2014-03-21 21:55:36)
Offline
The 1.0 version is now live
Go get it while it's hot! Please read the readme/man page, TTF fonts are still not supported but it offers cool transparencies, multimonitor support and complete runtime customization along with a shitload of bugfixes.
Offline
Good job! Been using it for a while and it's working great. Can't wait for TTF fonts !
Offline
Thanks for the update. Everything works fine (fonts,colors,alignment..) but commands don't get executed. e.g.
echo '%{A:scrot:}asdf%{A}' | bar -p
i can see the output scrot on click, but it doesn't get executed(make a screenshot in this example). Do i miss something?
Offline
Thanks for the update. Everything works fine (fonts,colors,alignment..) but commands don't get executed. e.g.
echo '%{A:scrot:}asdf%{A}' | bar -p
i can see the output scrot on click, but it doesn't get executed(make a screenshot in this example). Do i miss something?
Yes. Commands are no longer executed. `{%A:something:}asdf%{A}` just prints something to stdout. This helps prevent potential deadlocks (and can also be used as a security measure). To get the old behavior, you have to execute the strings bar prints out:
echo '%{A:scrot:}asdf%{A}' | bar -p | while read line; do eval "$line"; done
Offline
Yes. Commands are no longer executed. `{%A:something:}asdf%{A}` just prints something to stdout. This helps prevent potential deadlocks (and can also be used as a security measure). To get the old behavior, you have to execute the strings bar prints out:
echo '%{A:scrot:}asdf%{A}' | bar -p | while read line; do eval "$line"; done
Ah thanks. I overlooked the output part on the github page.
OUTPUT
Clicking on an area makes bar output the command to stdout, followed by a newline, allowing the user to pipe it into a script, execute it or simply ignore it. Simple and powerful, that's it.
Last edited by tonk (2014-03-31 15:01:23)
Offline
I can't set the color of underlines.
bar -u 2 -U '#101010' -p &
does not work, the underline picks up the foreground color. Can someone help? Thanks.
Offline
Using compton, it seems I can only set either fully transparent background or fully opaque. Only #00<any very dark colour like 000001> works for setting transparent background while others set the background fully opaque. Isn't semi-transparency implemented?
Offline
@Totolotto:
That's not how bar is meant to be used, please refer to the documentation or existing examples.
@Ploppz
Semi transparency works fine, it's just not as transparent as expected heh blame xorg for that
Offline
@LemonMan I really appretiate and admire the work you have done with bar (...), but could you be more specific? Thank you.
Last edited by totolotto (2014-04-29 08:05:06)
Offline
@totolotto
This is a minimal example of underlines.
echo '%{U#FF6FFF00}%{+u}foo%{-u}' | bar -p
Edit: changed color to green
Last edited by o_caino (2014-04-26 23:21:53)
Offline
@totolotto
This is a minimal example of underlines.echo '%{U#FF6FFF00}%{+u}foo%{-u}' | bar -p
Edit: changed color to green
Many thanks!
Offline
@Ploppz
Semi transparency works fine, it's just not as transparent as expected heh blame xorg for that
For me, it's really either or:
Alpha = 50
Alpha = 10
Alpha = 0
Offline
Try the same with a light background.
Offline
Just the same result.
Offline
I get different results. Using the command you used for Alpha=50
dark background
light background
[...] blame xorg for that
Offline
Well, for example transset-df works just fine for all colours AFAIK, so is it really just xorg's fault?
Offline
transset-df is not a program that creates transparency, it's a program that sets properties for windowses. These properties must then be supported by the underlaying X-server.
If it works with other windows I guess it should work for bar too. btw, if you're using compton there's already compton-trans to set transparency
Offline