aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authornovakane <mail@novakane.xyz>2021-08-12 16:16:23 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-08-19 12:58:52 +0000
commite59c2a73d72853cb54f55eecc446f337c94cda24 (patch)
treef466b1cb205888e9bc76f5e5d6a254ad0611673e /completions
parente9bfc5251eb0cc80678860d2b0cac0beb82c750b (diff)
downloadriver-e59c2a73d72853cb54f55eecc446f337c94cda24.tar.gz
river-e59c2a73d72853cb54f55eecc446f337c94cda24.tar.xz
river: implement xdg-activation-v1
- add a new "urgent" border color - add a new event to river-status-unstable-v1 Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl1
-rw-r--r--completions/fish/riverctl.fish3
-rw-r--r--completions/zsh/_riverctl1
3 files changed, 4 insertions, 1 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 3475386..dd18ac5 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -39,6 +39,7 @@ function __riverctl_completion ()
background-color \
border-color-focused \
border-color-unfocused \
+ border-color-urgent \
border-width \
focus-follows-cursor \
set-repeat \
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 88be779..c0112c1 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -4,7 +4,7 @@ end
function __fish_riverctl_complete_no_subcommand
for i in (commandline -opc)
- if contains -- $i close csd-filter-add exit float-filter-add focus-output focus-view input list-inputs list-input-configs move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom default-layout output-layout send-layout-cmd set-focused-tags set-view-tags toggle-focused-tags toggle-view-tags spawn-tagmask declare-mode enter-mode map map-pointer unmap unmap-pointer attach-mode background-color border-color-focused border-color-unfocused border-width focus-follows-cursor set-repeat set-cursor-warp xcursor-theme
+ if contains -- $i close csd-filter-add exit float-filter-add focus-output focus-view input list-inputs list-input-configs move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom default-layout output-layout send-layout-cmd set-focused-tags set-view-tags toggle-focused-tags toggle-view-tags spawn-tagmask declare-mode enter-mode map map-pointer unmap unmap-pointer attach-mode background-color border-color-focused border-color-unfocused border-color-urgent border-width focus-follows-cursor set-repeat set-cursor-warp xcursor-theme
return 1
end
end
@@ -76,6 +76,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a attach-mo
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a background-color -d 'Set the background color'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-color-focused -d 'Set the border color of focused views'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-color-unfocused -d 'Set the border color of unfocused views'
+complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-color-urgent -d 'Set the border color of urgent views'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-width -d 'Set the border width to pixels'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a focus-follows-cursor -d 'Configure the focus behavior when moving cursor'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-repeat -d 'Set the keyboard repeat rate and repeat delay'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index d782340..1c7034a 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -45,6 +45,7 @@ _riverctl_subcommands()
'background-color:Set the background color'
'border-color-focused:Set the border color of focused views'
'border-color-unfocused:Set the border color of unfocused views'
+ 'border-color-urgent:Set the border color of urgent views'
'border-width:Set the border width to pixels'
'focus-follows-cursor:Configure the focus behavior when moving cursor'
'set-repeat:Set the keyboard repeat rate and repeat delay'