From 1bd6dc3c75ffec6e5542fc64dfd635733a81b0b3 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 25 Dec 2020 12:29:27 +0800 Subject: [PATCH] update --- install.sh | 6 +- .../gnome-shell/assets-dark/checkbox-off.svg | 5 +- src/assets/gnome-shell/assets-dark/close.svg | 3 - .../gnome-shell/assets-dark/no-events.svg | 4 +- .../assets-dark/no-notifications.svg | 8 +- .../gnome-shell/assets-light/checkbox-off.svg | 5 +- src/assets/gnome-shell/assets-light/close.svg | 3 - .../gnome-shell/assets-light/no-events.svg | 4 +- .../assets-light/no-notifications.svg | 8 +- .../gnome-shell/common-assets/checkbox.svg | 79 +++------- .../common-assets/more-results.svg | 77 +--------- .../gnome-shell/common-assets/toggle-on.svg | 136 ++---------------- .../common-assets/window-close-active.svg | 110 ++------------ .../common-assets/window-close-hover.svg | 110 ++------------ .../common-assets/window-close.svg | 110 ++------------ .../{ => scalable/actions}/color-pick.svg | 0 .../pointer-double-click-symbolic.svg | 0 .../actions}/pointer-drag-symbolic.svg | 0 .../pointer-primary-click-symbolic.svg | 0 .../pointer-secondary-click-symbolic.svg | 0 .../status}/eye-not-looking-symbolic.svg | 0 .../eye-open-negative-filled-symbolic.svg | 0 .../keyboard-caps-lock-filled-symbolic.svg | 0 .../status}/keyboard-enter-symbolic.svg | 0 .../status}/keyboard-hide-symbolic.svg | 0 .../keyboard-layout-filled-symbolic.svg | 0 .../keyboard-shift-filled-symbolic.svg | 0 .../status}/message-indicator-symbolic.svg | 0 .../gnome-shell-theme.gresource.xml | 33 +++-- 29 files changed, 105 insertions(+), 596 deletions(-) delete mode 100644 src/assets/gnome-shell/assets-dark/close.svg delete mode 100644 src/assets/gnome-shell/assets-light/close.svg rename src/assets/gnome-shell/icons/{ => scalable/actions}/color-pick.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/actions}/pointer-double-click-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/actions}/pointer-drag-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/actions}/pointer-primary-click-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/actions}/pointer-secondary-click-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/eye-not-looking-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/eye-open-negative-filled-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/keyboard-caps-lock-filled-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/keyboard-enter-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/keyboard-hide-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/keyboard-layout-filled-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/keyboard-shift-filled-symbolic.svg (100%) rename src/assets/gnome-shell/icons/{ => scalable/status}/message-indicator-symbolic.svg (100%) diff --git a/install.sh b/install.sh index 756e0bc..0a3607d 100755 --- a/install.sh +++ b/install.sh @@ -118,9 +118,9 @@ install() { cp -r ${SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg ${THEME_DIR}/gnome-shell/assets/activities.svg cd "${THEME_DIR}/gnome-shell" - ln -s assets/no-events.svg no-events.svg - ln -s assets/process-working.svg process-working.svg - ln -s assets/no-notifications.svg no-notifications.svg + mv -f assets/no-events.svg no-events.svg + mv -f assets/process-working.svg process-working.svg + mv -f assets/no-notifications.svg no-notifications.svg if [[ ${alt} == '-alt' || ${opacity} == '-solid' ]] && [[ ${color} == '-light' ]]; then cp -r ${SRC_DIR}/assets/gnome-shell/activities-black/activities${icon}.svg ${THEME_DIR}/gnome-shell/assets/activities.svg diff --git a/src/assets/gnome-shell/assets-dark/checkbox-off.svg b/src/assets/gnome-shell/assets-dark/checkbox-off.svg index 0c5e5a0..863d2eb 100644 --- a/src/assets/gnome-shell/assets-dark/checkbox-off.svg +++ b/src/assets/gnome-shell/assets-dark/checkbox-off.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/src/assets/gnome-shell/assets-dark/close.svg b/src/assets/gnome-shell/assets-dark/close.svg deleted file mode 100644 index 984240c..0000000 --- a/src/assets/gnome-shell/assets-dark/close.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/gnome-shell/assets-dark/no-events.svg b/src/assets/gnome-shell/assets-dark/no-events.svg index fd56f6b..3a0fca6 100644 --- a/src/assets/gnome-shell/assets-dark/no-events.svg +++ b/src/assets/gnome-shell/assets-dark/no-events.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/assets/gnome-shell/assets-dark/no-notifications.svg b/src/assets/gnome-shell/assets-dark/no-notifications.svg index 7733357..0630181 100644 --- a/src/assets/gnome-shell/assets-dark/no-notifications.svg +++ b/src/assets/gnome-shell/assets-dark/no-notifications.svg @@ -1,6 +1,4 @@ - - - - - + + + diff --git a/src/assets/gnome-shell/assets-light/checkbox-off.svg b/src/assets/gnome-shell/assets-light/checkbox-off.svg index 14ff8d2..024556e 100644 --- a/src/assets/gnome-shell/assets-light/checkbox-off.svg +++ b/src/assets/gnome-shell/assets-light/checkbox-off.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/src/assets/gnome-shell/assets-light/close.svg b/src/assets/gnome-shell/assets-light/close.svg deleted file mode 100644 index 12a0359..0000000 --- a/src/assets/gnome-shell/assets-light/close.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/gnome-shell/assets-light/no-events.svg b/src/assets/gnome-shell/assets-light/no-events.svg index 4339d54..41f0fba 100644 --- a/src/assets/gnome-shell/assets-light/no-events.svg +++ b/src/assets/gnome-shell/assets-light/no-events.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/assets/gnome-shell/assets-light/no-notifications.svg b/src/assets/gnome-shell/assets-light/no-notifications.svg index 498a753..d790627 100644 --- a/src/assets/gnome-shell/assets-light/no-notifications.svg +++ b/src/assets/gnome-shell/assets-light/no-notifications.svg @@ -1,6 +1,4 @@ - - - - - + + + diff --git a/src/assets/gnome-shell/common-assets/checkbox.svg b/src/assets/gnome-shell/common-assets/checkbox.svg index 6c0812b..a9cbc9d 100644 --- a/src/assets/gnome-shell/common-assets/checkbox.svg +++ b/src/assets/gnome-shell/common-assets/checkbox.svg @@ -1,60 +1,21 @@ - - - - - - image/svg+xml - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/gnome-shell/common-assets/more-results.svg b/src/assets/gnome-shell/common-assets/more-results.svg index da52d53..c5c4236 100644 --- a/src/assets/gnome-shell/common-assets/more-results.svg +++ b/src/assets/gnome-shell/common-assets/more-results.svg @@ -1,73 +1,6 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + diff --git a/src/assets/gnome-shell/common-assets/toggle-on.svg b/src/assets/gnome-shell/common-assets/toggle-on.svg index 8ca6b4d..7fdefdc 100644 --- a/src/assets/gnome-shell/common-assets/toggle-on.svg +++ b/src/assets/gnome-shell/common-assets/toggle-on.svg @@ -1,123 +1,17 @@ - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/src/assets/gnome-shell/common-assets/window-close-active.svg b/src/assets/gnome-shell/common-assets/window-close-active.svg index a31d8f7..0dde2b9 100644 --- a/src/assets/gnome-shell/common-assets/window-close-active.svg +++ b/src/assets/gnome-shell/common-assets/window-close-active.svg @@ -1,100 +1,10 @@ - - - -image/svg+xml + + + + + + + + + + diff --git a/src/assets/gnome-shell/common-assets/window-close-hover.svg b/src/assets/gnome-shell/common-assets/window-close-hover.svg index 1211884..37f8806 100644 --- a/src/assets/gnome-shell/common-assets/window-close-hover.svg +++ b/src/assets/gnome-shell/common-assets/window-close-hover.svg @@ -1,100 +1,10 @@ - - - -image/svg+xml + + + + + + + + + + diff --git a/src/assets/gnome-shell/common-assets/window-close.svg b/src/assets/gnome-shell/common-assets/window-close.svg index 3694958..5dcc697 100644 --- a/src/assets/gnome-shell/common-assets/window-close.svg +++ b/src/assets/gnome-shell/common-assets/window-close.svg @@ -1,100 +1,10 @@ - - - -image/svg+xml + + + + + + + + + + diff --git a/src/assets/gnome-shell/icons/color-pick.svg b/src/assets/gnome-shell/icons/scalable/actions/color-pick.svg similarity index 100% rename from src/assets/gnome-shell/icons/color-pick.svg rename to src/assets/gnome-shell/icons/scalable/actions/color-pick.svg diff --git a/src/assets/gnome-shell/icons/pointer-double-click-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/pointer-double-click-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/pointer-double-click-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/pointer-double-click-symbolic.svg diff --git a/src/assets/gnome-shell/icons/pointer-drag-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/pointer-drag-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/pointer-drag-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/pointer-drag-symbolic.svg diff --git a/src/assets/gnome-shell/icons/pointer-primary-click-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/pointer-primary-click-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/pointer-primary-click-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/pointer-primary-click-symbolic.svg diff --git a/src/assets/gnome-shell/icons/pointer-secondary-click-symbolic.svg b/src/assets/gnome-shell/icons/scalable/actions/pointer-secondary-click-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/pointer-secondary-click-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/actions/pointer-secondary-click-symbolic.svg diff --git a/src/assets/gnome-shell/icons/eye-not-looking-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/eye-not-looking-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/eye-not-looking-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/eye-not-looking-symbolic.svg diff --git a/src/assets/gnome-shell/icons/eye-open-negative-filled-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/eye-open-negative-filled-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/eye-open-negative-filled-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/eye-open-negative-filled-symbolic.svg diff --git a/src/assets/gnome-shell/icons/keyboard-caps-lock-filled-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-caps-lock-filled-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/keyboard-caps-lock-filled-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/keyboard-caps-lock-filled-symbolic.svg diff --git a/src/assets/gnome-shell/icons/keyboard-enter-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-enter-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/keyboard-enter-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/keyboard-enter-symbolic.svg diff --git a/src/assets/gnome-shell/icons/keyboard-hide-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-hide-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/keyboard-hide-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/keyboard-hide-symbolic.svg diff --git a/src/assets/gnome-shell/icons/keyboard-layout-filled-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-layout-filled-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/keyboard-layout-filled-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/keyboard-layout-filled-symbolic.svg diff --git a/src/assets/gnome-shell/icons/keyboard-shift-filled-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/keyboard-shift-filled-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/keyboard-shift-filled-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/keyboard-shift-filled-symbolic.svg diff --git a/src/assets/gnome-shell/icons/message-indicator-symbolic.svg b/src/assets/gnome-shell/icons/scalable/status/message-indicator-symbolic.svg similarity index 100% rename from src/assets/gnome-shell/icons/message-indicator-symbolic.svg rename to src/assets/gnome-shell/icons/scalable/status/message-indicator-symbolic.svg diff --git a/src/main/gnome-shell/gnome-shell-theme.gresource.xml b/src/main/gnome-shell/gnome-shell-theme.gresource.xml index 7ffd3d5..c982bb9 100644 --- a/src/main/gnome-shell/gnome-shell-theme.gresource.xml +++ b/src/main/gnome-shell/gnome-shell-theme.gresource.xml @@ -6,7 +6,6 @@ assets/calendar-today.svg assets/checkbox.svg assets/checkbox-off.svg - assets/close.svg assets/dash-placeholder.svg assets/more-results.svg assets/noise-texture.svg @@ -17,22 +16,22 @@ assets/window-close-active.svg assets/activities.svg assets/background.jpg - icons/color-pick.svg - icons/eye-not-looking-symbolic.svg - icons/eye-open-negative-filled-symbolic.svg - icons/keyboard-caps-lock-filled-symbolic.svg - icons/keyboard-enter-symbolic.svg - icons/keyboard-hide-symbolic.svg - icons/keyboard-layout-filled-symbolic.svg - icons/keyboard-shift-filled-symbolic.svg - icons/message-indicator-symbolic.svg - icons/pointer-double-click-symbolic.svg - icons/pointer-drag-symbolic.svg - icons/pointer-primary-click-symbolic.svg - icons/pointer-secondary-click-symbolic.svg + icons/scalable/actions/color-pick.svg + icons/scalable/status/eye-not-looking-symbolic.svg + icons/scalable/status/eye-open-negative-filled-symbolic.svg + icons/scalable/status/keyboard-caps-lock-filled-symbolic.svg + icons/scalable/status/keyboard-enter-symbolic.svg + icons/scalable/status/keyboard-hide-symbolic.svg + icons/scalable/status/keyboard-layout-filled-symbolic.svg + icons/scalable/status/keyboard-shift-filled-symbolic.svg + icons/scalable/status/message-indicator-symbolic.svg + icons/scalable/actions/pointer-double-click-symbolic.svg + icons/scalable/actions/pointer-drag-symbolic.svg + icons/scalable/actions/pointer-primary-click-symbolic.svg + icons/scalable/actions/pointer-secondary-click-symbolic.svg gnome-shell.css - no-events.svg - no-notifications.svg - process-working.svg + no-events.svg + no-notifications.svg + process-working.svg