aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorViktor Nagy <viktor.nagy@01people.com>2021-07-07 08:51:00 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-07-15 12:00:22 +0000
commit28fc8792d7929a6cd273b0ee78137097dc1e245a (patch)
tree071fe8b495fa52dc509aded247bf4a138f280c48 /completions
parent604cf9804722966f09060f1421d2e97c7c2fb80e (diff)
downloadriver-28fc8792d7929a6cd273b0ee78137097dc1e245a.tar.gz
river-28fc8792d7929a6cd273b0ee78137097dc1e245a.tar.xz
river: add focus-previous-tags command
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl1
-rw-r--r--completions/fish/riverctl.fish1
-rw-r--r--completions/zsh/_riverctl1
3 files changed, 3 insertions, 0 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 6c5a52f..4dec1c5 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -25,6 +25,7 @@ function __riverctl_completion ()
set-layout-value \
mod-layout-value \
set-focused-tags \
+ focus-previous-tags \
set-view-tags \
toggle-focused-tags \
toggle-view-tags \
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index de8a5d9..eca0c25 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -64,6 +64,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-view-
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a toggle-focused-tags -d 'Toggle visibility of views with tags corresponding to the set bits of tags'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a toggle-view-tags -d 'Toggle the tags of the currently focused view'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a spawn-tagmask -d 'Set a tagmask to filter the tags assigned to newly spawned views on the focused output'
+complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a focus-previous-tags -d 'Sets tags to their previous value on the focused output'
# Mappings
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a declare-mode -d 'Create a new mode'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a enter-mode -d 'Switch to given mode if it exists'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index a39aa0e..e7fdaa2 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -33,6 +33,7 @@ _riverctl_subcommands()
'toggle-focused-tags:Toggle visibility of views with tags corresponding to the set bits of tags'
'toggle-view-tags:Toggle the tags of the currently focused view'
'spawn-tagmask:Set a tagmask to filter the tags assigned to newly spawned views on the focused output'
+ 'focus-previous-tags:Sets tags to their previous value on the focused output'
# Mappings
'declare-mode:Create a new mode'
'enter-mode:Switch to given mode if it exists'