aboutsummaryrefslogtreecommitdiff
path: root/wiki/Design-Principles.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-08-14 18:33:43 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-08-14 18:33:43 +0300
commit2f73dd5b59237192f59636e5d6f808f119aa0167 (patch)
treef2f335026336bcb7f9f3647c8a8af6c14efa3cd8 /wiki/Design-Principles.md
parentc658424c9fc516c8b4e0fc9b7ade47edcb9701ea (diff)
downloadniri-2f73dd5b59237192f59636e5d6f808f119aa0167.tar.gz
niri-2f73dd5b59237192f59636e5d6f808f119aa0167.tar.bz2
niri-2f73dd5b59237192f59636e5d6f808f119aa0167.zip
wiki: Use real em-dash
Diffstat (limited to 'wiki/Design-Principles.md')
-rw-r--r--wiki/Design-Principles.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki/Design-Principles.md b/wiki/Design-Principles.md
index f1f31f90..70450562 100644
--- a/wiki/Design-Principles.md
+++ b/wiki/Design-Principles.md
@@ -26,5 +26,5 @@ And here are some more principles I try to follow throughout niri.
This is niri state that is not immediately apparent from looking at the screen. This is not bad per se, but you should carefully consider how to reduce the surprise factor.
- - For example, when a monitor disconnects, all its workspaces move to another connected monitor. In order to be able to restore these workspaces when the first monitor connects again, these workspaces keep the knowledge of which was their *original monitor*---this is an example of invisible state, since you can't tell it in any way by looking at the screen. This can have surprising consequences: imagine disconnecting a monitor at home, going to work, completely rearranging the windows there, then coming back home, and suddenly some random workspaces end up on your home monitor. In order to reduce this surprise factor, whenever a new window appears on a workspace, that workspace resets its *original monitor* to its current monitor. This way, the workspaces you actively worked on remain where they were.
+ - For example, when a monitor disconnects, all its workspaces move to another connected monitor. In order to be able to restore these workspaces when the first monitor connects again, these workspaces keep the knowledge of which was their *original monitor*—this is an example of invisible state, since you can't tell it in any way by looking at the screen. This can have surprising consequences: imagine disconnecting a monitor at home, going to work, completely rearranging the windows there, then coming back home, and suddenly some random workspaces end up on your home monitor. In order to reduce this surprise factor, whenever a new window appears on a workspace, that workspace resets its *original monitor* to its current monitor. This way, the workspaces you actively worked on remain where they were.
- For example, niri preserves the view position whenever a window appears, or whenever a window goes full-screen, to restore it afterward. This way, dealing with temporary things like dialogs opening and closing, or toggling full-screen, becomes less annoying, since it doesn't mess up the view position. This is also invisible state, as you cannot tell by looking at the screen where closing a window will restore the view position. If taken to the extreme (previous view position saved forever for every open window), this can be surprising, as closing long-running windows would result in the view shifting around pretty much randomly. To reduce this surprise factor, niri remembers only one last view position per workspace, and forgets this stored view position upon window focus change.