Protect against ctrl-c
This commit is contained in:
parent
851014f231
commit
90f49554df
@ -4,6 +4,8 @@ set -e
|
|||||||
# Pick a preconfigured theme
|
# Pick a preconfigured theme
|
||||||
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" --height 5 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
|
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
|
# Install theme in Gnome, Terminal, and both default editors
|
||||||
source $OMAKUB_PATH/themes/gnome/$THEME.sh
|
source $OMAKUB_PATH/themes/gnome/$THEME.sh
|
||||||
cp $OMAKUB_PATH/themes/alacritty/$THEME.toml ~/.config/alacritty/theme.toml
|
cp $OMAKUB_PATH/themes/alacritty/$THEME.toml ~/.config/alacritty/theme.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user