68 Commits

Author SHA1 Message Date
vinceliuice
15f9b99ef4 Merge branch 'main' of https://github.com/vinceliuice/Colloid-gtk-theme 2025-06-28 04:27:45 +08:00
vinceliuice
a25d492117 Update install.sh 2025-06-28 04:27:43 +08:00
Vince
6486d61532 Merge pull request #237 from Kyuyrii/main
Themes for Labwc
2025-06-28 04:25:48 +08:00
Kyuyrii
7561592086 Themerc files for Labwc 2025-06-25 21:04:27 -03:00
Kyuyrii
926424ec8f Assets for Labwc themes 2025-06-25 21:02:58 -03:00
Kyuyrii
3f7965a900 Added Labwc to the installer 2025-06-25 21:01:52 -03:00
vinceliuice
bc05f7cbfe update 2025-06-17 21:41:30 +08:00
vinceliuice
1f09381660 Update _nautilus.scss 2025-04-21 14:46:04 +08:00
vinceliuice
49171606dc update 2025-04-20 22:29:14 +08:00
vinceliuice
07c0f4aa7a update 2025-04-14 08:32:45 +08:00
vinceliuice
4edce1099c Fixed #227 2025-04-12 14:01:06 +08:00
vinceliuice
7538163d37 Fixed gnome-shell 48 issues 2025-04-11 14:44:01 +08:00
vinceliuice
967cae772c Update build.sh 2025-03-20 00:29:25 +08:00
vinceliuice
7ac2cd6b05 Fixed sticky notes issues 2025-02-26 12:58:37 +08:00
Vince
559faed606 Merge pull request #217 from Lassebq/gnome48-quicksettings
Fix quick settings for GNOME 48
2025-02-08 16:23:13 +08:00
Lassebq
d172cd3aa3 Fix quick settings for GNOME 48 2025-02-07 21:19:51 +02:00
vinceliuice
ef460f796f Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme 2025-01-11 18:38:17 +08:00
vinceliuice
57419ecc86 Fixed #209 2025-01-11 18:38:12 +08:00
Vince
e750f79a20 Merge pull request #210 from amogusussy/main
Add commands for void linux
2025-01-10 15:54:06 +08:00
amogusussy
8e2281b3d1 add command for build.sh 2025-01-05 16:30:57 +00:00
amogusussy
6cf0b9da6b add void linux command 2025-01-05 16:29:03 +00:00
vinceliuice
ace860be57 Fixed gnome-shell issues 2024-12-28 23:03:21 +08:00
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
6131 changed files with 22203 additions and 13510 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-Light.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

@@ -71,9 +71,23 @@ Default ColorSchemes themes will follow the system style now ! (switch [light/da
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)
### Flatpak Installation
### Flatpak Installation (gtk-3.0)
Automatically install your host GTK+ theme as a Flatpak. Use this:

140
assets.sh
View File

@@ -177,40 +177,40 @@ make_assets() {
if [[ "$scheme" == '-Everforest' ]]; then
case "$theme" in
'')
theme_color_dark='#458588'
theme_color_light='#83a598'
theme_color_dark='#3a94c5'
theme_color_light='#7fbbb3'
;;
-Purple)
theme_color_dark='#ab62b1'
theme_color_light='#d386cd'
theme_color_dark='#df69ba'
theme_color_light='#D699B6'
;;
-Pink)
theme_color_dark='#b16286'
theme_color_light='#d3869b'
;;
-Red)
theme_color_dark='#cc241d'
theme_color_light='#fb4934'
theme_color_dark='#f85552'
theme_color_light='#E67E80'
;;
-Orange)
theme_color_dark='#d65d0e'
theme_color_light='#fe8019'
theme_color_dark='#f57d26'
theme_color_light='#E69875'
;;
-Yellow)
theme_color_dark='#d79921'
theme_color_light='#fabd2f'
theme_color_dark='#dfa000'
theme_color_light='#DBBC7F'
;;
-Green)
theme_color_dark='#98971a'
theme_color_light='#b8bb26'
theme_color_dark='#8da101'
theme_color_light='#A7C080'
;;
-Teal)
theme_color_dark='#689d6a'
theme_color_light='#8ec07c'
theme_color_dark='#35a77c'
theme_color_light='#83C092'
;;
-Grey)
theme_color_dark='#3c3836'
theme_color_light='#a89984'
theme_color_dark='#414b50'
theme_color_light='#e6e2cc'
;;
esac
fi
@@ -400,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/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/assets${ELSE_LIGHT:-}${scheme}${window}-hdpi/"*.png "${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}/"*.svg "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/svg/assets${ELSE_LIGHT:-}${window}-hdpi/"*.svg "${THEME_DIR}-hdpi/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

