Skip to content

Systray not following to active monitor wanted behaviour? #243

Answered by bakkeby
mrwsl asked this question in Q&A
Discussion options

You must be logged in to vote

It can be yes.

The first 0 here means that the systray will be shown on the first (primary) monitor. If you set this to 1 then the systray will only be shown on your secondary monitor.

dwm-flexipatch/config.def.h

Lines 499 to 501 in 93f9d97

#if BAR_SYSTRAY_PATCH
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
#endif // BAR_SYSTRAY_PATCH

If you want the systray to follow the active monitor then you can change that first 0 to 'A'.

dwm-flexipatch/config.def.h

Lines 473 to 476 in 93f9d97

* monitor:
* -1 show on all monitors
* 0 show on monitor 0
* 'A' show on active monitor (i.e. focused / selected) (…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrwsl
Comment options

Answer selected by mrwsl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants