diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-30 14:25:37 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-30 14:25:37 +0100 |
| commit | 5f4ba065668089e7d5b158f60f26dd0be893ccf8 (patch) | |
| tree | de01bb8b729b5f485c2db5e01c78493ba389be0e /contrib/config.sh | |
| parent | ac20f5aa1dd50b06e30d4ad06ad07cb353f9a5fa (diff) | |
| download | river-5f4ba065668089e7d5b158f60f26dd0be893ccf8.tar.gz river-5f4ba065668089e7d5b158f60f26dd0be893ccf8.tar.xz | |
docs: improve explanation of tags
"tagmask" is a misleading term as the arguments are used much more like
a set of tags than a mask.
Diffstat (limited to 'contrib/config.sh')
| -rwxr-xr-x | contrib/config.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/config.sh b/contrib/config.sh index 5169409..969ceb6 100755 --- a/contrib/config.sh +++ b/contrib/config.sh @@ -68,26 +68,26 @@ riverctl map-pointer normal $mod BTN_RIGHT resize-view for i in $(seq 1 9) do - tagmask=$((1 << ($i - 1))) + tags=$((1 << ($i - 1))) # Mod+[1-9] to focus tag [0-8] - riverctl map normal $mod $i set-focused-tags $tagmask + riverctl map normal $mod $i set-focused-tags $tags # Mod+Shift+[1-9] to tag focused view with tag [0-8] - riverctl map normal $mod+Shift $i set-view-tags $tagmask + riverctl map normal $mod+Shift $i set-view-tags $tags # Mod+Ctrl+[1-9] to toggle focus of tag [0-8] - riverctl map normal $mod+Control $i toggle-focused-tags $tagmask + riverctl map normal $mod+Control $i toggle-focused-tags $tags # Mod+Shift+Ctrl+[1-9] to toggle tag [0-8] of focused view - riverctl map normal $mod+Shift+Control $i toggle-view-tags $tagmask + riverctl map normal $mod+Shift+Control $i toggle-view-tags $tags done # Mod+0 to focus all tags # Mod+Shift+0 to tag focused view with all tags -all_tags_mask=$(((1 << 32) - 1)) -riverctl map normal $mod 0 set-focused-tags $all_tags_mask -riverctl map normal $mod+Shift 0 set-view-tags $all_tags_mask +all_tags=$(((1 << 32) - 1)) +riverctl map normal $mod 0 set-focused-tags $all_tags +riverctl map normal $mod+Shift 0 set-view-tags $all_tags # Mod+Space to toggle float riverctl map normal $mod Space toggle-float |