@@ -10,13 +10,15 @@ if [ ! "$(which sassc 2> /dev/null)" ]; then
if has_command zypper; then
sudo zypper in sassc
elif has_command apt; then
sudo apt install sassc
sudo apt install -y sassc
elif has_command dnf; then
sudo dnf install -y sassc
elif has_command yum; then
sudo yum install sassc
sudo yum install -y sassc
elif has_command pacman; then
sudo pacman -S --noconfirm sassc
elif has_command xbps-install; then
sudo xbps-install -y sassc
fi
fi
@@ -35,6 +37,8 @@ for color in "${_COLOR_VARIANTS[@]}"; do
echo "==> Generating the 3.0 gtk${color}.css..."
sassc $SASSC_OPT src/main/gtk-4.0/gtk${color}.{scss,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}
echo "==> Generating the gnome-shell${color}.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

View File

@@ -178,40 +178,40 @@ make_gtkrc() {
if [[ "$scheme" == '-Everforest' ]]; then
case "$theme" in
'')
theme_color_dark='#458588'
theme_color_light='#83a598'
theme_color_dark='#3a94c5'
theme_color_light='#7fbbb3'
;;
-Purple)
theme_color_dark='#ab62b1'
theme_color_light='#d386cd'
theme_color_dark='#df69ba'
theme_color_light='#D699B6'
;;
-Pink)
theme_color_dark='#b16286'
theme_color_light='#d3869b'
;;
-Red)
theme_color_dark='#cc241d'
theme_color_light='#fb4934'
theme_color_dark='#f85552'
theme_color_light='#E67E80'
;;
-Orange)
theme_color_dark='#d65d0e'
theme_color_light='#fe8019'
theme_color_dark='#f57d26'
theme_color_light='#E69875'
;;
-Yellow)
theme_color_dark='#d79921'
theme_color_light='#fabd2f'
theme_color_dark='#dfa000'
theme_color_light='#DBBC7F'
;;
-Green)
theme_color_dark='#98971a'
theme_color_light='#b8bb26'
theme_color_dark='#8da101'
theme_color_light='#A7C080'
;;
-Teal)
theme_color_dark='#689d6a'
theme_color_light='#8ec07c'
theme_color_dark='#35a77c'
theme_color_light='#83C092'
;;
-Grey)
theme_color_dark='#3c3836'
theme_color_light='#a89984'
theme_color_dark='#414b50'
theme_color_light='#e6e2cc'
;;
esac
fi

View File

