2025-01-23 01:40:42 +0100 | <haskellbridge> | <m1mir> Hi, I have simple question. Does anyone know where I could configure what runs when I do a _wmctrl -s_ command? |
2025-01-23 01:42:12 +0100 | <geekosaur> | it's part of EwmhDesktops but I don't know if we have a hook for _NET_CURRENT_DESKTOP |
2025-01-23 01:43:48 +0100 | <geekosaur> | doesn't look like we do. what exactly are you trying to do? |
2025-01-23 01:50:32 +0100 | <haskellbridge> | <m1mir> I'm trying to keep the windows with the independent screens module on the right screen. If the workspace that I'm trying to switch to is on the other screen and it is hidden it grabs that workspace and shows it on the screen where I ran the command instead of switching to the right screen. I managed to replace the doFocus with "doF . focusWindow' =<< ask" but I. |
2025-01-23 01:51:18 +0100 | <haskellbridge> | <m1mir> I'm trying to keep the windows with the independent screens module on the right screen. If the workspace that I'm trying to switch to is on the other screen and it is hidden it grabs that workspace and shows it on the screen where I ran the command instead of switching to the right screen. I managed to replace the doFocus with "doF . focusWindow' =<< ask" but I couldn't find a way to do that with the wmctrl -s... |
2025-01-23 01:51:23 +0100 | <haskellbridge> | ... command handling. |
2025-01-23 01:54:59 +0100 | <geekosaur> | I don't think there's a good way to handle it. wmctrl requests workspaces by number, not name, and the numbers don't necessarily map to anything in your xmonad.hs. (EWMH starts numbering reported workspaces from 0 and uses only those numbers.) |
2025-01-23 01:56:57 +0100 | <geekosaur> | `xprop -root _NET_DESKTOP_NAMES is the workspaces names that wmctrl knows about, and it uses an index into that list when it makes its request |