Skip to content

Commit 431cc8b

Browse files
authored
Merge pull request basecamp#134 from MislavPukljak/fix/chrome-theme-first-time
chrome didn't change theme first time after installation
2 parents 290b2c7 + cb80b1f commit 431cc8b

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

themes/chrome/catppuccin.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 1579044' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/everforest.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -7829368' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/gruvbox.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -8847616' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/kanagawa.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 6632704' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/nord.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = 5002858' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/rose-pine.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = -65281' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

themes/chrome/tokyo-night.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cd ~/.config/google-chrome/Default
2+
jq '.extensions.theme += {"id": "user_color_theme_id", "system_theme": 0}' Preferences >tmp.json && mv tmp.json Preferences
23
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 3094106' Preferences >tmp.json && mv tmp.json Preferences
34
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
45
cd ~

0 commit comments

Comments
 (0)