diff --git a/backgrounds/nord_scenary.png b/backgrounds/nord_scenary.png new file mode 100644 index 0000000..0152fa6 Binary files /dev/null and b/backgrounds/nord_scenary.png differ diff --git a/bin/omakub-theme b/bin/omakub-theme index f195b74..8f6840e 100644 --- a/bin/omakub-theme +++ b/bin/omakub-theme @@ -1,5 +1,5 @@ # Pick a preconfigured theme -THEME=$(gum choose "Tokyo Night" "Catppuccin" "Everforest" "Gruvbox" "Rose Pine" --header "Choose your theme" --height 7 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g') +THEME=$(gum choose "Tokyo Night" "Catppuccin" "Everforest" "Gruvbox" "Nord" "Rose Pine" --header "Choose your theme" --height 8 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g') [ ! -n "$THEME" ] && exit 0 @@ -11,16 +11,25 @@ sed -i "s/theme \".*\"/theme \"$THEME\"/g" ~/.config/zellij/config.kdl # Translate to specific VSC theme name if [ "$THEME" == "gruvbox" ]; then - VSC_THEME="Gruvbox Dark Medium" + VSC_THEME="Gruvbox Dark Medium" + VSC_EXTENSION="jdinhlife.gruvbox" elif [ "$THEME" == "catppuccin" ]; then - VSC_THEME="Catppuccin Macchiato" + VSC_THEME="Catppuccin Macchiato" + VSC_EXTENSION="Catppuccin.catppuccin-vsc" elif [ "$THEME" == "tokyo-night" ]; then - VSC_THEME="Tokyo Night" + VSC_THEME="Tokyo Night" + VSC_EXTENSION="enkia.tokyo-night" elif [ "$THEME" == "everforest" ]; then - VSC_THEME="Everforest Dark" + VSC_THEME="Everforest Dark" + VSC_EXTENSION="sainnhe.everforest" elif [ "$THEME" == "rose-pine" ]; then - VSC_THEME="Rosé Pine Dawn" + VSC_THEME="Rosé Pine Dawn" + VSC_EXTENSION="mvllow.rose-pine" +elif [ "$THEME" == "nord" ]; then + VSC_THEME="Nord" + VSC_EXTENSION="arcticicestudio.nord-visual-studio-code" fi +code --install-extension $VSC_EXTENSION > /dev/null sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json echo "Restart your terminal for a full theme change (Super + W, then start again with Alt + 2)" diff --git a/install/app-vscode.sh b/install/app-vscode.sh index 35cd74b..9e6b3b2 100644 --- a/install/app-vscode.sh +++ b/install/app-vscode.sh @@ -9,7 +9,3 @@ cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json # Install default supported themes code --install-extension enkia.tokyo-night -code --install-extension jdinhlife.gruvbox -code --install-extension Catppuccin.catppuccin-vsc -code --install-extension mvllow.rose-pine -code --install-extension sainnhe.everforest diff --git a/themes/alacritty/nord.toml b/themes/alacritty/nord.toml new file mode 100644 index 0000000..4a08789 --- /dev/null +++ b/themes/alacritty/nord.toml @@ -0,0 +1,47 @@ +[colors] +[colors.primary] +background = "#2e3440" +foreground = "#d8dee9" +dim_foreground = "#a5abb6" + +[colors.cursor] +text = "#2e3440" +cursor = "#d8dee9" + +[colors.vi_mode_cursor] +text = "#2e3440" +cursor = "#d8dee9" + +[colors.selection] +text = "CellForeground" +background = "#4c566a" + +[colors.normal] +black = "#3b4252" +red = "#bf616a" +green = "#a3be8c" +yellow = "#ebcb8b" +blue = "#81a1c1" +magenta = "#b48ead" +cyan = "#88c0d0" +white = "#e5e9f0" + +[colors.bright] +black = "#4c566a" +red = "#bf616a" +green = "#a3be8c" +yellow = "#ebcb8b" +blue = "#81a1c1" +magenta = "#b48ead" +cyan = "#8fbcbb" +white = "#eceff4" + +[colors.dim] +black = "#373e4d" +red = "#94545d" +green = "#809575" +yellow = "#b29e75" +blue = "#68809a" +magenta = "#8c738c" +cyan = "#6d96a5" +white = "#aeb3bb" diff --git a/themes/gnome/nord.sh b/themes/gnome/nord.sh new file mode 100644 index 0000000..032e202 --- /dev/null +++ b/themes/gnome/nord.sh @@ -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-blue-dark' +gsettings set org.gnome.desktop.interface icon-theme 'Yaru-blue' + +OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/nord_scenary.png" +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' diff --git a/themes/neovim/nord.lua b/themes/neovim/nord.lua new file mode 100644 index 0000000..fc2254e --- /dev/null +++ b/themes/neovim/nord.lua @@ -0,0 +1,9 @@ +return { + { "shaunsingh/nord.nvim" }, + { + "LazyVim/LazyVim", + opts = { + colorscheme = "nord", + }, + }, +} diff --git a/themes/zellij/nord.kdl b/themes/zellij/nord.kdl new file mode 100644 index 0000000..c82b464 --- /dev/null +++ b/themes/zellij/nord.kdl @@ -0,0 +1,15 @@ +themes { + nord { + fg "#D8DEE9" + bg "#2E3440" + black "#3B4252" + red "#BF616A" + green "#A3BE8C" + yellow "#EBCB8B" + blue "#81A1C1" + magenta "#B48EAD" + cyan "#88C0D0" + white "#E5E9F0" + orange "#D08770" + } +}