92 Commits

Author SHA1 Message Date
vinceliuice
b9f3d52000 Fixed issues 2024-11-16 22:06:44 +08:00
vinceliuice
18a308ba41 Fixed #198 2024-11-12 18:47:46 +08:00
vinceliuice
2ef8de7aa6 update 2024-10-29 22:59:33 +08:00
vinceliuice
2a4e21ec5e Update #201 2024-10-28 11:27:19 +08:00
vinceliuice
82424c0ba7 Fixed #201 2024-10-27 20:36:33 +08:00
vinceliuice
8ebb9b1fb3 Update install.sh 2024-10-19 15:46:13 +08:00
vinceliuice
85d421879e update 2024-10-13 01:47:30 +08:00
vinceliuice
1b3b2b4cfa update #201 2024-10-12 23:37:43 +08:00
vinceliuice
21b358c999 Fixed #201 2024-10-12 21:00:44 +08:00
vinceliuice
64ebafe93f Fixed #201 2024-10-12 18:51:13 +08:00
vinceliuice
72a05a46f0 Fixed issues 2024-10-09 11:27:12 +08:00
vinceliuice
d269edf9af Fixed #194 2024-09-08 19:19:01 +08:00
vinceliuice
3f82c6cfb7 Fixed gnome app issues 2024-09-07 19:20:30 +08:00
vinceliuice
d0267bc067 Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme 2024-09-05 20:53:38 +08:00
vinceliuice
b63b2877cc update 2024-09-05 20:53:33 +08:00
Vince
1674b62989 Merge pull request #193 from aedans-womp/patch-1
Update _switcher-popup.scss
2024-09-05 12:41:42 +08:00
aedans-womp
4794d23095 Update _switcher-popup.scss 2024-09-04 19:49:10 -07:00
vinceliuice
654adcba00 Update _common-3.0.scss 2024-08-29 19:28:47 +08:00
vinceliuice
809c7b9bac update 2024-08-29 12:47:35 +08:00
vinceliuice
e96fbba972 Update .gitignore 2024-08-29 12:40:06 +08:00
vinceliuice
8ae5599105 update 2024-08-29 12:39:42 +08:00
vinceliuice
c7ab1fe321 Fixed #185 2024-08-29 12:26:49 +08:00
vinceliuice
e3e3910bc6 Update install.sh 2024-08-21 11:29:41 +08:00
vinceliuice
224c3fa38c Fixed #190 2024-08-21 11:25:48 +08:00
vinceliuice
236b905ac8 Fixed #189 2024-08-20 09:58:09 +08:00
vinceliuice
482c350d5a Fixed #187 2024-08-18 10:44:25 +08:00
vinceliuice
8889f151b0 Fixed #182 2024-08-08 11:30:02 +08:00
vinceliuice
7523e1e0ce update 2024-08-07 19:29:13 +08:00
vinceliuice
d835a32978 update 2024-08-07 01:48:14 +08:00
vinceliuice
9188989210 update 2024-07-31 22:54:27 +08:00
vinceliuice
f75b986e9a update 2024-07-19 23:11:22 +08:00
vinceliuice
f0165c865d update 2024-07-19 22:52:20 +08:00
vinceliuice
2a9bad109d update 2024-07-19 22:39:22 +08:00
Vince
c4cf73e4cf Merge pull request #175 from shadow-absorber/xdg-base-dir
fixes XDG_BASE_DIR support again
2024-07-09 22:03:51 +08:00
sam tunder
7b40c005d8 fixes XDG_BASE_DIR support again
If root, install system-wide
If XDG declared, use that
If .local/share/themes exists, use that
Otherwise use ~/.themes
2024-07-08 19:22:45 +02:00
vinceliuice
1ae1f803db update 2024-07-09 01:16:09 +08:00
vinceliuice
75a0cb7c29 Update install.sh 2024-07-08 12:48:16 +08:00
vinceliuice
60b9954c5b Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme 2024-07-08 12:44:50 +08:00
vinceliuice
177bb20528 Update _nemo.scss 2024-07-08 12:44:44 +08:00
Vince
6e823240b3 Merge pull request #173 from shadow-absorber/xdg-base-dir
add xdg_base_dir support placing theme in appropiate folder.
2024-07-08 12:41:20 +08:00
sam tunder
3f460e5b46 add xdg_base_dir support placing theme in appropiate folder. 2024-07-05 18:41:39 +02:00
vinceliuice
73184229f5 update 2024-06-26 00:10:56 +08:00
vinceliuice
dfff1a7817 update 2024-06-22 00:46:05 +08:00
vinceliuice
686fe61569 Update _color-palette-default.scss 2024-06-21 18:41:19 +08:00
vinceliuice
57f10cc353 Fixed #168 2024-06-20 21:04:15 +08:00
vinceliuice
a21570fdab update 2024-06-18 13:26:16 +08:00
vinceliuice
832fa2600b Fixed #165 2024-06-18 11:32:20 +08:00
vinceliuice
c50f1024c8 Fixed #166 2024-06-18 11:24:39 +08:00
vinceliuice
e23c79601c update 2024-06-16 01:32:59 +08:00
vinceliuice
aed576b4dc Update README.md 2024-06-15 23:55:33 +08:00
vinceliuice
9ffb38b5a1 Fixed #167
Add catppuccin colorschemes version
2024-06-15 23:52:19 +08:00
vinceliuice
b00d256e59 update 2024-06-10 01:06:38 +08:00
vinceliuice
a5e8268d08 Fixed issues 2024-06-10 01:04:43 +08:00
vinceliuice
1a13048ea1 Fixed #164 2024-05-18 22:51:49 +08:00
vinceliuice
53fb42660f update 2024-05-14 00:42:15 +08:00
vinceliuice
0eac8ce60e Fixed #163 2024-05-13 23:42:22 +08:00
vinceliuice
ab47b98069 update 2024-05-13 05:51:11 +08:00
vinceliuice
9d70919f34 update 2024-05-13 05:36:14 +08:00
vinceliuice
bbbda97b78 update 2024-05-12 18:11:41 +08:00
vinceliuice
fff397c3ce update 2024-05-12 12:42:01 +08:00
vinceliuice
b3ad57757f Update #162 2024-05-12 00:28:32 +08:00
vinceliuice
2b1365a95e update 2024-05-10 09:12:17 +08:00
Vince
b7f351494b Merge pull request #160 from nclslbrn/main
fix missing titlebar color on GTK2
2024-05-03 06:36:19 +08:00
Nicolas Lebrun
d3479f862e fix missing titlebar color on GTK2 2024-05-02 19:41:17 +02:00
vinceliuice
9cbd9f45a2 Fixede #158 2024-05-01 08:52:55 +08:00
vinceliuice
8ce956f350 update 2024-04-30 16:03:24 +08:00
vinceliuice
c0467e2199 Fixed #157 2024-04-30 15:45:47 +08:00
vinceliuice
65fe4fba14 Update install.sh 2024-04-29 20:31:06 +08:00
vinceliuice
769a3aad76 Update #154 2024-04-29 11:55:24 +08:00
vinceliuice
d0c60dcd41 Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme 2024-04-29 07:42:41 +08:00
vinceliuice
5210660f98 Fixed #137 2024-04-29 07:42:36 +08:00
Vince
d1d44027d5 Update README.md 2024-04-29 07:35:52 +08:00
vinceliuice
4f99530a93 Fixed #140 2024-04-29 07:28:36 +08:00
vinceliuice
39abeeeb03 update 2024-04-29 04:41:33 +08:00
vinceliuice
be6d0999c5 Fixed #144 2024-04-29 04:23:18 +08:00
vinceliuice
9aad146b6c update 2024-04-29 04:02:26 +08:00
Vince
a307a45682 Update README.md 2024-04-29 04:00:44 +08:00
Vince
eb3f955329 Update README.md 2024-04-29 02:30:29 +08:00
Vince
db2f75e025 Update README.md 2024-04-29 02:26:47 +08:00
vinceliuice
04abd43279 update 2024-04-29 02:24:56 +08:00
vinceliuice
8df64466a9 update 2024-04-29 02:23:41 +08:00
vinceliuice
1a723106b5 update 2024-04-29 02:20:38 +08:00
vinceliuice
fb35883eca update 2024-04-29 02:08:58 +08:00
vinceliuice
f5f1b81e85 Fixed #155 2024-04-29 02:02:45 +08:00
vinceliuice
4ab34d51f7 Fixed #156 2024-04-29 00:56:32 +08:00
vinceliuice
3a99c10a7d Fixed issues 2024-04-28 23:56:43 +08:00
vinceliuice
9c71a2f1ea update 2024-04-28 23:10:38 +08:00
vinceliuice
afb5fe6494 update 2024-04-28 15:42:02 +08:00
vinceliuice
c572621db6 update 2024-04-24 23:43:30 +08:00
vinceliuice
595f38763f Update libadwaita style 2024-04-24 18:03:05 +08:00
vinceliuice
5fc2ecc249 update 2024-04-20 13:09:21 +08:00
vinceliuice
1cf28eac20 Fixed #153 2024-04-17 08:14:42 +08:00
6066 changed files with 28906 additions and 7066 deletions

