-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize _NET_CURRENT_DESKTOP to w.greedyView desktop #776
Comments
We can add a configurable hook to https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/src/XMonad.Hooks.EwmhDesktops.html#EwmhDesktopsConfig (pull request welcome but one of us would get to it eventually too :-)) |
Okay, I managed to get it to work .. it felt a bit more involved than before. Since it's not easily possible to feed my own custom |
@jceb so would you like to add an additional field to |
@slotThe I want to define a new hook (see https://github.com/jceb/dotfiles/blob/master/xorg/.xmonad/xmonad.hs#L118) that requires |
@jceb That sounds like an https://en.wikipedia.org/wiki/XY_problem though. What you really want is to make |
Actually, I just remembered that there's always been a way to override just a part of what This should be a better solution for you now, and we'll try to figure out a nice hook api for swapping |
Thanks mate, I found a solution that works for the moment. Thanks for working on the API! |
Problem Description
I'd like xmonad to change the current workspace via
W.greedyView
when clicking on a workspace in the desktop bar. Currently,ewmh
usesW.view
inewmhDesktopsEventHook'
which doesn't bring the selected workspace into sight when the workspace is displayed on a another monitor. Before version 0.17 I was able to patchewmhDesktopsEventHook'
manually and feed it back into the configuration via the hook system. With version 0.17 this workaround doesn't seem to be possible anymore.This function is the one that causes the issue for me: https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/src/XMonad.Hooks.EwmhDesktops.html#ewmhDesktopsEventHook%27
Steps to Reproduce
Configuration File
Please include the smallest full configuration file that reproduces
the problem you are experiencing:
Checklist
I've read CONTRIBUTING.md
I tested my configuration
xmonad
version 0.17.1xmonad-contrib
version 0.17.1The text was updated successfully, but these errors were encountered: