feat: improve theme generation
This commit is contained in:
@@ -30,9 +30,7 @@ fi
|
||||
# │ System config file │
|
||||
# └ ┘
|
||||
# (currently only env)
|
||||
confirmation=""
|
||||
read -p "Also install the system-wide environment file? (y/N) " confirmation
|
||||
if [[ "$confirmation" == "y" ]]; then
|
||||
if [[ "$2" == "sys" ]]; then
|
||||
sudo cp ./system/environment /etc/environment
|
||||
fi
|
||||
|
||||
@@ -58,7 +56,7 @@ cp ./linters/indentconfig_import.yaml ~/.indentconfig.yaml
|
||||
# If no image is specified, then the previous one is used
|
||||
# If no image was used previously and none is specified, an error is raised
|
||||
if [[ -n $1 ]]; then
|
||||
matugen image --prefer value $1
|
||||
matugen image --prefer closest-to-fallback --fallback-color "#0000FF" --type scheme-smart $1
|
||||
mkdir ~/.local/state/janishutz &> /dev/null || true
|
||||
echo "$1" >~/.local/state/janishutz/imgcache
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user