Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 16 15:46

    patrick96 on master

    Use master branch for googletes… (compare)

  • Jun 16 15:03

    patrick96 on master

    Change over all IRC mentions to… (compare)

  • Jun 13 22:22

    patrick96 on libera-verify-467398234

    (compare)

  • Jun 13 19:04

    patrick96 on libera-verify-467398234

    (compare)

  • May 27 18:05

    patrick96 on master

    Adding case to ignore T@ in bsp… (compare)

  • May 23 23:23

    patrick96 on master

    Update PKGBUILD for 3.5.6 We c… (compare)

  • May 23 23:07

    patrick96 on 3.5.6

    (compare)

  • May 23 23:07

    patrick96 on master

    fix(build): Disable sphinx manp… fix(tray): Support clients with… tray: Do not swallow clear_wind… and 3 more (compare)

  • May 23 23:05

    patrick96 on 3.5.6

    (compare)

  • May 23 23:01

    patrick96 on 3.5.6

    Release 3.5.6 (compare)

  • May 23 22:57

    patrick96 on 3.5.6

    Fix i3 module assertion failure… (compare)

  • May 23 22:47

    patrick96 on 3.5.6

    fix(tray): Support clients with… tray: Do not swallow clear_wind… (compare)

  • May 13 10:59

    patrick96 on master

    feat(bspwm): Option to scroll t… (compare)

  • May 09 19:28

    patrick96 on 3.5.6

    fix(build): Disable sphinx manp… (compare)

  • May 09 19:13

    patrick96 on 3.5.6

    (compare)

  • Apr 25 11:37

    patrick96 on master

    Fix abort in i3 module with new… (compare)

  • Apr 01 22:48

    patrick96 on master

    Add wm-restack=generic option t… (compare)

  • Mar 29 18:17

    patrick96 on master

    Fixed issues with border corner… (compare)

  • Mar 26 14:20

    patrick96 on master

    Update README to trigger GitHub… (compare)

  • Mar 03 21:48

    patrick96 on master

    fix: unbounded_percentage alway… (compare)

0xffs3c9uy
@0xffs3c9uy
@patrick96 I just want to do like the others modules
Icons and text have different colors
Patrick Ziegler
@patrick96
I see. You can use formatting tags to change text color within a label instead of changing it for the entire label at the same time.
You could also use format-volume-prefix to display the icon and change the color for only the icon there
0xffs3c9uy
@0xffs3c9uy
@patrick96 formatting tags has solved my problem, thank you bro!
teste2.png
antikythera
@leibniz:matrix.org
[m]

@patrick96: Minor query: I've just build version 3.5.6 but polybar --version reports:

polybar 3.5.6-dev
Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

Here is git status : https://dpaste.com/B5LXQ45AK
I remember the prior version didn't have that -dev. Also I've built in Release mode.

