-
-
Notifications
You must be signed in to change notification settings - Fork 723
Add wm-restack=generic option that lowers polybar to the bottom of the stack #2404
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2404 +/- ##
=========================================
- Coverage 9.86% 9.83% -0.03%
=========================================
Files 147 147
Lines 10466 10492 +26
=========================================
Hits 1032 1032
- Misses 9434 9460 +26
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
patrick96
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! This also implemented #1657 I think.
Everything seems to work from my testing and looks like this should work in most WMs. It even works in i3 even though there the polybar window isn't always a direct child of the root.
This just needs one small change and then we're good to go.
Thanks a lot 🎉
b0bc9f6 to
45a89ea
Compare
Previously wm-restack only supported bspwm and i3. Both have a special top-level window that polybar detects and places itself directly above. This patch adds wm-restack=generic which simply lowers polybar to the very bottom of the stack. This option was tested and confirmed to work with xmonad which doesn't have a special top-level window and therefore doesn't require special handling like bspwm and i3. Fixes polybar#2205
45a89ea to
2dbe8d6
Compare
|
Thanks! |
|
hi can I ask a question: I'm using xmonad on arch. |
|
@timakro Can you check this out? |
|
@ixzh Just to check, does polybar print any errors and are you using the latest polybar development version? |
no error message. I'm using polybar 3.5.6. should I switch to the git version? I presume it almost works based on the bove behavior, just this extra "refreshement" step. polybaroverlay.mp4 |
|
polybar 3.5.6 doesn't have |
Run from commandline with warning: switched to polybar-git version, fullscreen works! Thank you ! |
What type of PR is this? (check all applicable)
Description
Previously wm-restack only supported bspwm and i3. Both have a special
top-level window that polybar detects and places itself directly above.
This patch adds wm-restack=generic which simply lowers polybar to the
very bottom of the stack. This option was tested and confirmed to work
with xmonad which doesn't have a special top-level window and therefore
doesn't require special handling like bspwm and i3.
Related Issues & Documents
Fixes #2205
Closes #1657
Documentation (check all applicable)
I suggest the following changes to the configuration page on the wiki: