mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-07 07:49:30 -05:00
gen-scheme: fix arg parsing
This commit is contained in:
@@ -23,8 +23,7 @@ set -l src (dirname (status filename))
|
||||
|
||||
if test "$argv[1]" = --theme
|
||||
set theme $argv[2]
|
||||
set -e argv[1]
|
||||
set -e argv[2]
|
||||
set -e argv[1..2]
|
||||
end
|
||||
|
||||
test -f "$argv[1]" && set -l img "$argv[1]" || set -l img $C_STATE/wallpaper/current
|
||||
|
||||
Reference in New Issue
Block a user