Rearrange themes
|
Before Width: | Height: | Size: 645 KiB After Width: | Height: | Size: 645 KiB |
5
themes/catppuccin/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="1579044"
|
||||
CHROME_COLOR_SCHEME=2
|
||||
CHROME_COLOR_VARIANT=1
|
||||
CHROME_BACKGROUND="catppuccin/background.png"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/catppuccin/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="magenta"
|
||||
OMAKUB_THEME_BACKGROUND="catppuccin/background.png"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/catppuccin/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Catppuccin Macchiato"
|
||||
VSC_EXTENSION="Catppuccin.catppuccin-vsc"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 1579044' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/catppuccintotoro.png?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -7829368' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/fog_forest_2.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -8847616' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/ferns-green.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 6632704' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/kanagawa.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = 5002858' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/nord_scenary.png?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = -65281' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/simple-pastel-by-triarts-from-freepik.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
@@ -1,5 +0,0 @@
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 3094106' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/80s-retro-tropical-sunset-by-freepik.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
|
Before Width: | Height: | Size: 882 KiB After Width: | Height: | Size: 882 KiB |
5
themes/everforest/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="-7829368"
|
||||
CHROME_COLOR_SCHEME=2
|
||||
CHROME_COLOR_VARIANT=2
|
||||
CHROME_BACKGROUND="everforest/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/everforest/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="bark"
|
||||
OMAKUB_THEME_BACKGROUND="everforest/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/everforest/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Everforest Dark"
|
||||
VSC_EXTENSION="sainnhe.everforest"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="magenta"
|
||||
OMAKUB_THEME_BACKGROUND="catppuccintotoro.png"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="bark"
|
||||
OMAKUB_THEME_BACKGROUND="fog_forest_2.jpg"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="sage"
|
||||
OMAKUB_THEME_BACKGROUND="ferns-green.jpg"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="purple"
|
||||
OMAKUB_THEME_BACKGROUND="kanagawa.jpg"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="blue"
|
||||
OMAKUB_THEME_BACKGROUND="nord_scenary.png"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
@@ -1,4 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="red"
|
||||
OMAKUB_THEME_BACKGROUND="simple-pastel-by-triarts-from-freepik.jpg"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
@@ -1,3 +0,0 @@
|
||||
OMAKUB_THEME_COLOR="purple"
|
||||
OMAKUB_THEME_BACKGROUND="80s-retro-tropical-sunset-by-freepik.jpg"
|
||||
source $OMAKUB_PATH/themes/gnome/_set-gnome-theme.sh
|
||||
|
Before Width: | Height: | Size: 925 KiB After Width: | Height: | Size: 925 KiB |
5
themes/gruvbox/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="-8847616"
|
||||
CHROME_COLOR_SCHEME=2
|
||||
CHROME_COLOR_VARIANT=2
|
||||
CHROME_BACKGROUND="gruvbox/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/gruvbox/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="sage"
|
||||
OMAKUB_THEME_BACKGROUND="gruvbox/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/gruvbox/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Gruvbox Dark Medium"
|
||||
VSC_EXTENSION="jdinhlife.gruvbox"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
5
themes/kanagawa/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="6632704"
|
||||
CHROME_COLOR_SCHEME=1
|
||||
CHROME_COLOR_VARIANT=1
|
||||
CHROME_BACKGROUND="kanagawa/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/kanagawa/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="purple"
|
||||
OMAKUB_THEME_BACKGROUND="kanagawa/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/kanagawa/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Kanagawa"
|
||||
VSC_EXTENSION="qufiwefefwoyn.kanagawa"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
|
Before Width: | Height: | Size: 800 KiB After Width: | Height: | Size: 800 KiB |
5
themes/nord/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="5002858"
|
||||
CHROME_COLOR_SCHEME=2
|
||||
CHROME_COLOR_VARIANT=2
|
||||
CHROME_BACKGROUND="nord/background.png"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/nord/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="blue"
|
||||
OMAKUB_THEME_BACKGROUND="nord/background.png"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/nord/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Nord"
|
||||
VSC_EXTENSION="arcticicestudio.nord-visual-studio-code"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
5
themes/rose-pine/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="-65281"
|
||||
CHROME_COLOR_SCHEME=1
|
||||
CHROME_COLOR_VARIANT=1
|
||||
CHROME_BACKGROUND="rose-pine/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
4
themes/rose-pine/gnome.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
OMAKUB_THEME_COLOR="red"
|
||||
OMAKUB_THEME_BACKGROUND="rose-pine/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
3
themes/rose-pine/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Rosé Pine Dawn"
|
||||
VSC_EXTENSION="mvllow.rose-pine"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||
16
themes/set-chrome-theme.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
# Chrome theme update
|
||||
if gum confirm "Do you want to update Chrome theme? If yes, Chrome will be restarted!"; then
|
||||
pkill -f chrome
|
||||
|
||||
while pgrep -f chrome >/dev/null; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
cd ~/.config/google-chrome/Default
|
||||
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq ".browser.theme.color_scheme = $CHROME_COLOR_SCHEME | .browser.theme.color_variant = $CHROME_COLOR_VARIANT | .browser.theme.user_color = $CHROME_COLOR" Preferences >tmp.json && mv tmp.json Preferences
|
||||
jq ".ntp += {\"custom_background_dict\":{\"background_url\": \"https://github.com/basecamp/omakub/blob/master/themes/$CHROME_BACKGROUND?raw=true\"}}" Preferences >tmp.json && mv tmp.json Preferences
|
||||
cd ~
|
||||
|
||||
google-chrome >/dev/null 2>&1 &
|
||||
fi
|
||||
@@ -3,9 +3,9 @@ gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Yaru-$OMAKUB_THEME_COLOR-dark"
|
||||
gsettings set org.gnome.desktop.interface icon-theme "Yaru-$OMAKUB_THEME_COLOR"
|
||||
|
||||
BACKGROUND_ORG_PATH="$HOME/.local/share/omakub/backgrounds/$OMAKUB_THEME_BACKGROUND"
|
||||
BACKGROUND_ORG_PATH="$HOME/.local/share/omakub/themes/$OMAKUB_THEME_BACKGROUND"
|
||||
BACKGROUND_DEST_DIR="$HOME/.local/share/backgrounds"
|
||||
BACKGROUND_DEST_PATH="$BACKGROUND_DEST_DIR/$OMAKUB_THEME_BACKGROUND"
|
||||
BACKGROUND_DEST_PATH="$BACKGROUND_DEST_DIR/$(echo $OMAKUB_THEME_BACKGROUND | tr '/' '-')"
|
||||
|
||||
if [ ! -d "$BACKGROUND_DEST_DIR" ]; then mkdir -p "$BACKGROUND_DEST_DIR"; fi
|
||||
|
||||
2
themes/set-vscode-theme.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
code --install-extension $VSC_EXTENSION >/dev/null
|
||||
sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json
|
||||
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
5
themes/tokyo-night/chrome.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
CHROME_COLOR="3094106"
|
||||
CHROME_COLOR_SCHEME=2
|
||||
CHROME_COLOR_VARIANT=1
|
||||
CHROME_BACKGROUND="tokyo-night/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-chrome-theme.sh
|
||||
3
themes/tokyo-night/gnome.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
OMAKUB_THEME_COLOR="purple"
|
||||
OMAKUB_THEME_BACKGROUND="tokyo-night/background.jpg"
|
||||
source $OMAKUB_PATH/themes/set-gnome-theme.sh
|
||||
3
themes/tokyo-night/vscode.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
VSC_THEME="Tokyo Night"
|
||||
VSC_EXTENSION="enkia.tokyo-night"
|
||||
source $OMAKUB_PATH/themes/set-vscode-theme.sh
|
||||