9
.gitignore vendored
View File

@@ -11,3 +11,12 @@ src/main/gnome-shell/gnome-shell-Dark.css
src/main/cinnamon/cinnamon.css src/main/cinnamon/cinnamon.css
src/main/cinnamon/cinnamon-Light.css src/main/cinnamon/cinnamon-Light.css
src/main/cinnamon/cinnamon-Dark.css src/main/cinnamon/cinnamon-Dark.css
release/Colloid-Catppuccin.tar.xz
release/Colloid-Dracula.tar.xz
release/Colloid-Everforest.tar.xz
release/Colloid-Gruvbox.tar.xz
release/Colloid-Nord.tar.xz
release/Colloid.tar.xz
src/main/libadwaita/libadwaita-Dark.css
src/main/libadwaita/libadwaita-Light.css
src/main/libadwaita/libadwaita.css

View File

@@ -40,26 +40,54 @@ Run the following commands in the terminal:
-c, --color VARIANT... Specify color variant(s) [standard|light|dark] (Default: All variants) -c, --color VARIANT... Specify color variant(s) [standard|light|dark] (Default: All variants)
-s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant) -s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant)
-l, --libadwaita Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme -l, --libadwaita Install specify gtk-4.0 theme into config folder ($HOME/.config/gtk-4.0) for all gtk4 apps use this theme
Default ColorSchemes theme will follow the system style (light/dark mode switch), all ColorSchemes versions not support this !
-r, --remove, Options for default ColorSchemes:
-u, --uninstall Uninstall/Remove installed themes or links 1. system Default option (using system colors for light/dark mode switching)
2. fixed Using fixed theme colors (that will break light/dark mode switch)
--tweaks Specify versions for tweaks --tweaks Specify versions for tweaks
1. [nord|dracula|gruvbox|all] (Nord/Dracula/gruvbox/all) ColorSchemes version 1. [nord|dracula|gruvbox|everforest|catppuccin|all] (Nord/Dracula/Gruvbox/Everforet/Catppuccin/all) ColorSchemes version
2. black Blackness color version 2. black Blackness color version
3. rimless Remove the 1px border about windows and menus 3. rimless Remove the 1px border about windows and menus
4. normal Normal windows button style like gnome default theme (titlebuttons: max/min/close) 4. normal Normal windows button style like gnome default theme (titlebuttons: max/min/close)
5. float Floating gnome-shell panel style 5. float Floating gnome-shell panel style
-r, --remove,
-u, --uninstall Uninstall/Remove installed themes or links
-h, --help Show help -h, --help Show help
``` ```
> For more information, run: `./install.sh --help` > For more information, run: `./install.sh --help`
### Fix for Libadwaita
```sh
./install.sh -l
```
Default ColorSchemes themes will follow the system style now ! (switch [light/dark] mode)
https://github.com/vinceliuice/Colloid-gtk-theme/assets/7604295/d5c24086-08bc-45a4-b4d9-124c02249216
### Fix for Flatpak
```sh
sudo flatpak override --filesystem=xdg-config/gtk-3.0 && sudo flatpak override --filesystem=xdg-config/gtk-4.0
```
If you use flatpak apps, you can run this to fix theme issue
### ColorSchemes
![colorschemes](colorschemes.png?raw=true)
### Tweaks
![tweaks](tweaks.png?raw=true) ![tweaks](tweaks.png?raw=true)
### Flatpak Installation ### Flatpak Installation (gtk-3.0)
Automatically install your host GTK+ theme as a Flatpak. Use this: Automatically install your host GTK+ theme as a Flatpak. Use this:

511
assets.sh
View File

