Merge branch 'vinceliuice:main' into main

This commit is contained in:
Clark Jacob
2024-06-08 19:42:12 +08:00
committed by GitHub
1104 changed files with 9383 additions and 2057 deletions
+1
View File
@@ -17,6 +17,7 @@ Usage: `./install.sh` **[OPTIONS...]**
-n, --name NAME Specify theme name (Default: Colloid)
-s, --scheme TYPES Specify folder color scheme variant(s) [default|nord|dracula|all]
-t, --theme VARIANTS Specify folder color variant(s) [default|purple|pink|red|orange|yellow|green|teal|grey|all] (Default: blue)
-notint, --notint Disable Follow ColorSheme for folders on KDE Plasma
-h, --help Show help
```
> For example: install teal nord version -> run: `./install.sh -s nord -t teal`
+17 -8
View File
@@ -28,6 +28,7 @@ cat << EOF
-n, --name NAME Specify theme name (Default: $THEME_NAME)
-s, --scheme TYPES Specify folder color scheme variant(s) [default|nord|dracula|all]
-t, --theme VARIANTS Specify folder color theme variant(s) [default|purple|pink|red|orange|yellow|green|teal|grey|all] (Default: blue)
-notint, --notint Disable Follow ColorSheme for folders on KDE Plasma
-h, --help Show help
EOF
}
@@ -41,7 +42,7 @@ install() {
local THEME_DIR=${1}/${2}${3}${4}${5}
[[ -d ${THEME_DIR} ]] && rm -rf ${THEME_DIR}
[[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}"
echo "Installing '${THEME_DIR}'..."
@@ -49,35 +50,39 @@ install() {
cp -r "${SRC_DIR}"/src/index.theme ${THEME_DIR}
sed -i "s/Colloid/${2}${3}${4}${5}/g" ${THEME_DIR}/index.theme
if [[ ${color} == '-light' ]]; then
if [[ "${color}" == '-light' ]]; then
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} ${THEME_DIR}
cp -r "${SRC_DIR}"/links/* ${THEME_DIR}
if [[ ${theme} != '' ]]; then
if [[ "${theme}" != '' ]]; then
cp -r "${SRC_DIR}"/colors/color${theme}${scheme}/*.svg ${THEME_DIR}/places/scalable
elif [[ ${scheme} != '' ]]; then
cp -r "${SRC_DIR}"/colors/color-blue${scheme}/*.svg ${THEME_DIR}/places/scalable
fi
if [[ "${theme}" == '' && "${scheme}" == '' && "${notint}" == 'true' ]]; then
cp -r "${SRC_DIR}"/notint/*.svg ${THEME_DIR}/places/scalable
fi
fi
if [[ ${color} == '-dark' ]]; then
if [[ "${color}" == '-dark' ]]; then
mkdir -p ${THEME_DIR}/{apps,categories,devices,emblems,mimetypes,places,status}
cp -r "${SRC_DIR}"/src/actions ${THEME_DIR}
cp -r "${SRC_DIR}"/src/apps/symbolic ${THEME_DIR}/apps
cp -r "${SRC_DIR}"/src/categories/symbolic ${THEME_DIR}/categories
cp -r "${SRC_DIR}"/src/emblems/symbolic ${THEME_DIR}/emblems
cp -r "${SRC_DIR}"/src/mimetypes/symbolic ${THEME_DIR}/mimetypes
cp -r "${SRC_DIR}"/src/devices/{16,22,24,symbolic} ${THEME_DIR}/devices
cp -r "${SRC_DIR}"/src/devices/{16,22,24,32,symbolic} ${THEME_DIR}/devices
cp -r "${SRC_DIR}"/src/places/{16,22,24,symbolic} ${THEME_DIR}/places
cp -r "${SRC_DIR}"/src/status/{16,22,24,symbolic} ${THEME_DIR}/status
# Change icon color for dark theme
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/{actions,devices,places,status}/{16,22,24}/*
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/actions/32/*
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/{actions,devices}/32/*
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/{actions,apps,categories,devices,emblems,mimetypes,places,status}/symbolic/*
cp -r "${SRC_DIR}"/links/actions/{16,22,24,32,symbolic} ${THEME_DIR}/actions
cp -r "${SRC_DIR}"/links/devices/{16,22,24,symbolic} ${THEME_DIR}/devices
cp -r "${SRC_DIR}"/links/devices/{16,22,24,32,symbolic} ${THEME_DIR}/devices
cp -r "${SRC_DIR}"/links/places/{16,22,24,symbolic} ${THEME_DIR}/places
cp -r "${SRC_DIR}"/links/status/{16,22,24,symbolic} ${THEME_DIR}/status
cp -r "${SRC_DIR}"/links/apps/symbolic ${THEME_DIR}/apps
@@ -95,7 +100,7 @@ install() {
ln -sf ../../${name}${theme}${scheme}-light/mimetypes/scalable ${name}${theme}${scheme}-dark/mimetypes/scalable
fi
if [[ ${color} == '' ]]; then
if [[ "${color}" == '' ]]; then
mkdir -p ${THEME_DIR}/status
cp -r "${SRC_DIR}"/src/status/{16,22,24} ${THEME_DIR}/status
# Change icon color for dark panel
@@ -140,6 +145,10 @@ while [[ "$#" -gt 0 ]]; do
name="${2}"
shift 2
;;
-notint|--notint)
notint='true'
shift
;;
-s|--scheme)
shift
for scheme in "${@}"; do
+1
View File
@@ -0,0 +1 @@
tool_imageeffects.svg
+1
View File
@@ -0,0 +1 @@
notifications-disabled.svg
+1
View File
@@ -0,0 +1 @@
notifications.svg
+1
View File
@@ -0,0 +1 @@
document-edit-sign.svg
+1
View File
@@ -0,0 +1 @@
system-reboot.svg
+1
View File
@@ -0,0 +1 @@
zoom-original.svg
+1
View File
@@ -0,0 +1 @@
zoom-fit-best.svg
+1 -1
View File
@@ -1 +1 @@
edit-paste-in-place.svg
flag-red.svg
+1
View File
@@ -0,0 +1 @@
align-vertical-top-to-anchor.svg
+1 -1
View File
@@ -1 +1 @@
list-remove.svg
edit-delete.svg
+1
View File
@@ -0,0 +1 @@
tool_imageeffects.svg
+1
View File
@@ -0,0 +1 @@
document-edit-sign.svg
+1
View File
@@ -0,0 +1 @@
edit-find.svg
+1
View File
@@ -0,0 +1 @@
system-reboot.svg
+1
View File
@@ -0,0 +1 @@
tools-check-spelling.svg
+1
View File
@@ -0,0 +1 @@
window-pin.svg
+1
View File
@@ -0,0 +1 @@
zoom-original.svg
+1
View File
@@ -0,0 +1 @@
zoom-fit-best.svg
+1
View File
@@ -0,0 +1 @@
high-brightness.svg
+1
View File
@@ -0,0 +1 @@
edit-clear.svg
+1
View File
@@ -0,0 +1 @@
tool_imageeffects.svg
@@ -0,0 +1 @@
org.remmina.Remmina-pan-up-symbolic.svg
+1
View File
@@ -0,0 +1 @@
paint-order-fms.svg
+1
View File
@@ -0,0 +1 @@
paint-order-fsm.svg
+1
View File
@@ -0,0 +1 @@
paint-order-mfs.svg
+1
View File
@@ -0,0 +1 @@
paint-order-msf.svg
+1
View File
@@ -0,0 +1 @@
paint-order-sfm.svg
+1
View File
@@ -0,0 +1 @@
paint-order-smf.svg
+1
View File
@@ -0,0 +1 @@
document-edit-sign.svg
+1
View File
@@ -0,0 +1 @@
system-reboot.svg
+1
View File
@@ -0,0 +1 @@
window-pin.svg
+1
View File
@@ -0,0 +1 @@
zoom-original.svg
+1
View File
@@ -0,0 +1 @@
zoom-fit-best.svg
+1
View File
@@ -0,0 +1 @@
system-search.svg
-1
View File
@@ -1 +0,0 @@
../../preferences/32/preferences-system-users.svg
+1
View File
@@ -0,0 +1 @@
edit-find.svg
+1
View File
@@ -0,0 +1 @@
open-menu.svg
+1
View File
@@ -0,0 +1 @@
system-search.svg
+1
View File
@@ -0,0 +1 @@
system-search.svg
+1
View File
@@ -0,0 +1 @@
tools-check-spelling.svg
+1
View File
@@ -0,0 +1 @@
zoom-original.svg
+1
View File
@@ -0,0 +1 @@
zoom-fit-best.svg
+1
View File
@@ -0,0 +1 @@
application-menu-symbolic.svg
+1
View File
@@ -0,0 +1 @@
ephy-download-symbolic.svg
+1
View File
@@ -0,0 +1 @@
camera-symbolic.svg
+1
View File
@@ -0,0 +1 @@
none-symbolic.svg
@@ -0,0 +1 @@
diagnostics-symbolic.svg
+1
View File
@@ -0,0 +1 @@
flag-symbolic.svg
@@ -0,0 +1 @@
microphone-symbolic.svg
+1
View File
@@ -0,0 +1 @@
adw-entry-apply-symbolic.svg
+1
View File
@@ -0,0 +1 @@
trash-symbolic.svg
+1
View File
@@ -0,0 +1 @@
system-lock-screen-symbolic.svg
+1
View File
@@ -0,0 +1 @@
application-menu-symbolic.svg
@@ -1 +1 @@
../../mimetypes/symbolic/font-x-generic-symbolic.svg
../../mimes/symbolic/font-x-generic-symbolic.svg
@@ -0,0 +1 @@
trash-symbolic.svg
+1
View File
@@ -0,0 +1 @@
emblem-synchronizing-symbolic.svg
@@ -1 +0,0 @@
preferences-desktop-display.svg
@@ -0,0 +1 @@
preferences-desktop-remote-desktop-symbolic.svg
@@ -0,0 +1 @@
preferences-system-symbolic.svg
@@ -0,0 +1 @@
applications-education-language.svg
+1
View File
@@ -0,0 +1 @@
applications-internet.svg
+1
View File
@@ -0,0 +1 @@
applications-education-language.svg
+1
View File
@@ -0,0 +1 @@
applications-internet.svg
+1
View File
@@ -0,0 +1 @@
printer.svg
+1
View File
@@ -0,0 +1 @@
printer.svg
+1
View File
@@ -0,0 +1 @@
../../actions/22/office-chart-pie.svg
+1
View File
@@ -0,0 +1 @@
drive-harddisk.svg
+1
View File
@@ -0,0 +1 @@
phone.svg
+1
View File
@@ -0,0 +1 @@
audio-headphones.svg
+1
View File
@@ -0,0 +1 @@
audio-headset.svg
+1
View File
@@ -0,0 +1 @@
audio-card.svg
+1
View File
@@ -0,0 +1 @@
kdeconnect.svg
+1
View File
@@ -0,0 +1 @@
../../actions/22/tools-media-optical-burn.svg
+1
View File
@@ -0,0 +1 @@
../../actions/22/tools-media-optical-burn.svg
+1
View File
@@ -0,0 +1 @@
audio-input-microphone.svg
+1
View File
@@ -0,0 +1 @@
../../actions/22/document-print.svg
+1
View File
@@ -0,0 +1 @@
video-television.svg
+1
View File
@@ -0,0 +1 @@
camera-web.svg
@@ -0,0 +1 @@
battery-profile-performance.svg
@@ -0,0 +1 @@
battery-profile-powersave.svg
+1
View File
@@ -0,0 +1 @@
printer.svg
+1
View File
@@ -0,0 +1 @@
printer.svg
+1
View File
@@ -0,0 +1 @@
device-notifier.svg
+1
View File
@@ -0,0 +1 @@
kdeconnect.svg
+1
View File
@@ -0,0 +1 @@
printer.svg
@@ -0,0 +1 @@
media-optical.svg
+1
View File
@@ -0,0 +1 @@
media-album-cover-manager-amarok.svg
+1
View File
@@ -0,0 +1 @@
media-cdrom-audio.svg
+1
View File
@@ -0,0 +1 @@
computer.svg
@@ -0,0 +1 @@
application-x-xopp.svg
-1
View File
@@ -1 +0,0 @@
battery-full-charging.svg
+1
View File
@@ -0,0 +1 @@
fcitx-anthy.svg
+1
View File
@@ -0,0 +1 @@
fcitx-cangjie.svg
+1
View File
@@ -0,0 +1 @@
fcitx-chewing.svg
+1
View File
@@ -0,0 +1 @@
fcitx-erbi.svg
+1
View File
@@ -0,0 +1 @@
fcitx-googlepinyin.svg
+1
View File
@@ -0,0 +1 @@
fcitx-hangul.svg
+1
View File
@@ -0,0 +1 @@
fcitx-kkc.svg

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