feature request (window rule) : size monitor_w*0.2 {{1080 - $bar_height}} #12667
Answered
by
ItsOhen
aphelei
asked this question in
Feature requests - Window management
-
Describe the feature
2025-12-17_01-12-1765933053.mp4Why would it be beneficial |
Beta Was this translation helpful? Give feedback.
Answered by
ItsOhen
Dec 17, 2025
Replies: 1 comment 2 replies
-
|
That won't work because {{ }} is done by the parser, which has no notion of what window_h is. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
aphelei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That won't work because {{ }} is done by the parser, which has no notion of what window_h is.
The correct way to do it is simply:
size = monitor_w*0.2 monitor_h-$bar_heightor if you want to make sure you don't mess it up somehow:
size = (monitor_w*0.2) (monitor_h-$bar_height)