@@ -51,172 +51,213 @@ make_assets() {
;; ;;
esac esac
if [[ "$scheme" == '-Nord' ]]; then if [[ "$scheme" == '-Nord' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color_dark='#5e81ac' theme_color_dark='#5e81ac'
theme_color_light='#89a3c2' theme_color_light='#89a3c2'
;; ;;
-Purple) -Purple)
theme_color_dark='#b57daa' theme_color_dark='#b57daa'
theme_color_light='#c89dbf' theme_color_light='#c89dbf'
;; ;;
-Pink) -Pink)
theme_color_dark='#cd7092' theme_color_dark='#cd7092'
theme_color_light='#dc98b1' theme_color_light='#dc98b1'
;; ;;
-Red) -Red)
theme_color_dark='#c35b65' theme_color_dark='#c35b65'
theme_color_light='#d4878f' theme_color_light='#d4878f'
;; ;;
-Orange) -Orange)
theme_color_dark='#d0846c' theme_color_dark='#d0846c'
theme_color_light='#dca493' theme_color_light='#dca493'
;; ;;
-Yellow) -Yellow)
theme_color_dark='#e4b558' theme_color_dark='#e4b558'
theme_color_light='#eac985' theme_color_light='#eac985'
;; ;;
-Green) -Green)
theme_color_dark='#82ac5d' theme_color_dark='#82ac5d'
theme_color_light='#a0c082' theme_color_light='#a0c082'
;; ;;
-Teal) -Teal)
theme_color_dark='#63a6a5' theme_color_dark='#63a6a5'
theme_color_light='#83b9b8' theme_color_light='#83b9b8'
;; ;;
-Grey) -Grey)
theme_color_dark='#3a4150' theme_color_dark='#3a4150'
theme_color_light='#d9dce3' theme_color_light='#d9dce3'
;; ;;
esac esac
fi fi
if [[ "$scheme" == '-Dracula' ]]; then if [[ "$scheme" == '-Dracula' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color_dark='#a679ec' theme_color_dark='#a679ec'
theme_color_light='#bd93f9' theme_color_light='#bd93f9'
;; ;;
-Purple) -Purple)
theme_color_dark='#a679ec' theme_color_dark='#a679ec'
theme_color_light='#bd93f9' theme_color_light='#bd93f9'
;; ;;
-Pink) -Pink)
theme_color_dark='#f04cab' theme_color_dark='#f04cab'
theme_color_light='#ff79c6' theme_color_light='#ff79c6'
;; ;;
-Red) -Red)
theme_color_dark='#f44d4d' theme_color_dark='#f44d4d'
theme_color_light='#ff5555' theme_color_light='#ff5555'
;; ;;
-Orange) -Orange)
theme_color_dark='#f8a854' theme_color_dark='#f8a854'
theme_color_light='#ffb86c' theme_color_light='#ffb86c'
;; ;;
-Yellow) -Yellow)
theme_color_dark='#e8f467' theme_color_dark='#e8f467'
theme_color_light='#f1fa8c' theme_color_light='#f1fa8c'
;; ;;
-Green) -Green)
theme_color_dark='#4be772' theme_color_dark='#4be772'
theme_color_light='#50fa7b' theme_color_light='#50fa7b'
;; ;;
-Teal) -Teal)
theme_color_dark='#20eed9' theme_color_dark='#20eed9'
theme_color_light='#50fae9' theme_color_light='#50fae9'
;; ;;
-Grey) -Grey)
theme_color_dark='#3c3f51' theme_color_dark='#3c3f51'
theme_color_light='#d9dae3' theme_color_light='#d9dae3'
;; ;;
esac esac
fi fi
if [[ "$scheme" == '-Gruvbox' ]]; then if [[ "$scheme" == '-Gruvbox' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color_dark='#458588' theme_color_dark='#458588'
theme_color_light='#83a598' theme_color_light='#83a598'
;; ;;
-Purple) -Purple)
theme_color_dark='#ab62b1' theme_color_dark='#ab62b1'
theme_color_light='#d386cd' theme_color_light='#d386cd'
;; ;;
-Pink) -Pink)
theme_color_dark='#b16286' theme_color_dark='#b16286'
theme_color_light='#d3869b' theme_color_light='#d3869b'
;; ;;
-Red) -Red)
theme_color_dark='#cc241d' theme_color_dark='#cc241d'
theme_color_light='#fb4934' theme_color_light='#fb4934'
;; ;;
-Orange) -Orange)
theme_color_dark='#d65d0e' theme_color_dark='#d65d0e'
theme_color_light='#fe8019' theme_color_light='#fe8019'
;; ;;
-Yellow) -Yellow)
theme_color_dark='#d79921' theme_color_dark='#d79921'
theme_color_light='#fabd2f' theme_color_light='#fabd2f'
;; ;;
-Green) -Green)
theme_color_dark='#98971a' theme_color_dark='#98971a'
theme_color_light='#b8bb26' theme_color_light='#b8bb26'
;; ;;
-Teal) -Teal)
theme_color_dark='#689d6a' theme_color_dark='#689d6a'
theme_color_light='#8ec07c' theme_color_light='#8ec07c'
;; ;;
-Grey) -Grey)
theme_color_dark='#3c3836' theme_color_dark='#3c3836'
theme_color_light='#a89984' theme_color_light='#a89984'
;; ;;
esac esac
fi fi
if [[ "$scheme" == '-Everforest' ]]; then if [[ "$scheme" == '-Everforest' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color_dark='#458588' theme_color_dark='#3a94c5'
theme_color_light='#83a598' theme_color_light='#7fbbb3'
;; ;;
-Purple) -Purple)
theme_color_dark='#ab62b1' theme_color_dark='#df69ba'
theme_color_light='#d386cd' theme_color_light='#D699B6'
;; ;;
-Pink) -Pink)
theme_color_dark='#b16286' theme_color_dark='#b16286'
theme_color_light='#d3869b' theme_color_light='#d3869b'
;; ;;
-Red) -Red)
theme_color_dark='#cc241d' theme_color_dark='#f85552'
theme_color_light='#fb4934' theme_color_light='#E67E80'
;; ;;
-Orange) -Orange)
theme_color_dark='#d65d0e' theme_color_dark='#f57d26'
theme_color_light='#fe8019' theme_color_light='#E69875'
;; ;;
-Yellow) -Yellow)
theme_color_dark='#d79921' theme_color_dark='#dfa000'
theme_color_light='#fabd2f' theme_color_light='#DBBC7F'
;; ;;
-Green) -Green)
theme_color_dark='#98971a' theme_color_dark='#8da101'
theme_color_light='#b8bb26' theme_color_light='#A7C080'
;; ;;
-Teal) -Teal)
theme_color_dark='#689d6a' theme_color_dark='#35a77c'
theme_color_light='#8ec07c' theme_color_light='#83C092'
;; ;;
-Grey) -Grey)
theme_color_dark='#3c3836' theme_color_dark='#414b50'
theme_color_light='#a89984' theme_color_light='#e6e2cc'
;; ;;
esac esac
fi fi
if [[ "$scheme" == '-Catppuccin' ]]; then
case "$theme" in
'')
theme_color_dark='#1e66f5'
theme_color_light='#8caaee'
;;
-Purple)
theme_color_dark='#8839ef'
theme_color_light='#ca9ee6'
;;
-Pink)
theme_color_dark='#ea76cb'
theme_color_light='#f4b8e4'
;;
-Red)
theme_color_dark='#e64553'
theme_color_light='#ea999c'
;;
-Orange)
theme_color_dark='#fe640b'
theme_color_light='#fe8019'
;;
-Yellow)
theme_color_dark='#df8e1d'
theme_color_light='#ef9f76'
;;
-Green)
theme_color_dark='#40a02b'
theme_color_light='#a6d189'
;;
-Teal)
theme_color_dark='#179299'
theme_color_light='#81c8be'
;;
-Grey)
theme_color_dark='#5c5f77'
theme_color_light='#ccd0da'
;;
esac
fi
if [[ "$blackness" == 'true' ]]; then if [[ "$blackness" == 'true' ]]; then
case "$ctype" in case "$scheme" in
'') '')
background_light='#FFFFFF' background_light='#FFFFFF'
background_dark='#0F0F0F' background_dark='#0F0F0F'
@@ -238,6 +279,13 @@ make_assets() {
titlebar_light='#f0f1f4' titlebar_light='#f0f1f4'
titlebar_dark='#020203' titlebar_dark='#020203'
;; ;;
-Gruvbox)
background_light='#f9f5d7'
background_dark='#0f0e0e'
background_dark_alt='#121110'
titlebar_light='#fbf1c7'
titlebar_dark='#0d0907'
;;
-Everforest) -Everforest)
background_light='#fffbef' background_light='#fffbef'
background_dark='#1e2326' background_dark='#1e2326'
@@ -245,9 +293,16 @@ make_assets() {
titlebar_light='#f2efdf' titlebar_light='#f2efdf'
titlebar_dark='#020203' titlebar_dark='#020203'
;; ;;
-Catppuccin)
background_light='#eff1f5'
background_dark='#181825'
background_darker='#1e1e2e'
titlebar_light='#e6e9ef'
titlebar_dark='#11111b'
;;
esac esac
else else
case "$ctype" in case "$scheme" in
'') '')
background_light='#ffffff' background_light='#ffffff'
background_dark='#2c2c2c' background_dark='#2c2c2c'
@@ -269,12 +324,26 @@ make_assets() {
titlebar_light='#f0f1f4' titlebar_light='#f0f1f4'
titlebar_dark='#1f2029' titlebar_dark='#1f2029'
;; ;;
-Gruvbox)
background_light='#f9f5d7'
background_dark='#282524'
background_dark_alt='#3c3836'
titlebar_light='#fbf1c7'
titlebar_dark='#242220'
;;
-Everforest) -Everforest)
background_light='#fffbef' background_light='#fdf6e3'
background_dark='#232A2E' background_dark='#2d353b'
background_dark_alt='#343F44' background_dark_alt='#343f44'
background_light='#edeada' titlebar_light='#f4f0d9'
background_dark='#1e2326' titlebar_dark='#272e33'
;;
-Catppuccin)
background_light='#eff1f5'
background_dark='#292c3c'
background_darker='#303446'
titlebar_light='#e6e9ef'
titlebar_dark='#24273a'
;; ;;
esac esac
fi fi
@@ -331,7 +400,109 @@ make_assets() {
cp -r "${SRC_DIR}/assets/metacity-1/assets${window}" "${THEME_DIR}/metacity-1/assets" cp -r "${SRC_DIR}/assets/metacity-1/assets${window}" "${THEME_DIR}/metacity-1/assets"
cp -r "${SRC_DIR}/assets/metacity-1/thumbnail${ELSE_DARK:-}.png" "${THEME_DIR}/metacity-1/thumbnail.png" cp -r "${SRC_DIR}/assets/metacity-1/thumbnail${ELSE_DARK:-}.png" "${THEME_DIR}/metacity-1/thumbnail.png"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${scheme}${window}/"*.png "${THEME_DIR}/xfwm4" cp -r "${SRC_DIR}/assets/xfwm4/svg/assets${ELSE_LIGHT:-}${window}/"*.svg "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${scheme}${window}-hdpi/"*.png "${THEME_DIR}-hdpi/xfwm4" cp -r "${SRC_DIR}/assets/xfwm4/svg/assets${ELSE_LIGHT:-}${window}-hdpi/"*.svg "${THEME_DIR}-hdpi/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${ELSE_LIGHT:-}${scheme}${window}-xhdpi/"*.png "${THEME_DIR}-xhdpi/xfwm4" cp -r "${SRC_DIR}/assets/xfwm4/svg/assets${ELSE_LIGHT:-}${window}-xhdpi/"*.svg "${THEME_DIR}-xhdpi/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/xpm/assets/"*.xpm "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/xpm/assets-hdpi/"*.xpm "${THEME_DIR}-hdpi/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/xpm/assets-xhdpi/"*.xpm "${THEME_DIR}-xhdpi/xfwm4"
if [[ "$normal" == "true" ]] ; then
mv -f "${THEME_DIR}/xfwm4/button-active-Normal.xpm" "${THEME_DIR}/xfwm4/button-active.xpm"
mv -f "${THEME_DIR}-hdpi/xfwm4/button-active-Normal.xpm" "${THEME_DIR}-hdpi/xfwm4/button-active.xpm"
mv -f "${THEME_DIR}-xhdpi/xfwm4/button-active-Normal.xpm" "${THEME_DIR}-xhdpi/xfwm4/button-active.xpm"
mv -f "${THEME_DIR}/xfwm4/button-inactive-Normal.xpm" "${THEME_DIR}/xfwm4/button-inactive.xpm"
mv -f "${THEME_DIR}-hdpi/xfwm4/button-inactive-Normal.xpm" "${THEME_DIR}-hdpi/xfwm4/button-inactive.xpm"
mv -f "${THEME_DIR}-xhdpi/xfwm4/button-inactive-Normal.xpm" "${THEME_DIR}-xhdpi/xfwm4/button-inactive.xpm"
fi
case "$scheme" in
'')
button_close="#fd5f51"
button_max="#38c76a"
button_min="#fdbe04"
;;
-Nord)
button_close="#bf616a"
button_max="#a3be8c"
button_min="#ebcb8b"
;;
-Gruvbox)
button_close="#cc241d"
button_max="#98971a"
button_min="#d79921"
;;
-Dracula)
if [[ "$color" == '-Light' ]]; then
button_close="#ed5d5d"
button_max="#43db68"
button_min="#e3d93b"
else
button_close="#f44d4d"
button_max="#4be772"
button_min="#e8f467"
fi
;;
-Catppuccin)
if [[ "$color" == '-Light' ]]; then
button_close="#e64553"
button_max="#40a02b"
button_min="#df8e1d"
else
button_close="#ea999c"
button_max="#a6d189"
button_min="#e5c890"
fi
;;
-Everforest)
if [[ "$color" == '-Light' ]]; then
button_close="#e67e80"
button_max="#93ac6c"
button_min="#d6b77a"
else
button_close="#ff9c9e"
button_max="#b6cf8f"
button_min="#eacb8e"
fi
;;
esac
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}/xfwm4/close-active.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}/xfwm4/close-prelight.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}/xfwm4/close-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-toggled-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-toggled-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}/xfwm4/maximize-toggled-pressed.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}/xfwm4/hide-active.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}/xfwm4/hide-prelight.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}/xfwm4/hide-pressed.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-hdpi/xfwm4/close-active.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-hdpi/xfwm4/close-prelight.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-hdpi/xfwm4/close-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-toggled-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-toggled-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-hdpi/xfwm4/maximize-toggled-pressed.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-hdpi/xfwm4/hide-active.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-hdpi/xfwm4/hide-prelight.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-hdpi/xfwm4/hide-pressed.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-xhdpi/xfwm4/close-active.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-xhdpi/xfwm4/close-prelight.svg"
sed -i "s/#fd5f51/${button_close}/g" "${THEME_DIR}-xhdpi/xfwm4/close-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-pressed.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-toggled-active.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-toggled-prelight.svg"
sed -i "s/#38c76a/${button_max}/g" "${THEME_DIR}-xhdpi/xfwm4/maximize-toggled-pressed.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-xhdpi/xfwm4/hide-active.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-xhdpi/xfwm4/hide-prelight.svg"
sed -i "s/#fdbe04/${button_min}/g" "${THEME_DIR}-xhdpi/xfwm4/hide-pressed.svg"
} }

