diff --git a/bin/omakub-theme b/bin/omakub-theme index 9a71059..5eda94c 100644 --- a/bin/omakub-theme +++ b/bin/omakub-theme @@ -4,6 +4,8 @@ set -e # Pick a preconfigured theme THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" --height 5 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g') +[ ! -n "$THEME" ] && exit 0 + # Install theme in Gnome, Terminal, and both default editors source $OMAKUB_PATH/themes/gnome/$THEME.sh cp $OMAKUB_PATH/themes/alacritty/$THEME.toml ~/.config/alacritty/theme.toml