feat: better handles (#70)
Some checks are pending
quality / changes (push) Waiting to run
quality / Flake Check (push) Blocked by required conditions
quality / Nix Format Check (push) Blocked by required conditions
quality / Deploy netty (push) Blocked by required conditions

This commit is contained in:
Hari 2026-04-08 16:38:20 -04:00 committed by GitHub
parent af19b1e78b
commit c84611bdf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 129 additions and 37 deletions

View file

@ -1,5 +1,5 @@
usage() {
echo "usage: theme <dark|light|toggle|gen>"
echo "usage: theme <dark|light|toggle|current|gen>"
}
read_mode() {
@ -110,7 +110,7 @@ EOF
)
}
mode="${1:-}"
mode="${1:-current}"
case "$mode" in
dark|light)
@ -122,6 +122,10 @@ case "$mode" in
mode="dark"
fi
;;
current)
read_mode
exit 0
;;
gen)
wallpaper-gen
set_wallpaper