Finish gruvbox theme

This commit is contained in:
David Heinemeier Hansson 2024-06-03 12:58:45 -07:00
parent dfcfade274
commit 087a9e331c
5 changed files with 31 additions and 0 deletions

BIN
backgrounds/ferns-green.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 KiB

View File

@ -2,3 +2,10 @@
set -e
# Pick a preconfigured theme
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!"

9
themes/gnome/gruvbox.sh Normal file
View File

@ -0,0 +1,9 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-sage-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-sage'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$OMAKUB_PATH/backgrounds/ferns-green.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

15
themes/zellij/gruvbox.kdl Normal file
View File

@ -0,0 +1,15 @@
themes {
gruvbox {
fg "#d5c4a1"
bg "#282828"
black "#3c3836"
red "#cc241d"
green "#98971a"
yellow "#d79921"
blue "#3c8588"
magenta "#b16286"
cyan "#689d6a"
white "#fbf1c7"
orange "#d65d0e"
}
}