View File

@@ -35,6 +35,8 @@ for color in "${_COLOR_VARIANTS[@]}"; do
echo "==> Generating the 3.0 gtk${color}.css..." echo "==> Generating the 3.0 gtk${color}.css..."
sassc $SASSC_OPT src/main/gtk-4.0/gtk${color}.{scss,css} sassc $SASSC_OPT src/main/gtk-4.0/gtk${color}.{scss,css}
echo "==> Generating the 4.0 gtk${color}.css..." echo "==> Generating the 4.0 gtk${color}.css..."
sassc $SASSC_OPT src/main/libadwaita/libadwaita${color}.{scss,css}
echo "==> Generating the libadwaita libadwaita${color}.css..."
sassc $SASSC_OPT src/main/gnome-shell/gnome-shell${color}.{scss,css} sassc $SASSC_OPT src/main/gnome-shell/gnome-shell${color}.{scss,css}
echo "==> Generating the gnome-shell${color}.css..." echo "==> Generating the gnome-shell${color}.css..."
sassc $SASSC_OPT src/main/cinnamon/cinnamon${color}.{scss,css} sassc $SASSC_OPT src/main/cinnamon/cinnamon${color}.{scss,css}

BIN
colorschemes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 KiB

452
gtkrc.sh
View File

@@ -13,256 +13,248 @@ make_gtkrc() {
local GTKRC_DIR="${SRC_DIR}/main/gtk-2.0" local GTKRC_DIR="${SRC_DIR}/main/gtk-2.0"
local THEME_DIR="${1}/${2}${3}${4}${5}${6}" local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
if [[ "${color}" != '-Dark' ]]; then case "$theme" in
'')
theme_color_dark='#3c84f7'
theme_color_light='#5b9bf8'
;;
-Purple)
theme_color_dark='#AB47BC'
theme_color_light='#BA68C8'
;;
-Pink)
theme_color_dark='#EC407A'
theme_color_light='#F06292'
;;
-Red)
theme_color_dark='#E53935'
theme_color_light='#F44336'
;;
-Orange)
theme_color_dark='#F57C00'
theme_color_light='#FB8C00'
;;
-Yellow)
theme_color_dark='#FBC02D'
theme_color_light='#FFD600'
;;
-Green)
theme_color_dark='#4CAF50'
theme_color_light='#66BB6A'
;;
-Teal)
theme_color_dark='#009688'
theme_color_light='#4DB6AC'
;;
-Grey)
theme_color_dark='#464646'
theme_color_light='#DDDDDD'
;;
esac
if [[ "$scheme" == '-Nord' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color='#3c84f7' theme_color_dark='#5e81ac'
theme_color_light='#89a3c2'
;; ;;
-Purple) -Purple)
theme_color='#AB47BC' theme_color_dark='#b57daa'
theme_color_light='#c89dbf'
;; ;;
-Pink) -Pink)
theme_color='#EC407A' theme_color_dark='#cd7092'
theme_color_light='#dc98b1'
;; ;;
-Red) -Red)
theme_color='#E53935' theme_color_dark='#c35b65'
theme_color_light='#d4878f'
;; ;;
-Orange) -Orange)
theme_color='#F57C00' theme_color_dark='#d0846c'
theme_color_light='#dca493'
;; ;;
-Yellow) -Yellow)
theme_color='#FBC02D' theme_color_dark='#e4b558'
theme_color_light='#eac985'
;; ;;
-Green) -Green)
theme_color='#4CAF50' theme_color_dark='#82ac5d'
theme_color_light='#a0c082'
;; ;;
-Teal) -Teal)
theme_color='#009688' theme_color_dark='#63a6a5'
theme_color_light='#83b9b8'
;; ;;
-Grey) -Grey)
theme_color='#464646' theme_color_dark='#3a4150'
theme_color_light='#d9dce3'
;; ;;
esac esac
fi
if [[ "$scheme" == '-Nord' ]]; then if [[ "$scheme" == '-Dracula' ]]; then
case "$theme" in
'')
theme_color='#5e81ac'
;;
-Purple)
theme_color='#b57daa'
;;
-Pink)
theme_color='#cd7092'
;;
-Red)
theme_color='#c35b65'
;;
-Orange)
theme_color='#d0846c'
;;
-Yellow)
theme_color='#e4b558'
;;
-Green)
theme_color='#82ac5d'
;;
-Teal)
theme_color='#83b9b8'
;;
-Grey)
theme_color='#3a4150'
;;
esac
fi
if [[ "$scheme" == '-Dracula' ]]; then
case "$theme" in
'')
theme_color='#a679ec'
;;
-Purple)
theme_color='#a679ec'
;;
-Pink)
theme_color='#f04cab'
;;
-Red)
theme_color='#f44d4d'
;;
-Orange)
theme_color='#f8a854'
;;
-Yellow)
theme_color='#e8f467'
;;
-Green)
theme_color='#4be772'
;;
-Teal)
theme_color='#20eed9'
;;
-Grey)
theme_color='#3c3f51'
;;
esac
fi
if [[ "$scheme" == "-Everforest" ]]; then
case "$theme" in
'')
theme_color='#7fbbb3'
;;
-Purple)
theme_color='#cb8eab'
;;
-Pink)
theme_color='#b16286'
;;
-Red)
theme_color='#db7375'
;;
-Orange)
theme_color='#db8d6a'
;;
-Yellow)
theme_color='#d0b174'
;;
-Green)
theme_color='#9cb575'
;;
-Teal)
theme_color='#78b587'
;;
-Grey)
theme_color='#7A8478'
esac
fi
else
case "$theme" in case "$theme" in
'') '')
theme_color='#5b9bf8' theme_color_dark='#a679ec'
theme_color_light='#bd93f9'
;; ;;
-Purple) -Purple)
theme_color='#BA68C8' theme_color_dark='#a679ec'
theme_color_light='#bd93f9'
;; ;;
-Pink) -Pink)
theme_color='#F06292' theme_color_dark='#f04cab'
theme_color_light='#ff79c6'
;; ;;
-Red) -Red)
theme_color='#F44336' theme_color_dark='#f44d4d'
theme_color_light='#ff5555'
;; ;;
-Orange) -Orange)
theme_color='#FB8C00' theme_color_dark='#f8a854'
theme_color_light='#ffb86c'
;; ;;
-Yellow) -Yellow)
theme_color='#FFD600' theme_color_dark='#e8f467'
theme_color_light='#f1fa8c'
;; ;;
-Green) -Green)
theme_color='#66BB6A' theme_color_dark='#4be772'
theme_color_light='#50fa7b'
;; ;;
-Teal) -Teal)
theme_color='#4DB6AC' theme_color_dark='#20eed9'
theme_color_light='#50fae9'
;; ;;
-Grey) -Grey)
theme_color='#DDDDDD' theme_color_dark='#3c3f51'
theme_color_light='#d9dae3'
;; ;;
esac esac
fi
if [[ "$scheme" == '-Nord' ]]; then if [[ "$scheme" == '-Gruvbox' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color='#89a3c2' theme_color_dark='#458588'
;; theme_color_light='#83a598'
-Purple) ;;
theme_color='#c89dbf' -Purple)
;; theme_color_dark='#ab62b1'
-Pink) theme_color_light='#d386cd'
theme_color='#dc98b1' ;;
;; -Pink)
-Red) theme_color_dark='#b16286'
theme_color='#d4878f' theme_color_light='#d3869b'
;; ;;
-Orange) -Red)
theme_color='#dca493' theme_color_dark='#cc241d'
;; theme_color_light='#fb4934'
-Yellow) ;;
theme_color='#eac985' -Orange)
;; theme_color_dark='#d65d0e'
-Green) theme_color_light='#fe8019'
theme_color='#a0c082' ;;
;; -Yellow)
-Teal) theme_color_dark='#d79921'
theme_color='#83b9b8' theme_color_light='#fabd2f'
;; ;;
-Grey) -Green)
theme_color='#d9dce3' theme_color_dark='#98971a'
;; theme_color_light='#b8bb26'
esac ;;
fi -Teal)
theme_color_dark='#689d6a'
theme_color_light='#8ec07c'
;;
-Grey)
theme_color_dark='#3c3836'
theme_color_light='#a89984'
;;
esac
fi
if [[ "$scheme" == '-Dracula' ]]; then if [[ "$scheme" == '-Everforest' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color='#bd93f9' theme_color_dark='#3a94c5'
;; theme_color_light='#7fbbb3'
-Purple) ;;
theme_color='#bd93f9' -Purple)
;; theme_color_dark='#df69ba'
-Pink) theme_color_light='#D699B6'
theme_color='#ff79c6' ;;
;; -Pink)
-Red) theme_color_dark='#b16286'
theme_color='#ff5555' theme_color_light='#d3869b'
;; ;;
-Orange) -Red)
theme_color='#ffb86c' theme_color_dark='#f85552'
;; theme_color_light='#E67E80'
-Yellow) ;;
theme_color='#f1fa8c' -Orange)
;; theme_color_dark='#f57d26'
-Green) theme_color_light='#E69875'
theme_color='#50fa7b' ;;
;; -Yellow)
-Teal) theme_color_dark='#dfa000'
theme_color='#50fae9' theme_color_light='#DBBC7F'
;; ;;
-Grey) -Green)
theme_color='#d9dae3' theme_color_dark='#8da101'
;; theme_color_light='#A7C080'
esac ;;
fi -Teal)
theme_color_dark='#35a77c'
theme_color_light='#83C092'
;;
-Grey)
theme_color_dark='#414b50'
theme_color_light='#e6e2cc'
;;
esac
fi
if [[ "$scheme" == '-Everforest' ]]; then if [[ "$scheme" == '-Catppuccin' ]]; then
case "$theme" in case "$theme" in
'') '')
theme_color='#3A94c5' theme_color_dark='#1e66f5'
;; theme_color_light='#8caaee'
-Purple) ;;
theme_color='#bd93f9' -Purple)
;; theme_color_dark='#8839ef'
-Pink) theme_color_light='#ca9ee6'
theme_color='#DF69ba' ;;
;; -Pink)
-Red) theme_color_dark='#ea76cb'
theme_color='#f85552' theme_color_light='#f4b8e4'
;; ;;
-Orange) -Red)
theme_color='#F57D26' theme_color_dark='#e64553'
;; theme_color_light='#ea999c'
-Yellow) ;;
theme_color='#DFA000' -Orange)
;; theme_color_dark='#fe640b'
-Green) theme_color_light='#fe8019'
theme_color='#8da101' ;;
;; -Yellow)
-Teal) theme_color_dark='#df8e1d'
theme_color='#35a77c' theme_color_light='#ef9f76'
;; ;;
-Grey) -Green)
theme_color='#708089' theme_color_dark='#40a02b'
;; theme_color_light='#a6d189'
esac ;;
fi -Teal)
theme_color_dark='#179299'
theme_color_light='#81c8be'
;;
-Grey)
theme_color_dark='#5c5f77'
theme_color_light='#ccd0da'
;;
esac
fi fi
if [[ "$blackness" == 'true' ]]; then if [[ "$blackness" == 'true' ]]; then
@@ -291,6 +283,14 @@ make_gtkrc() {
titlebar_light='#f0f1f4' titlebar_light='#f0f1f4'
titlebar_dark='#020203' titlebar_dark='#020203'
;; ;;
-Gruvbox)
background_light='#f9f5d7'
background_dark='#0f0e0e'
background_darker='#121110'
background_alt='#211f1e'
titlebar_light='#fbf1c7'
titlebar_dark='#0d0907'
;;
-Everforest) -Everforest)
background_light='#fffbef' background_light='#fffbef'
background_dark='#1e2326' background_dark='#1e2326'
@@ -299,6 +299,14 @@ make_gtkrc() {
titlebar_light='#f2efdf' titlebar_light='#f2efdf'
titlebar_dark='#020203' titlebar_dark='#020203'
;; ;;
-Catppuccin)
background_light='#eff1f5'
background_dark='#181825'
background_darker='#1e1e2e'
background_alt='#232634'
titlebar_light='#e6e9ef'
titlebar_dark='#11111b'
;;
esac esac
else else
case "$scheme" in case "$scheme" in
@@ -326,13 +334,29 @@ make_gtkrc() {
titlebar_light='#f0f1f4' titlebar_light='#f0f1f4'
titlebar_dark='#1f2029' titlebar_dark='#1f2029'
;; ;;
-Gruvbox)
background_light='#f9f5d7'
background_dark='#282524'
background_darker='#3c3836'
background_alt='#504945'
titlebar_light='#fbf1c7'
titlebar_dark='#242220'
;;
-Everforest) -Everforest)
background_light='#fffbef' background_light='#fdf6e3'
background_dark='#232A2E' background_dark='#2d353b'
background_darker='#343F44' background_darker='#343f44'
background_alt='#3D484D' background_alt='#414b50'
background_light='#edeada' titlebar_light='#f4f0d9'
background_dark='#1e2326' titlebar_dark='#272e33'
;;
-Catppuccin)
background_light='#eff1f5'
background_dark='#292c3c'
background_darker='#303446'
background_alt='#4c4f69'
titlebar_light='#e6e9ef'
titlebar_dark='#24273a'
;; ;;
esac esac
fi fi
@@ -343,11 +367,11 @@ make_gtkrc() {
sed -i "s/#464646/${background_alt}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#464646/${background_alt}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
if [[ "${color}" == '-Dark' ]]; then if [[ "${color}" == '-Dark' ]]; then
sed -i "s/#5b9bf8/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#5b9bf8/${theme_color_light}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#3C3C3C/${background_darker}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#3C3C3C/${background_darker}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#242424/${titlebar_dark}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#242424/${titlebar_dark}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
else else
sed -i "s/#3c84f7/${theme_color}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#3c84f7/${theme_color_dark}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
sed -i "s/#F2F2F2/${titlebar_light}/g" "${THEME_DIR}/gtk-2.0/gtkrc" sed -i "s/#F2F2F2/${titlebar_light}/g" "${THEME_DIR}/gtk-2.0/gtkrc"
fi fi
} }

