mirror of
https://github.com/hyprwm/RFCs.git
synced 2025-01-10 10:49:49 +01:00
rfc: detailed motivation
beside the motivation the rest wasn't modified yet but will be
This commit is contained in:
parent
12b8f0e762
commit
fef54a7592
1 changed files with 7 additions and 21 deletions
|
@ -6,31 +6,18 @@ author: Ciflire
|
||||||
|
|
||||||
# Summary
|
# Summary
|
||||||
|
|
||||||
Trying to normalize the side parameter given to animation
|
This RFC aims to agree on a rule for forced side option of the slide animation style
|
||||||
|
|
||||||
# Motivation
|
# Motivation
|
||||||
|
|
||||||
I felt like the animation side is not consistent. To give an example I will be
|
The way the animation `slide` is used feels inconsistent in two ways at the moment i'm writing this:
|
||||||
using my configuration file:
|
- First, it describes a side that can be the side by which the animation starts as well as its end. For example the keyword `bottom` used for animation `windowsIn` will move the window **from** the bottom to the desired position and for the animation `windowsOut` the window will be slided to the bottom of the screen
|
||||||
|
- Secondly, following that logic, the keyword `bottom` would be used to make the window pop from the bottom and close sliding to the bottom. The same keyword is then used for two different visual results.
|
||||||
```
|
This RFC will allow to write the documentation as clear as possible without having to detail each case, or by try and fail by the user
|
||||||
animation=windowsIn, 1,2,windowIn, slide bottom
|
|
||||||
animation=windowsOut,1,2,windowOut, slide bottom
|
|
||||||
```
|
|
||||||
|
|
||||||
These two animation have the same side given, but one gives an animation that
|
|
||||||
slides **from** bottom **to** the center and the other gives an animation that
|
|
||||||
slides **from** center **to** bottom
|
|
||||||
|
|
||||||
This bothered me, so I decided i would make an RFC to get feedback on that, to
|
|
||||||
know if I am the only thinking that or not as I could get no feedback in the
|
|
||||||
discord.
|
|
||||||
|
|
||||||
# Detailed design
|
# Detailed design
|
||||||
|
|
||||||
The other conception of it would be to think of a vector which to me feels more
|
The new design for the forced side
|
||||||
intuitive when thinking of animation, and movement. Instead of thinking of a
|
|
||||||
fixed size.
|
|
||||||
|
|
||||||
# Examples and Interactions
|
# Examples and Interactions
|
||||||
|
|
||||||
|
@ -47,8 +34,7 @@ Where `top` and `bottom` give the direction of the window when going in or out.
|
||||||
|
|
||||||
People would have to change this in their entire config, could also be
|
People would have to change this in their entire config, could also be
|
||||||
counterintuitive to other people just as the way it is designed today is
|
counterintuitive to other people just as the way it is designed today is
|
||||||
counterintuitive to me
|
counterintuitive to me Having to change the actual implementation
|
||||||
Having to change the actual implementation
|
|
||||||
|
|
||||||
# Alternatives
|
# Alternatives
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue