summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorAlexander Martin <10480820+afmartin@users.noreply.github.com>2019-08-03 19:07:50 -0600
committerBrian Ashworth <bosrsf04@gmail.com>2019-08-04 02:15:49 -0400
commit666ae950bc9c58b2676724e0d614f9018100fcca (patch)
tree47b6c2153e997c0c084387421188f8a42d121238 /completions
parent080e8356b7c4a442985b7c7fcaddcbe2a950a3c0 (diff)
Adds option to show indicator even if idle
Diffstat (limited to 'completions')
-rw-r--r--completions/fish/swaylock.fish1
-rw-r--r--completions/zsh/_swaylock1
2 files changed, 2 insertions, 0 deletions
diff --git a/completions/fish/swaylock.fish b/completions/fish/swaylock.fish
index 99dff48..b00f374 100644
--- a/completions/fish/swaylock.fish
+++ b/completions/fish/swaylock.fish
@@ -15,6 +15,7 @@ complete -c swaylock -s t -l tiling --description "Same as --scaling=tile."
complete -c swaylock -s c -l color --description "Turn the screen into the given color. If -i is used, this sets the background of the image into the given color. Defaults to white (ffffff), or transparent (00000000) if an image is in use."
complete -c swaylock -l bs-hl-color --description 'Sets the color of backspace highlight segments.'
complete -c swaylock -l font --description 'Sets the font of the text inside the indicator.'
+complete -c swaylock -l indicator-idle-visible --description 'Sets the indicator to show even if idle.'
complete -c swaylock -l indicator-radius --description 'Sets the radius of the indicator to radius pixels. Default: 50'
complete -c swaylock -l indicator-thickness --description 'Sets the thickness of the indicator to thickness pixels. Default: 10'
complete -c swaylock -l inside-color --description 'Sets the color of the inside of the indicator when typing or idle.'
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock
index 9bc84ec..af1bb09 100644
--- a/completions/zsh/_swaylock
+++ b/completions/zsh/_swaylock
@@ -16,6 +16,7 @@ _arguments -s \
'(-v --version)'{-v,--version}'[Show the version number and quit]' \
'(--bs-hl-color)'--bs-hl-color'[Sets the color of backspace highlights segments]:color:' \
'(--font)'--font'[Sets the font of the text]:font:' \
+ '(--indicator-idle-visible)'--indicator-idle-visible'[Sets the indicator to show even if idle]' \
'(--indicator-radius)'--indicator-radius'[Sets the indicator radius]:radius:' \
'(--indicator-thickness)'--indicator-thickness'[Sets the indicator thickness]:thickness:' \
'(--inside-color)'--inside-color'[Sets the color of the inside of the indicator]:color:' \