Patrick Ziegler
@patrick96
@leibniz:matrix.org The build system adds the -dev suffix when your not on a clean version of the commit. In your case, the xpp submodule isn't updated. You can run git submodule updateto update it. This should only happen when you manually check out releases in an existing repo and not when you do a clean build and follow the build guide
antikythera
@leibniz:matrix.org
[m]
@patrick96: I did rm -rfed the build/ dir before and did the recursive pull. Git status on master is clean but on checkouting the latest version, that unstaged xpp submodule is shown. Shouldn't the latest release branch have included that file in the commit tree itself?
I mean is git submodule update necessary after git checkout 3.5.6? (When I've already done so for master branch)
The problem is fixed now BTW.
Patrick Ziegler
@patrick96
Unfortunately, git checkout itself does not change the commits in the submodules. git checkout --recurse-submodules ... should do everything at once though
ErikBolumburu
@ErikBolumburu
Hey, how do you print to polybar in python?
while t:
11 mins, secs = divmod(t, 60)
12 timer = '{:02d}:{:02d}'.format(mins, secs)
13 print(timer)
14 time.sleep(1)
15 t -= 1
can I not just print?
numbers are from vim
idk hwo to copy to clipboard lol
[module/pomodoro]
10 type = custom/script
11 interval = 1
12 exec = ~/.config/polybar/forest/scripts/pomodoro.py
thats my module
Patrick Ziegler
@patrick96
If you want continuous output from your script instead of just a single line. You need tail=true in your module config
ErikBolumburu
@ErikBolumburu
ok
antikythera
@leibniz:matrix.org
[m]
@patrick96: When a script module takes too long to return, all other modules are also blocked (like volume module). Is this expected behaviour?
Patrick Ziegler
@patrick96
@leibniz:matrix.org A script run from a click event or the exec script in the script module?
Neither should block anything, though in earlier versions of polybar, click commands did block everything
antikythera
@leibniz:matrix.org
[m]
@patrick96: On click event. I'm on latest stable. I'm using timeout to workaround this problem
Sorry I should have mentioned that it is IPC-module (not script)
Patrick Ziegler
@patrick96
Seems like the ipc module does block everything until the command is finished. Not the click command (those are independent of the module) but the hook that is called because of the click command.
I guess you could say this is expected behavior, but it is definitely not ideal. Feel free to open a feature request for this
katzeyurei
@katzeyurei:matrix.org
[m]
Help, why when I launch polybar using command "polybar example" in my terminal this bluetooth module is working, but when I launch polybar using i3, its not working.
Patrick Ziegler
@patrick96
@katzeyurei:matrix.org Looks like the PATHvariable is not set correctly when it is run during i3 startup.
katzeyurei
@katzeyurei:matrix.org
[m]
oh ok it works now, I put the bluetooth to .local/bin, lts in /home/bin before
thank you thank you
aah I'm embarrassed
rajoayalew
@rajoayalew
%percentage%% does not show battery percentage?
Could anyone help me figure out why?
If I have "label-discharging = %percentage%%" in my modules.ini file the battery module just displays %percentage%%
Patrick Ziegler
@patrick96
@rajoayalew Hmm, it does for me. Can you post your config? What polybar version are you using?
If you're using an unreleased version, it could be this issue: polybar/polybar#2379
Sim
@Smacktur
Hi! Please tell me what the reason may be: I'm trying to add a second (and a third) bar (it seems everything is according to the configuration preview.sh), however, after the update (I use i3), all the bars disappear. The console outputs the following: no modules created
Patrick Ziegler
@patrick96
@Smacktur You're going to have to be a bit more specific. After which update? What do your bar sections in your config look like? The no modules created message generally means that either you do not have any modules specified or none of them were found. Does polybar print anything else to the console?
Sim
@Smacktur
@patrick96 Sorry, I meant after the i3 update (Mod + Shift + R). So, I managed to display the top panel, but I can't add new ones. Errors are no longer displayed in the terminal. I'm confused.
Sim
@Smacktur
Funny thing is that at startup ./preview.sh all three panels are displayed correctly. Weird.
Sim
@Smacktur
Hooray, I figured it out. Everything works! Forgot in preview.sh prescribe bars))) Sorry to bother you!
Pierre-Alexis Ciavaldini
@pciavald
hey there, i'm running polybar in raspios on the official 7inch screen, but the touchscreen does not seem to let through clicks on powermenu
the rest of the os and the previous lxpanel worked fine on this setup, and using x11vnc to click powermenu works too
the networkmanager icon in the polybar system tray also works on the touchscreen
Pierre-Alexis Ciavaldini
@pciavald
i've just noticed the same behavior on the date module, clicking only works from x11vnc
Pierre-Alexis Ciavaldini
@pciavald
override-redirect = true fixed it, may be worth mentioning in the docs
@livregnas_twitter
hello. today i installed polybar themes and i didn't like it and since then i can't get back my original polybar at all, there is just a shadow at the top. i'm not sure what happened and i don't know if i should uninstall it but it came with archcraft so i'm not sure how to go about doing that... any advice?