Skip to main content
Topic: dwm accessnthmonitor need help nvidia (Read 735 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

dwm accessnthmonitor need help nvidia

Hi.
I'm trying to figure out how to configure accessnthmonitor patch for suckless dwm window manager.
The patch has zero documentation and does not even give any example on how or what to add to config.h.
All the other patches i added where fairly straightforward.
I have a triple monitor setup with latest nvidia drivers.
1 horizontal monitor, 2 vertical monitors.

I get it, the source code is the documentation.
But i don't have the time to dig the entire xlib library just to figure this out on my own.
Sorry for noobie questions.
How do i keybind this?
What keybindings do i need to add to my config.h file?

Re: dwm accessnthmonitor need help nvidia

Reply #1
according to first couple lines of patch

Code: [Select]
+        { ALTMOD,                       KEY,      focusnthmon,    {.i  = TAG } }, \
+        { ALTMOD|ShiftMask,             KEY,      tagnthmon,      {.i  = TAG } },

Re: dwm accessnthmonitor need help nvidia

Reply #2
okey, the patch added that to the config.def.h.

So then i need to add ALTMOD, XK_dot, focusHDMI-0mon?

I still don't get it.

Re: dwm accessnthmonitor need help nvidia

Reply #3
Nvidia-settings says there is only X screen 0.
It doesnt use xinerama.

So i can't use focus1mon.

Re: dwm accessnthmonitor need help nvidia

Reply #4
i can't figure out how to configure each screen to it's own number.

Re: dwm accessnthmonitor need help nvidia

Reply #5
Never mind. Removed the patch.
The default dwm way of handling multi monitors is good enough.
Close thread.