mirror of
https://github.com/vinceliuice/Colloid-icon-theme.git
synced 2026-07-16 03:40:19 -07:00
Merge branch 'vinceliuice:main' into main
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
@@ -0,0 +1 @@
|
||||
notifications-disabled.svg
|
||||
@@ -0,0 +1 @@
|
||||
notifications.svg
|
||||
@@ -0,0 +1 @@
|
||||
document-edit-sign.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
system-reboot.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
@@ -1 +1 @@
|
||||
edit-paste-in-place.svg
|
||||
flag-red.svg
|
||||
@@ -0,0 +1 @@
|
||||
align-vertical-top-to-anchor.svg
|
||||
@@ -1 +1 @@
|
||||
list-remove.svg
|
||||
edit-delete.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
@@ -0,0 +1 @@
|
||||
document-edit-sign.svg
|
||||
@@ -0,0 +1 @@
|
||||
edit-find.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
system-reboot.svg
|
||||
@@ -0,0 +1 @@
|
||||
tools-check-spelling.svg
|
||||
@@ -0,0 +1 @@
|
||||
window-pin.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
high-brightness.svg
|
||||
@@ -0,0 +1 @@
|
||||
edit-clear.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
@@ -0,0 +1 @@
|
||||
org.remmina.Remmina-pan-up-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-fms.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-fsm.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-mfs.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-msf.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-sfm.svg
|
||||
@@ -0,0 +1 @@
|
||||
paint-order-smf.svg
|
||||
@@ -0,0 +1 @@
|
||||
document-edit-sign.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
system-reboot.svg
|
||||
@@ -0,0 +1 @@
|
||||
window-pin.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
system-search.svg
|
||||
@@ -1 +0,0 @@
|
||||
../../preferences/32/preferences-system-users.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
edit-find.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
open-menu.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
system-search.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
system-search.svg
|
||||
@@ -0,0 +1 @@
|
||||
tools-check-spelling.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
@@ -0,0 +1 @@
|
||||
application-menu-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
ephy-download-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
camera-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
none-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
diagnostics-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
flag-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
microphone-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
adw-entry-apply-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
trash-symbolic.svg
|
||||
@@ -0,0 +1 @@
|
||||
system-lock-screen-symbolic.svg
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
applications-internet.svg
|
||||
@@ -0,0 +1 @@
|
||||
applications-education-language.svg
|
||||
@@ -0,0 +1 @@
|
||||
applications-internet.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
printer.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
printer.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../actions/22/office-chart-pie.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
drive-harddisk.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
phone.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
audio-headphones.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
audio-headset.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
audio-card.svg
|
||||
@@ -0,0 +1 @@
|
||||
kdeconnect.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../actions/22/tools-media-optical-burn.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../actions/22/tools-media-optical-burn.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
audio-input-microphone.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../actions/22/document-print.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
video-television.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
camera-web.svg
|
||||
@@ -0,0 +1 @@
|
||||
battery-profile-performance.svg
|
||||
@@ -0,0 +1 @@
|
||||
battery-profile-powersave.svg
|
||||
@@ -0,0 +1 @@
|
||||
printer.svg
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
printer.svg
|
||||
@@ -0,0 +1 @@
|
||||
device-notifier.svg
|
||||
@@ -0,0 +1 @@
|
||||
kdeconnect.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
printer.svg
|
||||
@@ -0,0 +1 @@
|
||||
media-optical.svg
|
||||
@@ -0,0 +1 @@
|
||||
media-album-cover-manager-amarok.svg
|
||||
@@ -0,0 +1 @@
|
||||
media-cdrom-audio.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
computer.svg
|
||||
@@ -0,0 +1 @@
|
||||
application-x-xopp.svg
|
||||
@@ -1 +0,0 @@
|
||||
battery-full-charging.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-anthy.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-cangjie.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-chewing.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-erbi.svg
|
||||
@@ -0,0 +1 @@
|
||||
fcitx-googlepinyin.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-hangul.svg
|
||||
+1
@@ -0,0 +1 @@
|
||||
fcitx-kkc.svg
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user