So, I seen some nifty polybar and tint2 configs on here… But can I run both? Do I need to? Should I just stick to one or the other?
My goal is to have kind of like a system tray so I can see power level since I’m on a laptop. Also, being able to see spotify/discord wouldn’t be too bad either.
Is there a simple way to get this going? So I can tinker from there?
Like is there a pamphlet I can read?
I like Plank and all, but it doesn’t “do anything” other than acting as a launcher, and it’s task management isn’t very good for apps that can “close” but remain in the background like Discord
Plus I find myself using Alt+F1 more than anything.
Polybar does have a system tray module that isn’t enabled by default, but it’s not the best - doesn’t work too well with transparency.
You could also run a stand alone tray application like trayer or stalonetray. Well documented man pages for both to set them up.
In the past, I have run tint2 with taskbar, system tray, battery, and clock together with polybar with the cpu, temp, network, and memory modules (instead of conky) Pretty functional set up, low on resources.
trayer is a good option, low on resources but requires a little effort setting up and adding to autostart, particularly if using multiple monitors. tint2 is already there, you just need select it in conjunction with polybar in menu->preferences and if wanting an easy to set up-move anywhere kinda thing for a system tray that can auto hide, xfce4-panel can’t be beat and is surprisingly lite on resources.
Dumb question… but can I add padding manually in the rc if you know offhand? And any way to make tint2 appear over windows, since I assume there is no hide?
Sorry. Tint2. Trayer and XFCE4-Panel sound neat, but I figured I’d try with tint2 since it’s already available, and seems pretty flexible. However, the panel I selected is vertical and doesn’t appear over windows, the windows max just outside it. I’ll read the rc, and see if I can’t figure it out, glad to know there is a hide function
@Xase, I’ve got weird setup. I use polybar split between both screens (two instances) at the bottom for sys stats, updates, weather, email, sys vol… Tint2 split between both screens (two instances), mainly for a taskbar (because I don’t like window decorations) jgmenu and time. Used to use trayer for a tray/indicators because it was included in prior releases of AL but now use an instance of xfce4-panel auto hidden on the bottom of my right display. So… Sky’s the limit, get creative
Addendum… can I take the two separate RCs for tint2, and combine them in to one for both panels? or is it best to continue using the tint2rcs I modded and just mod them manually as needed?
@Xase Nice that looks awesome., good job man! I’ve always used separate configs and do so not only with tint2 but with polybar, I find it easier to track and solve an issue but it’s entirely up to you. If using separate configs for either polybar or tint2, remember to name them accordingly so they can be distinguished by the system and you.
Ok, so I’ll keep separate tint rcs. Cause I like myangle… Thinking about removing the clock and adding additional padding. Or maybe I’ll put a launcher in the corner. Not sure. But I love the flexibility this has provided me. The double clock is just redundant. Or maybe I’ll remove it from Polybar. I suppose the options are limitless.
So… non-dumb, yet probably redundant question. Anyway to get tint2 to start both panels automatically… simply selecting them in the preferences doesn’t permify them in any way it seems… should I add both start commands to my openbox autostart? Or is there another ArchLabs way that I’m missing?
You’re right… it starts. But now I have noticed sleep 1; al-polybar-session & is missing from my autostart, since I enabled tint2… or maybe it wasn’t there… but polybar wouldn’t start anymore till I added it back? is that alright?
I should’ve posted this in Basic help and support methinks at this point :o
You’re ok, time for things to start is important if you’re trying to start everything at once, use a time interval at your discretion based upon your system specs. On this machine, it could care less but on on my laptops, it’s a different story, 1-5 second intervals usually does the trick.