View File

@@ -15,8 +15,14 @@ scheme=
window= window=
# Destination directory # Destination directory
if [ "$UID" -eq "$ROOT_UID" ]; then if [[ "$UID" -eq "$ROOT_UID" ]]; then
DEST_DIR="/usr/share/themes" DEST_DIR="/usr/share/themes"
elif [[ -n "$XDG_DATA_HOME" ]]; then
DEST_DIR="$XDG_DATA_HOME/themes"
elif [[ -d "$HOME/.themes" ]]; then
DEST_DIR="$HOME/.themes"
elif [[ -d "$HOME/.local/share/themes" ]]; then
DEST_DIR="$HOME/.local/share/themes"
else else
DEST_DIR="$HOME/.themes" DEST_DIR="$HOME/.themes"
fi fi
@@ -25,14 +31,16 @@ SASSC_OPT="-M -t expanded"
THEME_NAME=Colloid THEME_NAME=Colloid
THEME_VARIANTS=('' '-Purple' '-Pink' '-Red' '-Orange' '-Yellow' '-Green' '-Teal' '-Grey') THEME_VARIANTS=('' '-Purple' '-Pink' '-Red' '-Orange' '-Yellow' '-Green' '-Teal' '-Grey')
SCHEME_VARIANTS=('' '-Nord' '-Dracula' '-Gruvbox' '-Everforest') SCHEME_VARIANTS=('' '-Nord' '-Dracula' '-Gruvbox' '-Everforest' '-Catppuccin')
COLOR_VARIANTS=('' '-Light' '-Dark') COLOR_VARIANTS=('' '-Light' '-Dark')
SIZE_VARIANTS=('' '-Compact') SIZE_VARIANTS=('' '-Compact')
if [[ "$(command -v gnome-shell)" ]]; then if [[ "$(command -v gnome-shell)" ]]; then
gnome-shell --version echo && gnome-shell --version
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)" SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then if [[ "${SHELL_VERSION:-}" -ge "47" ]]; then
GS_VERSION="47-0"
elif [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
GS_VERSION="46-0" GS_VERSION="46-0"
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
GS_VERSION="44-0" GS_VERSION="44-0"
@@ -45,7 +53,7 @@ if [[ "$(command -v gnome-shell)" ]]; then
fi fi
else else
echo "'gnome-shell' not found, using styles for last gnome-shell version available." echo "'gnome-shell' not found, using styles for last gnome-shell version available."
GS_VERSION="46-0" GS_VERSION="47-0"
fi fi
usage() { usage() {
@@ -63,18 +71,22 @@ OPTIONS:
-s, --size VARIANT Specify size variant [standard|compact] (Default: standard variant) -s, --size VARIANT Specify size variant [standard|compact] (Default: standard variant)
-l, --libadwaita Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme -l, --libadwaita Install specify gtk-4.0 theme into config folder ($HOME/.config/gtk-4.0) for all gtk4 apps use this theme
Default ColorSchemes theme will follow the system style (light/dark mode switch), all ColorSchemes versions not support this !
-r, --remove, Options for default ColorSchemes:
-u, --uninstall Uninstall/Remove installed themes or links 1. system Default option (using system colors for light/dark mode switching)
2. fixed Using fixed theme colors (that will break light/dark mode switch)
--tweaks Specify versions for tweaks --tweaks Specify versions for tweaks
1. [nord|dracula|gruvbox|everforest|all] Nord|Dracula|gruvbox|everforet|all ColorSchemes version 1. [nord|dracula|gruvbox|everforest|catppuccin|all] (Nord/Dracula/Gruvbox/Everforet/Catppuccin/all) ColorSchemes version
2. black Blackness color version 2. black Blackness color version
3. rimless Remove the 1px border about windows and menus 3. rimless Remove the 1px border about windows and menus
4. normal Normal windows button style like gnome default theme (titlebuttons: max/min/close) 4. normal Normal windows button style like gnome default theme (titlebuttons: max/min/close)
5. float Floating gnome-shell panel style 5. float Floating gnome-shell panel style
-r, --remove,
-u, --uninstall Uninstall/Remove installed themes or links
-h, --help Show help -h, --help Show help
EOF EOF
} }
@@ -93,7 +105,7 @@ install() {
local THEME_DIR="${1}/${2}${3}${4}${5}${6}" local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
[[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}" [[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}"{'','-hdpi','-xhdpi'}
echo "Installing '${THEME_DIR}'..." echo "Installing '${THEME_DIR}'..."
@@ -110,7 +122,7 @@ install() {
echo "[X-GNOME-Metatheme]" >> "${THEME_DIR}/index.theme" echo "[X-GNOME-Metatheme]" >> "${THEME_DIR}/index.theme"
echo "GtkTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme" echo "GtkTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme"
echo "MetacityTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme" echo "MetacityTheme=${2}${3}${4}${5}${6}" >> "${THEME_DIR}/index.theme"
echo "IconTheme=Tela-circle${ELSE_DARK:-}" >> "${THEME_DIR}/index.theme" echo "IconTheme=Colloid${3}${6}${4}" >> "${THEME_DIR}/index.theme"
echo "CursorTheme=${2}-cursors" >> "${THEME_DIR}/index.theme" echo "CursorTheme=${2}-cursors" >> "${THEME_DIR}/index.theme"
echo "ButtonLayout=close,minimize,maximize:menu" >> "${THEME_DIR}/index.theme" echo "ButtonLayout=close,minimize,maximize:menu" >> "${THEME_DIR}/index.theme"
@@ -138,12 +150,12 @@ install() {
cd "${THEME_DIR}/metacity-1" && ln -sf metacity-theme-3.xml metacity-theme-1.xml && ln -sf metacity-theme-3.xml metacity-theme-2.xml cd "${THEME_DIR}/metacity-1" && ln -sf metacity-theme-3.xml metacity-theme-1.xml && ln -sf metacity-theme-3.xml metacity-theme-2.xml
mkdir -p "${THEME_DIR}/xfwm4" mkdir -p "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}/xfwm4/themerc" cp -r "${SRC_DIR}/main/xfwm4/themerc" "${THEME_DIR}/xfwm4/themerc"
mkdir -p "${THEME_DIR}-hdpi/xfwm4" mkdir -p "${THEME_DIR}-hdpi/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}-hdpi/xfwm4/themerc" cp -r "${SRC_DIR}/main/xfwm4/themerc" "${THEME_DIR}-hdpi/xfwm4/themerc"
sed -i "s/button_offset=6/button_offset=9/" "${THEME_DIR}-hdpi/xfwm4/themerc" sed -i "s/button_offset=6/button_offset=9/" "${THEME_DIR}-hdpi/xfwm4/themerc"
mkdir -p "${THEME_DIR}-xhdpi/xfwm4" mkdir -p "${THEME_DIR}-xhdpi/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${ELSE_LIGHT:-}" "${THEME_DIR}-xhdpi/xfwm4/themerc" cp -r "${SRC_DIR}/main/xfwm4/themerc" "${THEME_DIR}-xhdpi/xfwm4/themerc"
sed -i "s/button_offset=6/button_offset=12/" "${THEME_DIR}-xhdpi/xfwm4/themerc" sed -i "s/button_offset=6/button_offset=12/" "${THEME_DIR}-xhdpi/xfwm4/themerc"
mkdir -p "${THEME_DIR}/plank" mkdir -p "${THEME_DIR}/plank"
@@ -165,7 +177,7 @@ while [[ $# -gt 0 ]]; do
-d|--dest) -d|--dest)
dest="${2}" dest="${2}"
if [[ ! -d "${dest}" ]]; then if [[ ! -d "${dest}" ]]; then
echo "Destination directory does not exist. Let's make a new one..." echo -e "\nDestination directory does not exist. Let's make a new one..."
mkdir -p ${dest} mkdir -p ${dest}
fi fi
shift 2 shift 2
@@ -181,6 +193,27 @@ while [[ $# -gt 0 ]]; do
-l|--libadwaita) -l|--libadwaita)
libadwaita="true" libadwaita="true"
shift shift
for type in "${@}"; do
case "${type}" in
system)
echo -e "\nUse system default colors for light/dark mode switch."
shift
;;
fixed)
colortype='fixed'
echo -e "\nUse fixed theme colors but that will break light/dark mode switch."
shift
;;
-*|--*)
break
;;
*)
echo -e "\nERROR: Unrecognized type variant '$1'."
echo -e "\nTry '$0 --help' for more information."
exit 1
;;
esac
done
;; ;;
-c|--color) -c|--color)
shift shift
@@ -205,8 +238,8 @@ while [[ $# -gt 0 ]]; do
break break
;; ;;
*) *)
echo "ERROR: Unrecognized color variant '$1'." echo -e "\nERROR: Unrecognized color variant '$1'."
echo "Try '$0 --help' for more information." echo -e "\nTry '$0 --help' for more information."
exit 1 exit 1
;; ;;
esac esac
@@ -261,8 +294,8 @@ while [[ $# -gt 0 ]]; do
break break
;; ;;
*) *)
echo "ERROR: Unrecognized theme variant '$1'." echo -e "\nERROR: Unrecognized theme variant '$1'."
echo "Try '$0 --help' for more information." echo -e "\nTry '$0 --help' for more information."
exit 1 exit 1
;; ;;
esac esac
@@ -285,8 +318,8 @@ while [[ $# -gt 0 ]]; do
break break
;; ;;
*) *)
echo "ERROR: Unrecognized size variant '${1:-}'." echo -e "\nERROR: Unrecognized size variant '${1:-}'."
echo "Try '$0 --help' for more information." echo -e "\nTry '$0 --help' for more information."
exit 1 exit 1
;; ;;
esac esac
@@ -299,25 +332,31 @@ while [[ $# -gt 0 ]]; do
nord) nord)
colorscheme='true' colorscheme='true'
schemes+=("${SCHEME_VARIANTS[1]}") schemes+=("${SCHEME_VARIANTS[1]}")
echo -e "Nord ColorScheme version! ..." echo -e "\nNord ColorScheme version! ..."
shift shift
;; ;;
dracula) dracula)
colorscheme='true' colorscheme='true'
schemes+=("${SCHEME_VARIANTS[2]}") schemes+=("${SCHEME_VARIANTS[2]}")
echo -e "Dracula ColorScheme version! ..." echo -e "\nDracula ColorScheme version! ..."
shift shift
;; ;;
gruvbox) gruvbox)
colorscheme='true' colorscheme='true'
schemes+=("${SCHEME_VARIANTS[3]}") schemes+=("${SCHEME_VARIANTS[3]}")
echo -e "Gruvbox ColorScheme version! ..." echo -e "\nGruvbox ColorScheme version! ..."
shift shift
;; ;;
everforest) everforest)
colorscheme='true' colorscheme='true'
schemes+=("${SCHEME_VARIANTS[4]}") schemes+=("${SCHEME_VARIANTS[4]}")
echo -e "Everforest ColorScheme version! ..." echo -e "\nEverforest ColorScheme version! ..."
shift
;;
catppuccin)
colorscheme='true'
schemes+=("${SCHEME_VARIANTS[5]}")
echo -e "\nCatppuccin ColorScheme version! ..."
shift shift
;; ;;
all) all)
@@ -327,31 +366,31 @@ while [[ $# -gt 0 ]]; do
;; ;;
black) black)
blackness="true" blackness="true"
echo -e "Blackness version! ..." echo -e "\nBlackness version! ..."
shift shift
;; ;;
rimless) rimless)
rimless="true" rimless="true"
echo -e "Rimless version! ..." echo -e "\nRimless version! ..."
shift shift
;; ;;
normal) normal)
normal="true" normal="true"
window="-Normal" window="-Normal"
echo -e "Normal window button version! ..." echo -e "\nNormal window button version! ..."
shift shift
;; ;;
float) float)
float="true" float="true"
echo -e "Install Floating Gnome-Shell Panel version! ..." echo -e "\nInstall Floating Gnome-Shell Panel version! ..."
shift shift
;; ;;
-*) -*)
break break
;; ;;
*) *)
echo "ERROR: Unrecognized tweaks variant '$1'." echo -e "\nERROR: Unrecognized tweaks variant '$1'."
echo "Try '$0 --help' for more information." echo -e "\nTry '$0 --help' for more information."
exit 1 exit 1
;; ;;
esac esac
@@ -362,30 +401,30 @@ while [[ $# -gt 0 ]]; do
exit 0 exit 0
;; ;;
*) *)
echo "ERROR: Unrecognized installation option '$1'." echo -e "\nERROR: Unrecognized installation option '$1'."
echo "Try '$0 --help' for more information." echo -e "\nTry '$0 --help' for more information."
exit 1 exit 1
;; ;;
esac esac
done done
if [[ "${#themes[@]}" -eq 0 ]] ; then if [[ "${#themes[@]}" -eq 0 ]]; then
themes=("${THEME_VARIANTS[0]}") themes=("${THEME_VARIANTS[0]}")
fi fi
if [[ "${#colors[@]}" -eq 0 ]] ; then if [[ "${#colors[@]}" -eq 0 ]]; then
colors=("${COLOR_VARIANTS[@]}") colors=("${COLOR_VARIANTS[@]}")
fi fi
if [[ "${#lcolors[@]}" -eq 0 ]] ; then if [[ "${#lcolors[@]}" -eq 0 ]]; then
lcolors=("${COLOR_VARIANTS[1]}") lcolors=("${COLOR_VARIANTS[1]}")
fi fi
if [[ "${#sizes[@]}" -eq 0 ]] ; then if [[ "${#sizes[@]}" -eq 0 ]]; then
sizes=("${SIZE_VARIANTS[0]}") sizes=("${SIZE_VARIANTS[0]}")
fi fi
if [[ "${#schemes[@]}" -eq 0 ]] ; then if [[ "${#schemes[@]}" -eq 0 ]]; then
schemes=("${SCHEME_VARIANTS[0]}") schemes=("${SCHEME_VARIANTS[0]}")
fi fi
@@ -400,12 +439,14 @@ install_package() {
echo sassc needs to be installed to generate the css. echo sassc needs to be installed to generate the css.
if has_command zypper; then if has_command zypper; then
sudo zypper in sassc sudo zypper in sassc
elif has_command apt; then
sudo apt install sassc
elif has_command apt-get; then elif has_command apt-get; then
sudo apt-get install sassc sudo apt-get install sassc
elif has_command dnf; then elif has_command dnf; then
sudo dnf install sassc sudo dnf install sassc
elif has_command dnf; then elif has_command yum; then
sudo dnf install sassc sudo yum install sassc
elif has_command pacman; then elif has_command pacman; then
sudo pacman -S --noconfirm sassc sudo pacman -S --noconfirm sassc
fi fi
@@ -435,12 +476,19 @@ color_schemes() {
-Everforest) -Everforest)
scheme_color='everforest' scheme_color='everforest'
;; ;;
-Catppuccin)
scheme_color='catppuccin'
;;
esac esac
sed -i "/\@import/s/color-palette-default/color-palette-${scheme_color}/" "${SRC_DIR}/sass/_tweaks-temp.scss" sed -i "/\@import/s/color-palette-default/color-palette-${scheme_color}/" "${SRC_DIR}/sass/_tweaks-temp.scss"
sed -i "/\$colorscheme:/s/default/${scheme_color}/" "${SRC_DIR}/sass/_tweaks-temp.scss" sed -i "/\$colorscheme:/s/default/${scheme_color}/" "${SRC_DIR}/sass/_tweaks-temp.scss"
fi fi
} }
color_type() {
sed -i "/\$colortype:/s/system/fixed/" "${SRC_DIR}/sass/_tweaks-temp.scss"
}
blackness_color() { blackness_color() {
sed -i "/\$blackness:/s/false/true/" "${SRC_DIR}/sass/_tweaks-temp.scss" sed -i "/\$blackness:/s/false/true/" "${SRC_DIR}/sass/_tweaks-temp.scss"
} }
@@ -463,7 +511,13 @@ gnome_shell_version() {
sed -i "/\widgets/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss" sed -i "/\widgets/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
if [[ "${GS_VERSION}" == '3-28' ]]; then if [[ "${GS_VERSION}" == '3-28' ]]; then
sed -i "/\extensions/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss" sed -i "/\extensions/s/40-0/3-28/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
elif [[ "${GS_VERSION}" -ge '46-0' ]]; then
sed -i "/\extensions/s/40-0/46-0/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
fi
if [[ "${SHELL_VERSION:-}" -ge "47" ]]; then
sed -i "/\gnome_version/s/default/new/" "${SRC_DIR}/sass/_tweaks-temp.scss"
fi fi
} }
@@ -512,6 +566,10 @@ theme_tweaks() {
compact_size compact_size
fi fi
if [[ "$colortype" = "fixed" ]] ; then
color_type
fi
if [[ "$colorscheme" = "true" ]] ; then if [[ "$colorscheme" = "true" ]] ; then
color_schemes color_schemes
fi fi
@@ -533,8 +591,8 @@ theme_tweaks() {
fi fi
} }
uninstall_link() { uninstall_libadwaita() {
rm -rf "${HOME}/.config/gtk-4.0/"{assets,windows-assets,gtk.css,gtk-dark.css} rm -rf "${HOME}/.config/gtk-4.0/"{assets,windows-assets,gtk.css,gtk-dark.css,gtk-Light.css,gtk-Dark.css}
} }
link_libadwaita() { link_libadwaita() {
@@ -549,7 +607,7 @@ link_libadwaita() {
rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css} rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css}
echo -e "\nLink '$THEME_DIR/gtk-4.0' to '${HOME}/.config/gtk-4.0' for libadwaita..." echo -e "\nLink '${THEME_DIR}/gtk-4.0' to '${HOME}/.config/gtk-4.0' for libadwaita...\n"
mkdir -p "${HOME}/.config/gtk-4.0" mkdir -p "${HOME}/.config/gtk-4.0"
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets" ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
@@ -557,6 +615,31 @@ link_libadwaita() {
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css" ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"
} }
libadwaita_theme() {
local dest="${1}"
local name="${2}"
local theme="${3}"
local color="${4}"
local size="${5}"
local scheme="${6}"
theme_tweaks
rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css}
echo -e "\nInstalling ${2}${3}${4}${5}${6} theme into '${HOME}/.config/gtk-4.0' for libadwaita..."
mkdir -p "${HOME}/.config/gtk-4.0"
cp -r "${SRC_DIR}/assets/gtk/assets" "${HOME}/.config/gtk-4.0"
cp -r "${SRC_DIR}/assets/gtk/symbolics/"*'.svg' "${HOME}/.config/gtk-4.0/assets"
if [[ "$colorscheme" = "true" || "$blackness" = "true" || "$colortype" = "fixed" ]] ; then
sassc $SASSC_OPT "${SRC_DIR}/main/libadwaita/libadwaita${color}.scss" "${HOME}/.config/gtk-4.0/gtk.css"
else
sassc $SASSC_OPT "${SRC_DIR}/main/libadwaita/libadwaita-Light.scss" "${HOME}/.config/gtk-4.0/gtk.css"
fi
}
link_theme() { link_theme() {
for theme in "${themes[@]}"; do for theme in "${themes[@]}"; do
for color in "${lcolors[@]}"; do for color in "${lcolors[@]}"; do
@@ -569,33 +652,12 @@ link_theme() {
done done
} }
clean() { install_libadwaita() {
local dest="${1}" for theme in "${themes[@]}"; do
local name="${2}" for color in "${lcolors[@]}"; do
local theme="${3}" for size in "${sizes[@]}"; do
local color="${4}" for scheme in "${schemes[@]}"; do
local size="${5}" libadwaita_theme "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
local scheme="${6}"
local screen="${7}"
local THEME_DIR="${1}/${2}${3}${4}${5}${6}${7}"
if [[ ${theme} == '' && ${color} == '' && ${size} == '' && ${scheme} == '' ]]; then
cleantheme='none'
elif [[ -d ${THEME_DIR} ]]; then
rm -rf ${THEME_DIR}
echo -e "Find: ${THEME_DIR} ! removing it ..."
fi
}
clean_theme() {
for theme in '' '-purple' '-pink' '-red' '-orange' '-yellow' '-green' '-teal' '-grey'; do
for color in '' '-light' '-dark'; do
for size in '' '-compact'; do
for scheme in '' '-nord' '-dracula' '-gruvbox' '-everforest'; do
for screen in '' '-hdpi' '-xhdpi'; do
clean "${dest:-${DEST_DIR}}" "${name:-${THEME_NAME}}" "${theme}" "${color}" "${size}" "${scheme}" "${screen}"
done
done done
done done
done done
@@ -634,33 +696,63 @@ uninstall() {
local THEME_DIR="${1}/${2}${3}${4}${5}${6}" local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
if [[ "$uninstall" == 'true' ]]; then
type='Uninstall'
else
type='Clean'
fi
if [[ -d "${THEME_DIR}" ]]; then if [[ -d "${THEME_DIR}" ]]; then
echo -e "Uninstall ${THEME_DIR}... " echo -e "${type} ${THEME_DIR}... "
rm -rf "${THEME_DIR}" rm -rf "${THEME_DIR}"{'','-hdpi','-xhdpi'}
fi fi
} }
uninstall_theme() { uninstall_theme() {
for theme in "${themes[@]}"; do for theme in "${THEME_VARIANTS[@]}"; do
for color in "${colors[@]}"; do for color in "${COLOR_VARIANTS[@]}"; do
for size in "${sizes[@]}"; do for size in "${SIZE_VARIANTS[@]}"; do
uninstall "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme" for scheme in "${SCHEME_VARIANTS[@]}"; do
uninstall "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
done
done done
done done
done done
} }
clean_theme() {
if [[ "$UID" != "$ROOT_UID" ]]; then
if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then
local dest="$HOME/.local/share/themes"
elif [[ "$DEST_DIR" == "$XDG_DATA_HOME/themes" || "$DEST_DIR" == "$HOME/.local/share/themes" ]]; then
local dest="$HOME/.themes"
fi
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
for size in "${sizes[@]}"; do
for scheme in "${schemes[@]}"; do
uninstall "${dest}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
done
done
done
done
fi
}
if [[ "$uninstall" == 'true' ]]; then if [[ "$uninstall" == 'true' ]]; then
if [[ "$libadwaita" == 'true' ]]; then if [[ "$libadwaita" == 'true' ]]; then
echo -e "\nUninstall ${HOME}/.config/gtk-4.0 links ..." echo -e "\nUninstall libadwaita theme from ${HOME}/.config/gtk-4.0 ..."
uninstall_link uninstall_libadwaita
else else
echo && uninstall_theme && uninstall_link echo && uninstall_theme && uninstall_libadwaita
fi fi
else else
install_package && tweaks_temp && gnome_shell_version && install_theme install_package && tweaks_temp
gnome_shell_version && echo && clean_theme && install_theme
if [[ "$libadwaita" == 'true' ]]; then if [[ "$libadwaita" == 'true' ]]; then
uninstall_link && link_theme uninstall_libadwaita && install_libadwaita
fi fi
fi fi

51
release/make-release.sh Executable file
View File

@@ -0,0 +1,51 @@
#! /bin/bash
THEME_DIR=$(cd $(dirname $0) && pwd)
THEME_NAME=Colloid
_THEME_VARIANTS=('' '-Purple' '-Pink' '-Red' '-Orange' '-Yellow' '-Green' '-Teal' '-Grey')
_SCHEME_VARIANTS=('' '-Nord' '-Dracula' '-Gruvbox' '-Everforest' '-Catppuccin')
_COLOR_VARIANTS=('' '-Light' '-Dark')
_SIZE_VARIANTS=('' '-Compact')
if [ ! -z "${COLOR_VARIANTS:-}" ]; then
IFS=', ' read -r -a _COLOR_VARIANTS <<< "${COLOR_VARIANTS:-}"
fi
if [ ! -z "${SCHEME_VARIANTS:-}" ]; then
IFS=', ' read -r -a _SCHEME_VARIANTS <<< "${SCHEME_VARIANTS:-}"
fi
if [ ! -z "${THEME_VARIANTS:-}" ]; then
IFS=', ' read -r -a _THEME_VARIANTS <<< "${THEME_VARIANTS:-}"
fi
if [ ! -z "${SIZE_VARIANTS:-}" ]; then
IFS=', ' read -r -a _SIZE_VARIANTS <<< "${SIZE_VARIANTS:-}"
fi
Tar_themes() {
for scheme in "${_SCHEME_VARIANTS[@]}"; do
rm -rf ${THEME_NAME}${scheme}.tar
rm -rf ${THEME_NAME}${scheme}.tar.xz
done
for scheme in "${_SCHEME_VARIANTS[@]}"; do
tar -Jcvf ${THEME_NAME}${theme}${scheme}.tar.xz ${THEME_NAME}{'','-Purple','-Pink','-Red','-Orange','-Yellow','-Green','-Teal','-Grey'}{'','-Light','-Dark'}${scheme}
done
}
Clear_theme() {
for theme in "${_THEME_VARIANTS[@]}"; do
for color in "${_COLOR_VARIANTS[@]}"; do
for scheme in "${_SCHEME_VARIANTS[@]}"; do
rm -rf ${THEME_NAME}${theme}${color}${scheme}{'','-hdpi','-xhdpi'}
done
done
done
}
cd .. && ./install.sh -d $THEME_DIR --tweaks all -t all
cd $THEME_DIR && Tar_themes && Clear_theme

BIN
screencast.mp4 Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

Some files were not shown because too many files have changed in this diff Show More