hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.1k stars 33 forks source link

System icons at the end of the bar #97

Open arcolinuxz opened 2 years ago

arcolinuxz commented 2 years ago

Just wanted to ask if there should be any system icons on the top right in the bar? Or is hypr created that way?

icons we would see are typically

image

vaxerski commented 2 years ago

You need to have the tray widget

image

Which I can't see in your config

image

arcolinuxz commented 2 years ago

I copy/pasted the code in from the example

I see no system icons.

image

after copying the complete example config I see this

image

vaxerski commented 2 years ago

Again, tray is not saved as per image

open an app AFTER the tray is launched and it will appear

arcolinuxz commented 2 years ago

If I understand correctly then the system icons of applications will appear only after the bar is loaded and then the app is started.

I have tried 0 and 1 in the no_tray_saving.

I have tried adding tray but it will not show any icon.

Tested with telegram and discord.

This is your code.

module=left,,0xff7000dd,0xff7000dd,1,tray

and this is mine

image

Anything wrong here?

vaxerski commented 2 years ago

looks good to me, no clue why it doesnt work

arcolinuxz commented 2 years ago

then we let it rest tomorrow is another day

arcolinuxz commented 2 years ago

ps...hypr is part of ArcoLinux now https://www.youtube.com/playlist?list=PLlloYVGq5pS4Y4BMlW2DfUN3l-i-ZCaUe

vaxerski commented 2 years ago

Thanks! consider adding Hyprland as well, as most of the development has shifted there!

arcolinuxz commented 2 years ago

I hope you still work on hypr as anything wayland seems not to work here virtualbox or real metal

vaxerski commented 2 years ago

I maintain hypr, so that it works, but not really add any new features. Regarding hl - in VirtualBox remember to enable software rendering via WLR_RENDERER_ALLOW_SOFTWARE=1, for real metal, as long as you're not on nvidia it should just work ootb. For nvidia, there is a wiki page here

arcolinuxz commented 2 years ago

and where does this code go WLR_RENDERER_ALLOW_SOFTWARE=1

arcolinuxz commented 2 years ago

did an export .... in my bashrc that was not working

vaxerski commented 2 years ago

it's an envvar for Hyprland itself, bashrc might not work. WLR_RENDERER_ALLOW_SOFTWARE=1 Hyprland