Skip to content

Is it possible for specific windows to remember their last position? #1319

Answered by Consolatis
ludg1e asked this question in Q&A
Discussion options

You must be logged in to vote

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:

<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>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ludg1e
Comment options

Answer selected by ludg1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants