diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-30 18:15:47 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-30 18:15:47 +0100 |
| commit | ba9df864729c7ffba6171ce7be5eb0e91399e6da (patch) | |
| tree | a0d8b825e7997611d4dcd0795d500e60b509102d /contrib/config.sh | |
| parent | 5f4ba065668089e7d5b158f60f26dd0be893ccf8 (diff) | |
| download | river-ba9df864729c7ffba6171ce7be5eb0e91399e6da.tar.gz river-ba9df864729c7ffba6171ce7be5eb0e91399e6da.tar.xz | |
command: s/master/main/g (breaking change)
main is a better term to use here for several reasons:
1. It is more accurate: "master" implies that the designated views have
some kind of control over the other views, which is not the case. "main"
better expresses that the difference between the "main" view and others
is one of importance/focus.
2. It is a shorter word. 2 whole characters saved!
3. It reduces the chance of future development time being lost to
good-intentioned people complaining about usage of the word master as
has recently happened with regards to the default git branch name.
Diffstat (limited to 'contrib/config.sh')
| -rwxr-xr-x | contrib/config.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/config.sh b/contrib/config.sh index 969ceb6..c5f3969 100755 --- a/contrib/config.sh +++ b/contrib/config.sh @@ -29,18 +29,18 @@ riverctl map normal $mod Comma focus-output previous riverctl map normal $mod+Shift Period send-to-output next riverctl map normal $mod+Shift Comma send-to-output previous -# Mod+Return to bump the focused view to the top of the layout stack, making -# it the new master +# Mod+Return to bump the focused view to the top of the layout stack riverctl map normal $mod Return zoom -# Mod+H and Mod+L to decrease/increase the width of the master column by 5% -riverctl map normal $mod H mod-master-factor -0.05 -riverctl map normal $mod L mod-master-factor +0.05 +# Mod+H and Mod+L to decrease/increase the main factor by 5% +# If using rivertile(1) this determines the width of the main stack. +riverctl map normal $mod H mod-main-factor -0.05 +riverctl map normal $mod L mod-main-factor +0.05 # Mod+Shift+H and Mod+Shift+L to increment/decrement the number of -# master views in the layout -riverctl map normal $mod+Shift H mod-master-count +1 -riverctl map normal $mod+Shift L mod-master-count -1 +# main views in the layout +riverctl map normal $mod+Shift H mod-main-count +1 +riverctl map normal $mod+Shift L mod-main-count -1 # Mod+Alt+{H,J,K,L} to move views riverctl map normal $mod+Mod1 H move left 100 @@ -95,7 +95,7 @@ riverctl map normal $mod Space toggle-float # Mod+F to toggle fullscreen riverctl map normal $mod F toggle-fullscreen -# Mod+{Up,Right,Down,Left} to change master orientation +# Mod+{Up,Right,Down,Left} to change layout orientation riverctl map normal $mod Up layout rivertile top riverctl map normal $mod Right layout rivertile right riverctl map normal $mod Down layout rivertile down |
