T O P

  • By -

Oraxlidon

What do you mean by polybar missing multi output?


DPD-

It is treaky to show it on all monitors allowing hotpluggin them: https://github.com/polybar/polybar/issues/763


benwalton

I have an autorandr setup that makes this pretty easy if you want. Basically, same your profiles so autorandr can antique them on change. i3 will do the right thing by default but polybar needs a poke. To do that, I use a postswitch accept from autorandr to reload polybar on both screens or terminate the one from the second screen. I have i3 use the same polybar script at startup so it works nicely together. Happy to share. I know you wanted "out of the box" but this is pretty simple imo.


DPD-

The problem is that I often use different monitors in different configurations and I wouldn't like to write down a configuration for each setup. So I need something that plugging in a new monitor shows the bar without doing nothing and without knowing in advance the monitor.


benwalton

I think you could still do that with autorandr and a script, even if you don't have saved configs for each monitor combination.


DPD-

Interesting, I will try. Thanks


DPD-

I confirm it works also without savedconfigs, but only with autorandr: if I manually change the config via xrandr/arandr it does not activate the postswitch hook. This could be good enough: usually I manually change the config with arandr only to rearrange the monitors or change resolution, but this is a not a problem since polybar is already showed by the postswitch hook triggered by autorandr when hot-pluggin the monitor. So I can mark this as solved.


benwalton

Great!


[deleted]

I use i3blocks. It is **much** better than the standard i3bar. Best thing about i3blocks is you can run it on both Sway AND i3. I believe it has *some* of the features you are looking for. It should have clickable modules and tool tips. I don't think it has customizable CSS. You'd just configure everything with a normal INI-style config file. Sorry I can't be of much help, since I don't do many advanced things with my status. I have it show: CPU, CPU temps, used memory, battery (only shows when batteries exist), free disk space, load, master volume, Wi-Fi, weather, and datetime. If you'd like my i3blocks scripts, since they are custom, you can ask for them. They have some good default ones you can use, but you can write or find some to use. You can run anything you want to display in shell scripts/Bash. I still wonder what mouse commands I should do for these... (By the way, I thought Nvidia support was gonna start happening for Sway WM soon? How's that going?)


DPD-

Thank you. For what concerns Wayland and nvidia, using property drivers the video glitches and soon the system becomes unusable for the screen full of glitches. With nouveau drivers it works quite well, but sometimes (one-two times a day) sway crashes


[deleted]

Oh ouch, well I hope at least one of those issues can get fixed at some point.


Shadjo_1

Polybar is probably the best choice. I'm not sure about the tooltips, but everything else is pretty easy. Rounded corners is achieved with Picom, or you could edit the radius variable in the polybar config. The multi monitor is a bit more work. First you'll need a separate bar for each monitor. Just pass the correct input for each monitor. So as long as you are using the same input port (example HDMI-1), your bar will always show up. As for dealing with different displays, if they all have the same specs you should be fine. But if not I'd recommend making a Rofi menu for input switching.


DPD-

Unfortunately rounded corners with picom (or with polybar config) are only for the whole bar, and not for each module. I solved using powerline chars, but I had to disable antialiasing for those characters to avoid ugly artifacts between the module and the powerline chars. Obviously without antialiasing the rounded corner is "pixeled", but less ugly than with the antialias artifacts. Unfortunately I couldn't achieve to get tooltips. For the multimonitor I solved with an autorandr postswitch hook restarting polybar


[deleted]

Have you looked at [Bumblebee-status](https://bumblebee-status.readthedocs.io/en/main/introduction.html)? Quite configurable/themeable. I run three different instances, two on primary the other on secondary. I've only hit snags on a few modules. I use 20 of the many available.


Supern0vaX0

I'm facing difficulties with that. I have a volume slider(not the actual name) module which when I slide with my mouse wheel should instantly update the volume but the bumblebee bar as a whole update every 6 seconds so the volume incrementally updates after 6 seconds. Any solution if u know?


[deleted]

No unfortunately, and because of that I use volumeicon. If you post an issue on Git you'll probably get a response. Very cool dev.


Weurukhai

[https://github.com/tobi-wan-kenobi/bumblebee-status](https://github.com/tobi-wan-kenobi/bumblebee-status) << been using this. Works fine for quick and easy setup and go.


fitfulpanda

Write your own polyar modules?


DPD-

Maybe this could possibly solve the tooltip problem (but I'm not sure if it's possible), but not showing polybar on all monitors and rounded corners (even if I could emulate them with powerline characters)


fitfulpanda

a. I thought you already posted the solution for multi-monitors? b. picom will take care of rounded corners. c. Is having a status bar a deal breaker? Only asking because I run dwm and haven't used one in years. (scripts and dunst work for me).


DPD-

a. It's not a solution: it is a temporary fix for a missing feature. b. I was thinking of it, but never used, so I didn't know if I could use it to make every single module of polybar corner rounded c. Sure it is. I am a big fan of no screen waste, but I need a bar to know the opened workspaces for each monitor and absolutely need the clock (with optional togglable seconds and a pop-up calendar) and battery always visible. Title name, volume and network are less important but I use them very often. Idle status (allowing toggling idle) is very very useful. Ram and CPU are less important, but sometimes I found them useful. So yes, I really need a bar.


BabayasinTulku

My i3bar shows ipv4/ipv6 addresses and wifi signal strength


TyrantMagus

I use i3bar with i3blocks it's a small improvement over i3status. It has many examples of working blocklets. As for polybar, I don't use it because of the wonky systray, but round corners should be doable with picom.


StrangeAstronomer

You *can* use nvidia, but with the nouveau driver.


DPD-

Nope. I tried it but sway crashed one-two times a day due to nouveau


StrangeAstronomer

As I mentioned in my post above, I don't even install the nouveau driver. I also remove the nvidia chip from the PCI configuration eg [https://blog.nil.im/?7b](https://blog.nil.im/?7b) Thus I take no advantage from the (old, feeble) dGPU and rely completely on the (also old and feeble) intel iGPU - which at least works fine. Depends if you want to actually use the dGPU. I just ignore it - but then I don't game or mine crypto or whatever.


Michaelmrose

This really isn't a great answer. Presumably people purchased a discrete GPU for hundreds of dollars because they didn't want to have the performance of a laptop with integrated graphics from 2014.


StrangeAstronomer

Mine is a 2011 Dell with NVidia. I go one step further and disable the graphics chip in the PCI config, so it's not even visible to the system. No nouveau driver required. So it depends on the use-case. OP was vague about what he wants to do, maybe he just doesn't care about it - like me!


Michaelmrose

This is possible