aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-07-15 13:39:20 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-07-20 08:47:02 +0000
commit96e1082156f8606f74c2414f7d7decf1ab6bbcda (patch)
tree13a9c33aea96b9733926d1c562f65a81df155f08 /completions
parentb6212ba972f7e69c5e4296ab66367754af1348cd (diff)
downloadriver-96e1082156f8606f74c2414f7d7decf1ab6bbcda.tar.gz
river-96e1082156f8606f74c2414f7d7decf1ab6bbcda.tar.xz
river: remove opacity command
This code is complex and increases maintenance burden but doesn't add any functionality, only eye-candy. Futhermore, neither I nor any of the core contributors use it. There may be a place in river for such eye-candy down the line, in which case this code could be revived. Currently river is early enough in its development that our focus should be on core functionality instead.
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, 1 insertions, 4 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 4dec1c5..a0a429e 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -42,7 +42,6 @@ function __riverctl_completion ()
border-color-unfocused \
border-width \
focus-follows-cursor \
- opacity \
set-repeat \
set-cursor-warp \
xcursor-theme"
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index eca0c25..d9bb475 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 set-layout-value mod-layout-value 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 opacity 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 set-layout-value mod-layout-value 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
return 1
end
end
@@ -79,7 +79,6 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-co
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-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 opacity -d 'Configure server-side opacity of views'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-repeat -d 'Set the keyboard repeat rate and repeat delay'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-cursor-warp -d 'Set the cursor warp mode.'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a xcursor-theme -d 'Set the xcursor theme'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index e7fdaa2..625964b 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -48,7 +48,6 @@ _riverctl_subcommands()
'border-color-unfocused:Set the border color of unfocused views'
'border-width:Set the border width to pixels'
'focus-follows-cursor:Configure the focus behavior when moving cursor'
- 'opacity:Configure server-side opacity of views'
'set-repeat:Set the keyboard repeat rate and repeat delay'
'set-cursor-warp:Set the cursor warp mode.'
'xcursor-theme:Set the xcursor theme'