Forum › Forums › New users › New Users and General Questions › [SOLVED] How to Add a Tray in herbstluftwm
- This topic has 21 replies, 7 voices, and was last updated Sep 4-8:50 am by keshav-uses-linux.
-
AuthorPosts
-
July 4, 2025 at 12:56 pm #180668
keshav-uses-linux
Memberhlwm is my preferred WM. If you’re asking about a systray, then you can add a tray to polybar through one of its modules
yeah, but i wanted to stick to the stock dzen2 for now just because of the hassle to learn a whole new program with it’s seperate config vocabullary and language.
really appriciative of the wishes and the advices you gave which is rare to find in these forums!July 4, 2025 at 1:13 pm #180669keshav-uses-linux
MemberFor a system tray, you can also use trayer (from the Debian repos), which is just nothing but a system tray, so it can be laid on top of dzen or whatever panel you use that doesn’t otherwise provide a system tray.
thanks that seems very appealing as it can work by laying itself on top of the dzen2 window.
So, i tried it and added this in my pannel.sh
sudo apt install trayer~/.config/herbstluftwm/panel.sh
trayer --edge top --align right --margin 0 --height 16 --width 100 --widthtype pixel --distancefrom right --distance 160 --iconspacing 7 --padding 5this gave me an app tray with the height of the defualt pannel that comes with antix linux, herbstulfwm config
- This reply was modified 1 year, 2 months ago by keshav-uses-linux.
- This reply was modified 1 year, 2 months ago by keshav-uses-linux.
Attachments:
July 4, 2025 at 1:29 pm #180673keshav-uses-linux
MemberDo have you tried what @chndz suggested?
yeah, i very well do tried it! so what now?
- This reply was modified 1 year, 2 months ago by keshav-uses-linux.
July 4, 2025 at 2:28 pm #180678
blur13MemberAlso, if you really lean on keybindings for your workflow, you can incorporate sxhkd into your hlwm config. This allows program-specific keybindings to have a dedicated configuration space (allows keychords like emacs) while your windowmanager-specific keybindings remain in the hlwm config file.
Sorry for the off-topic, but this caught my attention. Could you elaborate on this? Having wm-specific keybindings hijacking program specific keyboard shortcuts is a bit annoying.
July 4, 2025 at 3:06 pm #180685
anticapitalistaForum AdminDo have you tried what @chndz suggested?
yeah, i very well do tried it! so what now?
Did it do what you want?
Why have you marked the thread as solved?Later – OK you posted the answer in the first post.
Glad to know you found a solution.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
July 4, 2025 at 3:29 pm #180687keshav-uses-linux
MemberLater – OK you posted the answer in the first post.
Glad to know you found a solutioMoral of the Story sometime i feel like people don’t understand how usefull and Convinent an Simple and concise thread is in a situation of hurry. I request all forum people to think about new users in a hurry searching for a problem on google and landing on a thread litter with unnecessary replies and paragraphs of text that doesn’t actually solve the problem directly. what a hellscape it must be
- This reply was modified 1 year, 2 months ago by keshav-uses-linux.
September 4, 2025 at 8:50 am #184980keshav-uses-linux
MemberSo, on reboot, the stalonetray doesn’t seems to load even though its added to the “~/.config/herbstluftwm/pannel.sh” file.
when i start it from cli, it works but not on reboot? -
AuthorPosts
- You must be logged in to reply to this topic.
