From e59c2a73d72853cb54f55eecc446f337c94cda24 Mon Sep 17 00:00:00 2001 From: novakane Date: Thu, 12 Aug 2021 16:16:23 +0200 Subject: 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 --- completions/bash/riverctl | 1 + completions/fish/riverctl.fish | 3 ++- completions/zsh/_riverctl | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'completions') 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' -- cgit v1.2.3