Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Vyacheslav Konovalov
@vyachkonovalov

@KerimD

font-1 = "Font Awesome 5 Free Regular:style=Regular:size=10;0"

isn't working on my system too, but

font-1 = "Font Awesome 5 Free Solid:style=Solid:size=10;0"

does

Deniz
@KerimD
wow solid does work that's annoying. Thanks a lot for the help!
Vyacheslav Konovalov
@vyachkonovalov
you're welcome
Deniz
@KerimD
I'm trying to set a fully transparent background. I have set my bar background like shown in the config wiki, but it is not showing any transparency. Can someone help out?
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
background = #ddff1023
Patrick Ziegler
@patrick96
@KerimD Do you have a compositor running or have enabled pseudo-transparency in the bar? You need one of those two to have any transparency
Deniz
@KerimD
wow thanks idk how I missed that!
Vinesh Reddy
@VineshReddy
Hello , I want to create a custom module but it doesnt need any exec, only perform some action on left click and exec at regular interval is i feel overkill
for such thing
Patrick Ziegler
@patrick96
@VineshReddy The text module is what you need I think
Vinesh Reddy
@VineshReddy
Your right, Thank you, i just now found out
Deniz
@KerimD
I'm trying to configure my date module as shown below but it just displays as '%-d/%-m'. Does someone know how I can get this to work?
time-alt = %-d/%-m
Patrick Ziegler
@patrick96
@KerimD I don't think those work. See here for all possible tokens
Vinesh Reddy
@VineshReddy
Can polybar show all open windows ? in a tray or anyway?
Patrick Ziegler
@patrick96
@VineshReddy Not natively, no.
Deniz
@KerimD
Thanks @patrick96, I had one more thing I wanted to add to my polybar and I was wondering if it's even possible. Basically in the cpu/temp module have label behave like time-alt does in a date module, so a label-alt that is all the individual cores like shown below.
label-alt = CPU 1: %percentage-core[1]%% CPU2: %percentage-core[2]%% CPU3...
Patrick Ziegler
@patrick96
@KerimD That's not possible. The date module is the only one with such an "alt" functionality.
Deniz
@KerimD
I used the time-alt example to show the the functionality I wanted the module to have. I'm pretty new to scripting will it be possible with a scripting module.
Patrick Ziegler
@patrick96
@KerimD Yes, pretty much everything is possible with the script module, but you have to do a lot of the work yourself ;)
Deniz
@KerimD
I see thanks I just wanted a yes before I started working on it.
Madhukar S Holla
@madhukar01
Is the config available on git for the example images on github?
I was looking at this -> http://i.imgur.com/xvlw9iH.png
Wondering if this config is available somewhere
Madhukar S Holla
@madhukar01
Found it, Thanks!
Deniz
@KerimD
I couldn't get color working with echo -e "\e[31m${var}\e[0m" or printf. Is there any way to get color for the script module besides format-foreground and stuff?
Deniz
@KerimD
oh deng that's huge brain I didn't even think of that thank you!
Vinesh Reddy
@VineshReddy
Hello, %{A1:command:} clickable text %{A} works for commands without any arguments like chromium, how to run commands like mpc seek...

For this ,

format-online = %{A3:cantata:}%{A4:mpc seek +00:00:05:}%{A5:mpc seek -00:00:05:} <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song> %{A}%{A}%{A}

I get ,

error: Failed to parse contents (reason: Unrecognized token '0')

Patrick Ziegler
@patrick96
@VineshReddy That's because your command contains colon characters, you need to escape those with a backslash
Vinesh Reddy
@VineshReddy
Thanks lol didn't see that, thought who is going to use colon anyways when i was looking at documentation
Sobades
@Sobades1_twitter

Hello! I've got a problem:
I would like to create a "button" in the bar which shows different text, when I click on it, but somehow it doesn't change.
Here is my "Code:"

[module/background]
type = custom/script
interval = 3

format-prefix = "  "
format-prefix-foreground = ${colors.background}
format-underline = ${colors.background}

exec = echo "Main Text"

click-left = echo "Pls let this work";
click-middle = echo middle %counter%
click-right = echo right %counter%
double-click-left = echo double left %counter%
double-click-middle = echo double middle %counter%
double-click-right = echo double right %counter%

I'm aware that only "click-left" shows a normal text but it doesn't pop up, if I click on this "button" (or script, however).
What am I doing wrong?

Patrick Ziegler
@patrick96
@Sobades1_twitter The output of the click commands is never displayed on the bar, only that of the exec command.
Sobades
@Sobades1_twitter
oooh!
so do I have to write a script, which will use "echo" to print out some text?
Patrick Ziegler
@patrick96
yes
Sobades
@Sobades1_twitter
Nice! Thank you ^^
Sobades
@Sobades1_twitter
; "click-(left|middle|right)" will be executed using "/bin/sh -c [command]"
click-left = echo left %counter%
click-middle = echo middle %counter%
click-right = echo right %counter%
double-click-left = echo double left %counter%
double-click-middle = echo double middle %counter%
double-click-right = echo double right %counter%

; Available tokens:
;   %counter%
;   %pid%
;
; "scroll-(up|down)" will be executed using "/bin/sh -c [command]"
scroll-up = echo scroll up %counter%
scroll-down = echo scroll down %counter%
Are these modes only available or can I combine it with Shift or an other key?
@patrick96
Patrick Ziegler
@patrick96
@Sobades1_twitter That's all there is
Sobades
@Sobades1_twitter
hmm... ok
and what's with the text?
```bash
; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND"
click-left = echo left
click-middle = echo middle
click-right = echo right

; "scroll-(up|down)" will be executed using "/bin/sh -c $COMMAND"
scroll-up = echo scroll up
scroll-down = echo scroll down
Are these all options too?
Patrick Ziegler
@patrick96
Yes
Utkarsh Gupta
@utkarsh2102
Just letting y'all know..
We're bringing polybar to Debian <3
(and debian based distros)
Patrick Ziegler
@patrick96
Awesome! :heart:
Are you the ones working with jpleau? polybar/polybar#1054
Utkarsh Gupta
@utkarsh2102
@patrick96, jpleau started working on it but now me and Samueloph are completing it! Samueloph did most of the work already and now we're ready to upload!
And also, many thanks for maintaining polybar; I just love it! ❤️
Patrick Ziegler
@patrick96
@utkarsh2102 That's great! Let me know if I need to have a look at anything. Did you have to change much to get it packaged?