You are not logged in.

#1 2023-10-24 22:08:12

AcidGod
Member
Registered: 2019-02-13
Posts: 34

Xmonad dual screen correct initial state.

Hi,

I am encountering an issue with my Xmonad configuration, particularly in a dual-screen setup. Whenever I launch Xmonad, instead of displaying screens 0_1 and 1_1 on my polybar, it shows screens 0_1 and 0_2. Here, “0” and “1” in “0_1” represent the screen number and the workspace, respectively. This issue persists until I shift my focus to the second display and use a shortcut to change the workspace. At that point, the 0_2 screen automatically shifts to the first monitor, while the 1_1 screen remains on the second monitor.

However, I need the screens to be set as 0_1 and 1_1 right from the start when Xmonad is launched. I have tried enabling IndependentScreens in my configuration, but this issue continues to frustrate me. Could you please assist me in resolving this problem?

here is my config: [https://raw.githubusercontent.com/asolo … /xmonad.hs]

Thanks in advance.

Offline

Board footer

Powered by FluxBB