summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-02 10:52:48 +0000
committerPhil Jones <philj56@gmail.com>2021-11-02 10:52:48 +0000
commit06abc015b39e0338bab88367f30d2439c4c7d41c (patch)
tree85cbc57b66e920be43b3b627d8b1eb9eec3f1d24 /completions
parent5695f1993b337bdfbaec6e30557778a33ea1068a (diff)
Add option to hide the cursor.
Diffstat (limited to 'completions')
-rw-r--r--completions/greetd-mini-wl-greeter10
1 files changed, 8 insertions, 2 deletions
diff --git a/completions/greetd-mini-wl-greeter b/completions/greetd-mini-wl-greeter
index 246e840..be5a7b1 100644
--- a/completions/greetd-mini-wl-greeter
+++ b/completions/greetd-mini-wl-greeter
@@ -13,7 +13,7 @@ _greetd_mini_wl_greeter()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="--background-image --background-color --border-width --border-color --outline-width --outline-color --entry-padding --entry-color --text-color --font-name --font-size --password-character --command --user --width-characters --wide-layout"
+ opts="--background-image --background-color --border-width --border-color --outline-width --outline-color --entry-padding --entry-color --text-color --font-name --font-size --password-character --command --user --width-characters --wide-layout --hide-cursor --help"
case "${prev}" in
@@ -30,7 +30,13 @@ _greetd_mini_wl_greeter()
fi
return 0
;;
- --?[^w]*)
+ --wide-layout|-w)
+ ;& # Fallthrough
+ --hide-cursor|-H)
+ ;& # Fallthrough
+ --help|-h)
+ ;;
+ *)
return 0
;;
esac