xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
579 stars 272 forks source link

X.H.StickyWindows: Stick windows on screens #807

Open TheMC47 opened 1 year ago

TheMC47 commented 1 year ago

Description

After checking https://github.com/xmonad/xmonad-contrib/issues/797 and https://github.com/xmonad/xmonad/pull/445, I was motivated again to pick this up again.

This is a draft for actually sticky windows, not like X.A.CopyWindow: make a window stick on a screen and move whenever the workspace changes. This requires https://github.com/xmonad/xmonad/pull/433 to work, without it I was struggling to debug why xmonad hangs.

I still need to adapt the docs and actually test this on two screens.

Checklist

slotThe commented 11 months ago

@TheMC47 any updates on this?

TheMC47 commented 11 months ago

@slotThe it's been working flawlessly for me. It depends on https://github.com/xmonad/xmonad/pull/433 to work though. Once we can get that merged, I can find the time to finish the docs and maybe add some "quality of life" changes (like a setting to automatically float sticky windows or add some manage hook utilities).

Should've pushed more on https://github.com/xmonad/xmonad/pull/433, but life got busy lately

afonsofrancof commented 1 month ago

This is a big quality of life improvement for me, specially when it comes to Picture in Picture windows. Are there any updates on this? Thanks.

TheMC47 commented 1 month ago

Hey! I'm glad to hear that. I've been using the module myself since I opened the PR. Unfortunately, it needs a patch to core for it to work https://github.com/xmonad/xmonad/pull/433. Not sure what's the plan regarding it to be honest, but I'll try to push for it more.

If you want to use it now, you'll have to build xmonad from source. I have forks of xmonad and xmonad-contrib with the necessary change, you can use that as a template

afonsofrancof commented 1 month ago

@TheMC47 Thanks for the reply! I already compile it from source, so I just need to switch the repos. Thanks :)