Is it possible for specific windows to remember their last position? #1319
-
Let's put the case where I always like my calculator app to spawn/appear on x/y coordinates or a defined region (rc.xml), is it possible or currently all windows can only spawn at center and not remember their last position? (or specify which ones can remember and which ones not) |
Beta Was this translation helpful? Give feedback.
Answered by
Consolatis
Dec 12, 2023
Replies: 1 comment 1 reply
-
X11 applications can technically remember their last position. <windowRules>
<windowRule identifier="XCalc">
<!-- using specific coordinates -->
<action name="MoveTo" x="20" y="20" />
<!-- or alternatively using a defined region -->
<!-- <action name="SnapToRegion" region="some_region" /> -->
</windowRule>
</windowRules> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ludg1e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
X11 applications can technically remember their last position.
You can enforce a specific position for a window by using a window rule, something like this: