sunhat/bin/omakub-theme

12 lines
476 B
Plaintext
Raw Normal View History

2024-05-27 18:46:33 -05:00
#!/bin/bash
set -e
# Pick a preconfigured theme
2024-06-03 14:58:45 -05:00
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
source $OMAKUB_PATH/themes/gnome/$THEME.sh
cp $OMAKUB_PATH/themes/neovim/$THEME.lua ~/.config/nvim/lua/plugins/theme.lua
cp $OMAKUB_PATH/themes/alacritty/$THEME.toml ~/.config/alacritty/theme.toml
sed -i "s/theme \"\(.*\)\"/theme \"$THEME\"/g" ~/.config/zellij/config.kdl
echo "Restart your terminal to enjoy the new look!"