@@ -15,8 +15,14 @@ scheme=
window=
# Destination directory
if [ "$UID" -eq "$ROOT_UID" ]; then
if [[ "$UID" -eq "$ROOT_UID" ]]; then
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
DEST_DIR="$HOME/.themes"
fi
@@ -31,8 +37,14 @@ SIZE_VARIANTS=('' '-Compact')
if [[ "$(command -v gnome-shell)" ]]; then
echo && gnome-shell --version
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
if [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
if [[ "${SHELL_VERSION:-}" -ge "48" ]]; then
GS_VERSION="48-0"
elif [[ "${SHELL_VERSION:-}" -ge "47" ]]; then
GS_VERSION="47-0"
elif [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
GS_VERSION="46-0"
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
GS_VERSION="44-0"
@@ -45,7 +57,7 @@ if [[ "$(command -v gnome-shell)" ]]; then
fi
else
echo "'gnome-shell' not found, using styles for last gnome-shell version available."
GS_VERSION="46-0"
GS_VERSION="48-0"
fi
usage() {
@@ -70,7 +82,7 @@ OPTIONS:
2. fixed Using fixed theme colors (that will break light/dark mode switch)
--tweaks Specify versions for tweaks
1. [nord|dracula|gruvbox|everforest|catppuccin|all] (Nord/Dracula/Gruvbox/Everforet/Catppuccin/all) ColorSchemes version
1. [nord|dracula|gruvbox|everforest|catppuccin|all] (Nord/Dracula/Gruvbox/Everforest/Catppuccin/all) ColorSchemes version
2. black Blackness color version
3. rimless Remove the 1px border about windows and menus
4. normal Normal windows button style like gnome default theme (titlebuttons: max/min/close)
@@ -97,7 +109,7 @@ install() {
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}'..."
@@ -114,7 +126,7 @@ install() {
echo "[X-GNOME-Metatheme]" >> "${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 "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 "ButtonLayout=close,minimize,maximize:menu" >> "${THEME_DIR}/index.theme"
@@ -150,6 +162,10 @@ install() {
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"
mkdir -p "${THEME_DIR}/labwc"
cp "${SRC_DIR}/main/labwc/themerc${color}${scheme}" "${THEME_DIR}/labwc/themerc"
cp -r "${SRC_DIR}/assets/labwc/assets${color}/"*.svg "${THEME_DIR}/labwc/"
mkdir -p "${THEME_DIR}/plank"
if [[ "$color" == '-Light' ]]; then
cp -r "${SRC_DIR}/main/plank/theme-Light${scheme}/"* "${THEME_DIR}/plank"
@@ -400,23 +416,23 @@ while [[ $# -gt 0 ]]; do
esac
done
if [[ "${#themes[@]}" -eq 0 ]] ; then
if [[ "${#themes[@]}" -eq 0 ]]; then
themes=("${THEME_VARIANTS[0]}")
fi
if [[ "${#colors[@]}" -eq 0 ]] ; then
if [[ "${#colors[@]}" -eq 0 ]]; then
colors=("${COLOR_VARIANTS[@]}")
fi
if [[ "${#lcolors[@]}" -eq 0 ]] ; then
if [[ "${#lcolors[@]}" -eq 0 ]]; then
lcolors=("${COLOR_VARIANTS[1]}")
fi
if [[ "${#sizes[@]}" -eq 0 ]] ; then
if [[ "${#sizes[@]}" -eq 0 ]]; then
sizes=("${SIZE_VARIANTS[0]}")
fi
if [[ "${#schemes[@]}" -eq 0 ]] ; then
if [[ "${#schemes[@]}" -eq 0 ]]; then
schemes=("${SCHEME_VARIANTS[0]}")
fi
@@ -441,6 +457,8 @@ install_package() {
sudo yum install sassc
elif has_command pacman; then
sudo pacman -S --noconfirm sassc
elif has_command xbps-install; then
sudo xbps-install -y sassc
fi
fi
}
@@ -502,8 +520,14 @@ gnome_shell_version() {
sed -i "/\widgets/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
if [[ "${GS_VERSION}" != '40-0' && "${GS_VERSION}" != '42-0' && "${GS_VERSION}" != '44-0' ]]; then
sed -i "/\extensions/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
if [[ "${GS_VERSION}" == '3-28' ]]; then
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
}
@@ -682,20 +706,48 @@ uninstall() {
local THEME_DIR="${1}/${2}${3}${4}${5}${6}"
if [[ "$uninstall" == 'true' ]]; then
type='Uninstall'
else
type='Clean'
fi
if [[ -d "${THEME_DIR}" ]]; then
echo -e "Uninstall ${THEME_DIR}... "
rm -rf "${THEME_DIR}"
echo -e "${type} ${THEME_DIR}... "
rm -rf "${THEME_DIR}"{'','-hdpi','-xhdpi'}
fi
}
uninstall_theme() {
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
for size in "${sizes[@]}"; do
for theme in "${THEME_VARIANTS[@]}"; do
for color in "${COLOR_VARIANTS[@]}"; do
for size in "${SIZE_VARIANTS[@]}"; do
for scheme in "${SCHEME_VARIANTS[@]}"; do
uninstall "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
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
@@ -707,7 +759,7 @@ if [[ "$uninstall" == 'true' ]]; then
fi
else
install_package && tweaks_temp
gnome_shell_version && echo && install_theme
gnome_shell_version && echo && clean_theme && install_theme
if [[ "$libadwaita" == 'true' ]]; then
uninstall_libadwaita && install_libadwaita

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 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: 422 B

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 473 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: 164 B

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 B

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 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: 389 B

After

Width:  |  Height:  |  Size: 389 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: 326 B

After

Width:  |  Height:  |  Size: 326 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: 439 B

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 473 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: 389 B

After

Width:  |  Height:  |  Size: 389 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: 164 B

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 B

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 518 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: 389 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: 422 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 371 B

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