Compare commits
148 Commits
2022-11-17
...
2024.04.08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1113dda487 | ||
|
|
8d85dffd2f | ||
|
|
d87a7f3b72 | ||
|
|
e97127975b | ||
|
|
171122dc55 | ||
|
|
6e974355de | ||
|
|
b992cf3633 | ||
|
|
1367acef8d | ||
|
|
a820c84a32 | ||
|
|
408c82f676 | ||
|
|
95cd147e94 | ||
|
|
3561f77420 | ||
|
|
92ca158e79 | ||
|
|
d78bca8363 | ||
|
|
9030cc216b | ||
|
|
09b590cd13 | ||
|
|
70927e0b81 | ||
|
|
d3579ff8f7 | ||
|
|
5aa457e2ab | ||
|
|
6867bdc577 | ||
|
|
84ceb0348a | ||
|
|
468847993c | ||
|
|
432920d9d4 | ||
|
|
e0908c54e6 | ||
|
|
6c638068d3 | ||
|
|
56c6fb67c2 | ||
|
|
e5469acef4 | ||
|
|
b86cc553bc | ||
|
|
bd4159d403 | ||
|
|
446f63078b | ||
|
|
e84391d000 | ||
|
|
f4da0faccb | ||
|
|
e6cc5a7130 | ||
|
|
213ae5493b | ||
|
|
4456e3aef0 | ||
|
|
c09af69334 | ||
|
|
3adba1a385 | ||
|
|
4bc5b53d35 | ||
|
|
de4254d4ff | ||
|
|
9d87d123fc | ||
|
|
d14129524d | ||
|
|
6ad9b65d89 | ||
|
|
c02fb3dd2a | ||
|
|
3186e594d4 | ||
|
|
ab457f8959 | ||
|
|
ed577377e7 | ||
|
|
11c7567190 | ||
|
|
340ad97cbd | ||
|
|
988ada8177 | ||
|
|
fb1b4f43c4 | ||
|
|
41b3e7dc3a | ||
|
|
0030b44d2c | ||
|
|
bb3af5154e | ||
|
|
0e9d7a7289 | ||
|
|
a21a1d2f02 | ||
|
|
f6cf571b4e | ||
|
|
554f75e2b8 | ||
|
|
45c62494de | ||
|
|
9fb8f67d8e | ||
|
|
54ffa0a424 | ||
|
|
ed20593322 | ||
|
|
651551be65 | ||
|
|
5ed111ca6c | ||
|
|
3d5f64caae | ||
|
|
13d2d0fae1 | ||
|
|
399d7a2d73 | ||
|
|
e0dfbb75c6 | ||
|
|
1d11defa2a | ||
|
|
ffb94af59c | ||
|
|
92a86f2f9d | ||
|
|
7e04ede9d4 | ||
|
|
fc15b0d7d7 | ||
|
|
6c24b154f8 | ||
|
|
78a0b3f739 | ||
|
|
ccaffd1d21 | ||
|
|
9c13d7b465 | ||
|
|
4d00a17675 | ||
|
|
6c002b94f5 | ||
|
|
6ea2ab2ac0 | ||
|
|
077f6cedf2 | ||
|
|
877895e907 | ||
|
|
dd9ec86739 | ||
|
|
f577b43c9a | ||
|
|
0a04ef8593 | ||
|
|
5e2bebd859 | ||
|
|
43593e951d | ||
|
|
812341a3d9 | ||
|
|
78906e44c6 | ||
|
|
1f328c8de7 | ||
|
|
728a232743 | ||
|
|
cc75927639 | ||
|
|
3082b5ecc6 | ||
|
|
f7ca0ced28 | ||
|
|
5642906802 | ||
|
|
1e0f5afd1a | ||
|
|
baca1dfbcf | ||
|
|
380aa0e5c7 | ||
|
|
6564409a0a | ||
|
|
2bee660064 | ||
|
|
4baa9c6b31 | ||
|
|
cb7e83d21f | ||
|
|
1f88c7d341 | ||
|
|
b7087afabd | ||
|
|
9552447af4 | ||
|
|
665581cab4 | ||
|
|
f919f510c2 | ||
|
|
6816bdcdbd | ||
|
|
0ece2481fc | ||
|
|
839d22ce64 | ||
|
|
8deb192d17 | ||
|
|
d872b9460d | ||
|
|
b02fa87929 | ||
|
|
84090e552a | ||
|
|
b8acec9dd7 | ||
|
|
01976401ee | ||
|
|
f3f79e186c | ||
|
|
46e9952fb7 | ||
|
|
067c15b29a | ||
|
|
b387acc6f8 | ||
|
|
7d47393efb | ||
|
|
4b02f5d7ba | ||
|
|
e1bea76fdd | ||
|
|
8cd952d81a | ||
|
|
e8d5a951dc | ||
|
|
d29a7aaebd | ||
|
|
380f753e36 | ||
|
|
9e1f90699b | ||
|
|
cc2efd93af | ||
|
|
968ef5d9bd | ||
|
|
c7cce74a4c | ||
|
|
611f4970b1 | ||
|
|
f4452db132 | ||
|
|
905bf65a4a | ||
|
|
7b0607cba1 | ||
|
|
ccc15ef91b | ||
|
|
5f917d9564 | ||
|
|
160f523667 | ||
|
|
d79e3c37df | ||
|
|
7bc289c827 | ||
|
|
82b7e5965b | ||
|
|
0ec21dccdf | ||
|
|
4cbbaea754 | ||
|
|
141e246dc9 | ||
|
|
ba112790c5 | ||
|
|
e17a6b45c3 | ||
|
|
1dcfe63d55 | ||
|
|
fe93274fdf | ||
|
|
2ba2fb9565 |
22
.github/ISSUE_TEMPLATE/-icon-request---app-name-------.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: "[Icon request] [App name] [...]"
|
||||
about: Request [App name] icons
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Tell me things about the app or icon**
|
||||
1. App name: (e.g Firefox Browser)
|
||||
2. App Webside: or App Github Homepage: (e.g www.firefox.com)
|
||||
3. App icon name: (e.g firefox)
|
||||
If you don't know the app name you can open the app desktop entry file,
|
||||
and find the line: icon=[App icon name] (e.g icon=firefox),
|
||||
the word after "icon=" is the App icon name.
|
||||
|
||||
But if "icon=" is followed by the specific path of an icon file, then this app will not use icon theme
|
||||
icons. I generally don’t create this kind of icon because this app does not use it.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the icon request here.
|
||||
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Desktop (please complete the following information):**
|
||||
- OS: [e.g. Manjaro]
|
||||
- App [e.g. Nautilus, Geary]
|
||||
- Version [e.g. 22]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
16
README.md
@@ -3,25 +3,33 @@
|
||||
|
||||
MacOS Big Sur like icon theme for linux desktops
|
||||
|
||||
## Donate
|
||||
|
||||
If you like my project, you can buy me a coffee:
|
||||
|
||||
<span class="paypal"><a href="https://www.paypal.me/vinceliuice" title="Donate to this project using Paypal"><img src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png" alt="PayPal donate button" /></a></span>
|
||||
|
||||
## Install tips
|
||||
|
||||
Usage: `./install.sh` **[OPTIONS...]**
|
||||
|
||||
| OPTIONS: | |
|
||||
|:--------------------|:-------------|
|
||||
|-d, --dest | Specify theme destination directory (Default: $HOME/.themes)|
|
||||
|-d, --dest | Specify theme destination directory (Default: $HOME/.local/share/icons)|
|
||||
|-n, --name | Specify theme name (Default: WhiteSur)|
|
||||
|-t, --theme | Specify theme color variant(s) [default/purple/pink/red/orange/yellow/green/grey/all] (Default: blue)|
|
||||
|-a, --alternative | Install alternative icons for software center and file-manager|
|
||||
|-a, --alternative | Install alternative icons (redesigned MacOS default icons)|
|
||||
|-b, --bold | Install bold panel icons version|
|
||||
|--black | Black panel icons version|
|
||||
|-r,--remove,-u,--uninstall | Uninstall (remove) icon themes|
|
||||
|-h, --help | Show this help|
|
||||
|
||||
> **Note for snaps:** To use these icons with snaps, the best way is to make a copy of the application's .desktop located in `/var/lib/snapd/desktop/applications/name-of-the-snap-application.desktop` into `$HOME/.local/share/applications/`. Then use any text editor and change the "Icon=" to "Icon=name-of-the-icon.svg"
|
||||
|
||||
> For more information, run: `./install.sh --help`
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||
> Bold version suggested use in `High resolution display` like 4k display with 200% scale!
|
||||
|
||||
|
||||
BIN
alt-version.png
Normal file
|
After Width: | Height: | Size: 165 KiB |
15
alternative/apps/scalable/accessories-screenshot.svg
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
16
alternative/apps/scalable/application-default-icon.svg
Normal file
|
After Width: | Height: | Size: 13 KiB |
30
alternative/apps/scalable/applications-games.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
18
alternative/apps/scalable/applications-system.svg
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
42
alternative/apps/scalable/cheese.svg
Normal file
|
After Width: | Height: | Size: 11 KiB |
30
alternative/apps/scalable/eog.svg
Normal file
|
After Width: | Height: | Size: 11 KiB |
26
alternative/apps/scalable/file-manager.svg
Normal file
|
After Width: | Height: | Size: 15 KiB |
60
alternative/apps/scalable/file-roller.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
48
alternative/apps/scalable/gnome-maps.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
29
alternative/apps/scalable/gnome-music.svg
Normal file
|
After Width: | Height: | Size: 10 KiB |
25
alternative/apps/scalable/gnome-todo.svg
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
30
alternative/apps/scalable/indicator-weather.svg
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
20
alternative/apps/scalable/internet-mail.svg
Normal file
|
After Width: | Height: | Size: 10 KiB |
61
alternative/apps/scalable/kvantum.svg
Normal file
|
After Width: | Height: | Size: 32 KiB |
18
alternative/apps/scalable/org.gnome.Totem.svg
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
31
alternative/apps/scalable/polari.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 32 KiB |
19
alternative/apps/scalable/preferences-system-time.svg
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
30
alternative/apps/scalable/preferences-system.svg
Normal file
|
After Width: | Height: | Size: 40 KiB |
114
alternative/apps/scalable/shotwell.svg
Normal file
|
After Width: | Height: | Size: 29 KiB |
48
alternative/apps/scalable/software-properties.svg
Normal file
|
After Width: | Height: | Size: 27 KiB |
36
alternative/apps/scalable/softwarecenter-debian.svg
Normal file
|
After Width: | Height: | Size: 15 KiB |
28
alternative/apps/scalable/softwarecenter-manjaro.svg
Normal file
|
After Width: | Height: | Size: 11 KiB |
36
alternative/apps/scalable/softwarecenter-ubuntu.svg
Normal file
|
After Width: | Height: | Size: 12 KiB |
39
alternative/apps/scalable/softwarecenter.svg
Normal file
|
After Width: | Height: | Size: 11 KiB |
42
alternative/apps/scalable/system-software-install.svg
Normal file
|
After Width: | Height: | Size: 13 KiB |
37
alternative/apps/scalable/system-software-update.svg
Normal file
|
After Width: | Height: | Size: 12 KiB |
13
alternative/apps/scalable/terminal.svg
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
18
alternative/apps/scalable/terminix.svg
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
58
alternative/apps/scalable/theme-config.svg
Normal file
|
After Width: | Height: | Size: 19 KiB |
25
alternative/apps/scalable/web-browser.svg
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
3
alternative/apps/symbolic/gnome-software-symbolic.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m3 1c-1.108 0-2 0.892-2 2v10c0 1.108 0.892 2 2 2h10c1.108 0 2-0.892 2-2v-10c0-1.108-0.892-2-2-2h-10zm0 1h10c0.554 0 1 0.446 1 1v10c0 0.554-0.446 1-1 1h-10c-0.554 0-1-0.446-1-1v-10c0-0.554 0.446-1 1-1zm1 2c0 2.216 1.784 4 4 4 2.216 0 4-1.784 4-4h-1c0 1.662-1.338 3-3 3s-3-1.338-3-3h-1z" fill="#363636"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 398 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<path class="ColorScheme-Text" d="m10.248 0.36014c-0.051289-0.039868-0.11079-0.068871-0.17768-0.086795-0.26756-0.071692-0.54013 0.085109-0.61182 0.35267l-0.13648 0.50983a7 7 0 0 0-1.2795-0.12756c-0.014799-0.0013-0.02721-0.008666-0.042357-0.008668-0.015497 1.7e-6 -0.028275 0.007404-0.043403 0.00877a7 7 0 0 0-1.2789 0.12538l-0.13583-0.50692c-0.071693-0.26756-0.34474-0.42521-0.61231-0.35352-0.26756 0.071693-0.42521 0.34474-0.35352 0.61231l0.13511 0.50425a7 7 0 0 0-1.2116 0.5477 7 7 0 0 0-1.0808 0.77426l-0.36901-0.36867c-0.19587-0.19587-0.51032-0.19538-0.70619 4.923e-4 -0.19587 0.19587-0.19538 0.51032 4.923e-4 0.70619l0.36973 0.37133a7 7 0 0 0-1.3249 2.291l-0.50378-0.13524c-0.26756-0.071692-0.54013 0.085109-0.61182 0.35267-0.071692 0.26756 0.085109 0.54013 0.35267 0.61182l0.50983 0.13648a7 7 0 0 0-0.00209 2.6442l-0.50692 0.13583c-0.26756 0.071693-0.42521 0.34474-0.35352 0.61231 0.071693 0.26756 0.34474 0.42521 0.61231 0.35352l0.50425-0.13512a7 7 0 0 0 0.5477 1.2116 7 7 0 0 0 0.77426 1.0808l-0.36867 0.36901c-0.19587 0.19587-0.19538 0.51032 4.923e-4 0.70619 0.19587 0.19586 0.51032 0.19538 0.70619-4.93e-4l0.37133-0.36973a7 7 0 0 0 2.2909 1.325l-0.13524 0.50378c-0.071692 0.26756 0.085109 0.54013 0.35267 0.61182 0.26756 0.0717 0.54013-0.08511 0.61182-0.35267l0.13648-0.50982a7 7 0 0 0 2.6442 0.0021l0.13583 0.50692c0.071693 0.26756 0.34474 0.42521 0.61231 0.35352 0.26756-0.07169 0.42521-0.34474 0.35352-0.61231l-0.13511-0.50426a7 7 0 0 0 1.2116-0.5477 7 7 0 0 0 1.0808-0.77426l0.36901 0.36867c0.19587 0.19586 0.51032 0.19538 0.70619-4.92e-4 0.19586-0.19587 0.19538-0.51031-4.92e-4 -0.70619l-0.36973-0.37133a7 7 0 0 0 0.75739-1.0579c0.0053-8e-3 0.01392-0.01231 0.01878-0.02073 0.0063-0.01084 0.0055-0.02326 0.01082-0.03435a7 7 0 0 0 0.53798-1.1779l0.50378 0.13524c0.26756 0.07169 0.54013-0.08511 0.61182-0.35267 0.0717-0.26756-0.08511-0.54013-0.35267-0.61182l-0.50982-0.13648a7 7 0 0 0 0.0021-2.6442l0.50691-0.13584c0.26756-0.071693 0.42521-0.34474 0.35352-0.61231s-0.34474-0.42521-0.61231-0.35352l-0.50426 0.13511a7 7 0 0 0-0.5477-1.2116 7 7 0 0 0-0.77426-1.0808l0.36867-0.36901c0.19586-0.19587 0.19538-0.51032-4.93e-4 -0.70619-0.1959-0.19594-0.51034-0.19545-0.70621 4.19e-4l-0.37133 0.36973a7 7 0 0 0-2.291-1.3249l0.13524-0.50378c0.053769-0.20067-0.02113-0.40542-0.17499-0.52503zm0.50376 2.3071a6 6 0 0 1 2.4439 2.3334 6 6 0 0 1 0.22678 5.5526l-3.498-2.0195a2 2 0 0 0-0.92455-2.2658 2 2 0 0 0-0.49887-0.20232l-6.704e-4 -4.0418a6 6 0 0 1 2.2514 0.64354zm-3.2526-0.63971 8.883e-4 4.0375a2 2 0 0 0-1.2322 0.93497 2 2 0 0 0-0.19531 1.5336l-3.4979 2.0196a6 6 0 0 1 2.4261-7.7489 6 6 0 0 1 2.4985-0.77671zm1.0008 5.1064a1 1 0 0 1 0.36603 1.366 1 1 0 0 1-1.366 0.36603 1 1 0 0 1-0.36603-1.366 1 1 0 0 1 1.366-0.36603zm0.92619 2.2668 3.4962 2.0185a6 6 0 0 1-1.9232 1.7764 6 6 0 0 1-7.9236-1.7759l3.497-2.018a2 2 0 0 0 0.42733 0.33016 2 2 0 0 0 2.4262-0.33129z" color="#363636" fill="currentColor"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
3
alternative/apps/symbolic/software-store-symbolic.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m3 1c-1.108 0-2 0.892-2 2v10c0 1.108 0.892 2 2 2h10c1.108 0 2-0.892 2-2v-10c0-1.108-0.892-2-2-2zm0 1h10c0.554 0 1 0.446 1 1v10c0 0.554-0.446 1-1 1h-10c-0.554 0-1-0.446-1-1v-10c0-0.554 0.446-1 1-1zm1 2c0 2.216 1.784 4 4 4s4-1.784 4-4h-1c0 1.662-1.338 3-3 3s-3-1.338-3-3z" fill="#363636"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 383 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m2 1c-1.108 0-2 0.892-2 2v9c0 1.108 0.892 2 2 2h12c1.108 0 2-0.892 2-2v-8c0-1.108-0.892-2-2-2h-7.6289c-0.57985-0.0229-0.60474 0.076886-1.0391-0.35742-0.43381-0.43381-0.61297-0.64213-1.332-0.64258zm0 1h2c0.31116-1.7e-6 0.52033 1.383e-4 0.99805 0.4707 0.47877 0.47161 0.6388 0.5293 1 0.5293h8.002c0.554 0 1 0.446 1 1v1h-14v-2c0-0.554 0.446-1 1-1zm-1 4h14v6c0 0.554-0.446 1-1 1h-12c-0.554 0-1-0.446-1-1z" fill="#363636"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 534 B |
162
install.sh
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
ROOT_UID=0
|
||||
DEST_DIR=
|
||||
|
||||
@@ -13,9 +15,12 @@ fi
|
||||
SRC_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
THEME_NAME=WhiteSur
|
||||
COLOR_VARIANTS=('' '-dark')
|
||||
COLOR_VARIANTS=('' '-light' '-dark')
|
||||
THEME_VARIANTS=('' '-purple' '-pink' '-red' '-orange' '-yellow' '-green' '-grey' '-nord')
|
||||
|
||||
themes=()
|
||||
colors=()
|
||||
|
||||
usage() {
|
||||
cat << EOF
|
||||
Usage: $0 [OPTION]...
|
||||
@@ -25,8 +30,11 @@ cat << EOF
|
||||
-n, --name NAME Specify theme name (Default: $THEME_NAME)
|
||||
-t, --theme VARIANT Specify theme color variant(s) [default|purple|pink|red|orange|yellow|green|grey|nord|all] (Default: blue)
|
||||
-a, --alternative Install alternative icons for software center and file-manager
|
||||
-b, --bold Install bold panel icons version
|
||||
--black Black panel icons version
|
||||
-b, --bold Install bolder panel icons version (1.5px size)
|
||||
|
||||
-r, --remove,
|
||||
-u, --uninstall Uninstall (remove) icon themes
|
||||
|
||||
-h, --help Show help
|
||||
EOF
|
||||
}
|
||||
@@ -39,77 +47,113 @@ install() {
|
||||
|
||||
local THEME_DIR=${dest}/${name}${theme}${color}
|
||||
|
||||
[[ -d ${THEME_DIR} ]] && rm -rf ${THEME_DIR}
|
||||
[[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}"
|
||||
|
||||
echo "Installing '${THEME_DIR}'..."
|
||||
|
||||
mkdir -p ${THEME_DIR}
|
||||
cp -r ${SRC_DIR}/{COPYING,AUTHORS} ${THEME_DIR}
|
||||
cp -r ${SRC_DIR}/src/index.theme ${THEME_DIR}
|
||||
mkdir -p "${THEME_DIR}"
|
||||
cp -r "${SRC_DIR}"/{COPYING,AUTHORS} "${THEME_DIR}"
|
||||
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
||||
|
||||
cd ${THEME_DIR}
|
||||
sed -i "s/${name}/${name}${theme}${color}/g" index.theme
|
||||
#cd "${THEME_DIR}"
|
||||
sed -i "s/${name}/${name}${theme}${color}/g" "${THEME_DIR}"/index.theme
|
||||
|
||||
if [[ ${color} == '' ]]; then
|
||||
mkdir -p ${THEME_DIR}/status
|
||||
cp -r ${SRC_DIR}/src/{actions,animations,apps,categories,devices,emblems,mimes,places} ${THEME_DIR}
|
||||
cp -r ${SRC_DIR}/src/status/{16,22,24,32,symbolic} ${THEME_DIR}/status
|
||||
mkdir -p "${THEME_DIR}"/status
|
||||
cp -r "${SRC_DIR}"/src/{actions,animations,apps,categories,devices,emblems,mimes,places,preferences} "${THEME_DIR}"
|
||||
cp -r "${SRC_DIR}"/src/status/{16,22,24,32,symbolic} "${THEME_DIR}"/status
|
||||
|
||||
rm -rf "${THEME_DIR}"/places/scalable/user-trash{'','-full'}-dark.svg
|
||||
|
||||
if [[ ${black:-} == 'true' ]]; then
|
||||
sed -i "s/#ffffff/#363636/g" "${THEME_DIR}"/status/{16,22,24}/*
|
||||
fi
|
||||
|
||||
if [[ ${bold:-} == 'true' ]]; then
|
||||
cp -r ${SRC_DIR}/bold/* ${THEME_DIR}
|
||||
cp -r "${SRC_DIR}"/bold/* "${THEME_DIR}"
|
||||
fi
|
||||
|
||||
cp -r ${SRC_DIR}/links/{actions,apps,categories,devices,emblems,mimes,places,status} ${THEME_DIR}
|
||||
|
||||
if [[ $DESKTOP_SESSION == '/usr/share/xsessions/budgie-desktop' ]]; then
|
||||
cp -r ${SRC_DIR}/src/status/symbolic-budgie/*.svg ${THEME_DIR}/status/symbolic
|
||||
cp -r "${SRC_DIR}"/src/status/symbolic-budgie/*.svg "${THEME_DIR}"/status/symbolic
|
||||
fi
|
||||
|
||||
if [[ ${alternative:-} == 'true' ]]; then
|
||||
cp -r ${SRC_DIR}/alternative/apps/*.svg ${THEME_DIR}/apps/scalable
|
||||
cp -r "${SRC_DIR}"/alternative/* "${THEME_DIR}"
|
||||
fi
|
||||
|
||||
if [[ ${theme} != '' ]]; then
|
||||
cp -r ${SRC_DIR}/colors/color${theme}/*.svg ${THEME_DIR}/places/scalable
|
||||
cp -r "${SRC_DIR}"/colors/color${theme}/*.svg "${THEME_DIR}"/places/scalable
|
||||
fi
|
||||
|
||||
cp -r "${SRC_DIR}"/links/{actions,apps,categories,devices,emblems,mimes,places,status,preferences} "${THEME_DIR}"
|
||||
fi
|
||||
|
||||
if [[ ${color} == '-light' ]]; then
|
||||
mkdir -p "${THEME_DIR}"/status
|
||||
cp -r "${SRC_DIR}"/src/status/{16,22,24} "${THEME_DIR}"/status
|
||||
|
||||
if [[ ${bold:-} == 'true' ]]; then
|
||||
cp -r "${SRC_DIR}"/bold/status/{16,22,24} "${THEME_DIR}"/status
|
||||
fi
|
||||
|
||||
# Change icon color for light theme
|
||||
sed -i "s/#ffffff/#363636/g" "${THEME_DIR}"/status/{16,22,24}/*
|
||||
|
||||
cp -r "${SRC_DIR}"/links/status/{16,22,24} "${THEME_DIR}"/status
|
||||
|
||||
cd ${dest}
|
||||
ln -s ../${name}${theme}/actions ${name}${theme}-light/actions
|
||||
ln -s ../${name}${theme}/animations ${name}${theme}-light/animations
|
||||
ln -s ../${name}${theme}/apps ${name}${theme}-light/apps
|
||||
ln -s ../${name}${theme}/categories ${name}${theme}-light/categories
|
||||
ln -s ../${name}${theme}/devices ${name}${theme}-light/devices
|
||||
ln -s ../${name}${theme}/emblems ${name}${theme}-light/emblems
|
||||
ln -s ../${name}${theme}/mimes ${name}${theme}-light/mimes
|
||||
ln -s ../${name}${theme}/places ${name}${theme}-light/places
|
||||
ln -s ../${name}${theme}/preferences ${name}${theme}-light/preferences
|
||||
ln -s ../../${name}${theme}/status/32 ${name}${theme}-light/status/32
|
||||
ln -s ../../${name}${theme}/status/symbolic ${name}${theme}-light/status/symbolic
|
||||
fi
|
||||
|
||||
if [[ ${color} == '-dark' ]]; then
|
||||
mkdir -p ${THEME_DIR}/{apps,categories,emblems,devices,mimes,places,status}
|
||||
mkdir -p "${THEME_DIR}"/{apps,categories,emblems,devices,mimes,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/mimes/symbolic ${THEME_DIR}/mimes
|
||||
cp -r ${SRC_DIR}/src/devices/{16,22,24,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
|
||||
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/mimes/symbolic "${THEME_DIR}"/mimes
|
||||
cp -r "${SRC_DIR}"/src/devices/{16,22,24,symbolic} "${THEME_DIR}"/devices
|
||||
cp -r "${SRC_DIR}"/src/places/{16,22,24,scalable,symbolic} "${THEME_DIR}"/places
|
||||
cp -r "${SRC_DIR}"/src/status/symbolic "${THEME_DIR}"/status
|
||||
|
||||
mv -f "${THEME_DIR}"/places/scalable/user-trash-dark.svg "${THEME_DIR}"/places/scalable/user-trash.svg
|
||||
mv -f "${THEME_DIR}"/places/scalable/user-trash-full-dark.svg "${THEME_DIR}"/places/scalable/user-trash-full.svg
|
||||
|
||||
if [[ ${bold:-} == 'true' ]]; then
|
||||
cp -r ${SRC_DIR}/bold/* ${THEME_DIR}
|
||||
cp -r "${SRC_DIR}"/bold/* "${THEME_DIR}"
|
||||
fi
|
||||
|
||||
if [[ ${alternative:-} == 'true' ]]; then
|
||||
cp -r "${SRC_DIR}"/alternative/apps/symbolic/*.svg "${THEME_DIR}"/apps/symbolic
|
||||
fi
|
||||
|
||||
if [[ $DESKTOP_SESSION == '/usr/share/xsessions/budgie-desktop' ]]; then
|
||||
cp -r ${SRC_DIR}/src/status/symbolic-budgie/*.svg ${THEME_DIR}/status/symbolic
|
||||
cp -r "${SRC_DIR}"/src/status/symbolic-budgie/*.svg "${THEME_DIR}"/status/symbolic
|
||||
fi
|
||||
|
||||
# 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,devices,places}/{16,22,24}/*
|
||||
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/actions/32/*
|
||||
sed -i "s/#363636/#dedede/g" "${THEME_DIR}"/{actions,apps,categories,emblems,devices,mimes,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/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
|
||||
cp -r ${SRC_DIR}/links/categories/symbolic ${THEME_DIR}/categories
|
||||
cp -r ${SRC_DIR}/links/mimes/symbolic ${THEME_DIR}/mimes
|
||||
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/places/{16,22,24,scalable,symbolic} "${THEME_DIR}"/places
|
||||
cp -r "${SRC_DIR}"/links/status/symbolic "${THEME_DIR}"/status
|
||||
cp -r "${SRC_DIR}"/links/apps/symbolic "${THEME_DIR}"/apps
|
||||
cp -r "${SRC_DIR}"/links/categories/symbolic "${THEME_DIR}"/categories
|
||||
cp -r "${SRC_DIR}"/links/mimes/symbolic "${THEME_DIR}"/mimes
|
||||
|
||||
cd ${dest}
|
||||
ln -s ../${name}${theme}/animations ${name}${theme}-dark/animations
|
||||
@@ -122,12 +166,15 @@ install() {
|
||||
ln -s ../../${name}${theme}/mimes/scalable ${name}${theme}-dark/mimes/scalable
|
||||
ln -s ../../${name}${theme}/apps/scalable ${name}${theme}-dark/apps/scalable
|
||||
ln -s ../../${name}${theme}/devices/scalable ${name}${theme}-dark/devices/scalable
|
||||
ln -s ../../${name}${theme}/places/scalable ${name}${theme}-dark/places/scalable
|
||||
ln -s ../${name}${theme}/preferences ${name}${theme}-dark/preferences
|
||||
ln -s ../../${name}${theme}/status/16 ${name}${theme}-dark/status/16
|
||||
ln -s ../../${name}${theme}/status/22 ${name}${theme}-dark/status/22
|
||||
ln -s ../../${name}${theme}/status/24 ${name}${theme}-dark/status/24
|
||||
ln -s ../../${name}${theme}/status/32 ${name}${theme}-dark/status/32
|
||||
fi
|
||||
|
||||
(
|
||||
cd ${THEME_DIR}
|
||||
cd "${THEME_DIR}"
|
||||
ln -sf actions actions@2x
|
||||
ln -sf animations animations@2x
|
||||
ln -sf apps apps@2x
|
||||
@@ -136,10 +183,24 @@ install() {
|
||||
ln -sf emblems emblems@2x
|
||||
ln -sf mimes mimes@2x
|
||||
ln -sf places places@2x
|
||||
ln -sf preferences preferences@2x
|
||||
ln -sf status status@2x
|
||||
)
|
||||
|
||||
gtk-update-icon-cache ${THEME_DIR}
|
||||
gtk-update-icon-cache "${THEME_DIR}"
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
local dest=${1}
|
||||
local name=${2}
|
||||
local theme=${3}
|
||||
local color=${4}
|
||||
|
||||
local THEME_DIR=${dest}/${name}${theme}${color}
|
||||
|
||||
[[ -d "${THEME_DIR}" ]] && rm -rf "${THEME_DIR}"
|
||||
|
||||
echo "Uninstalling '"${THEME_DIR}"'..."
|
||||
}
|
||||
|
||||
while [[ "$#" -gt 0 ]]; do
|
||||
@@ -163,9 +224,8 @@ while [[ "$#" -gt 0 ]]; do
|
||||
echo "Installing 'bold' version..."
|
||||
shift
|
||||
;;
|
||||
--black)
|
||||
black='true'
|
||||
echo "Installing 'black on panel' version..."
|
||||
-r|--remove|-u|--uninstall)
|
||||
remove='true'
|
||||
shift
|
||||
;;
|
||||
-t|--theme)
|
||||
@@ -252,4 +312,18 @@ install_theme() {
|
||||
done
|
||||
}
|
||||
|
||||
install_theme
|
||||
uninstall_theme() {
|
||||
for theme in "${THEME_VARIANTS[@]}"; do
|
||||
for color in "${COLOR_VARIANTS[@]}"; do
|
||||
uninstall "${dest:-${DEST_DIR}}" "${name:-${THEME_NAME}}" "${theme}" "${color}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
if [[ "${remove}" == 'true' ]]; then
|
||||
uninstall_theme
|
||||
else
|
||||
install_theme
|
||||
fi
|
||||
|
||||
#exit 0
|
||||
|
||||
1
links/actions/16/edit-image.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-down.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-home.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-previous.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-next.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-previous.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-next.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-up.svg
|
||||
@@ -1 +0,0 @@
|
||||
./application-menu.svg
|
||||
@@ -1 +0,0 @@
|
||||
configure.svg
|
||||
1
links/actions/16/zoom-all.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
1
links/actions/16/zoom-selection.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
@@ -1 +1 @@
|
||||
edit-paste-in-place.svg
|
||||
flag-red.svg
|
||||
@@ -1 +1 @@
|
||||
list-remove.svg
|
||||
edit-delete.svg
|
||||
1
links/actions/22/edit-image.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-down.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-home.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-previous.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-next.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-previous.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-next.svg
|
||||
@@ -1 +0,0 @@
|
||||
go-up.svg
|
||||
1
links/actions/22/kdenlive-object-height.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-fit-height.svg
|
||||
1
links/actions/22/kdenlive-object-width.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-fit-width.svg
|
||||
1
links/actions/22/labplot-zoom-in-x.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-in-x.svg
|
||||
1
links/actions/22/labplot-zoom-in-y.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
y-zoom-in.svg
|
||||
1
links/actions/22/labplot-zoom-out-x.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-out-x.svg
|
||||
1
links/actions/22/labplot-zoom-out-y.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-out-y.svg
|
||||
@@ -1 +0,0 @@
|
||||
./application-menu.svg
|
||||
@@ -1 +0,0 @@
|
||||
configure.svg
|
||||
1
links/actions/22/window-pin-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
window-pin.svg
|
||||
1
links/actions/22/zoom-all.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
1
links/actions/22/zoom-selection.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
1
links/actions/24/brightness-high.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
high-brightness.svg
|
||||
1
links/actions/24/brightness-low.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
low-brightness.svg
|
||||
1
links/actions/24/edit-clear-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
edit-clear.svg
|
||||
1
links/actions/24/edit-image.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
tool_imageeffects.svg
|
||||
1
links/actions/24/frmt-text-direction-horizontal-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
frmt-text-direction-horizontal.svg
|
||||
1
links/actions/24/frmt-text-direction-r2l-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
frmt-text-direction-r2l.svg
|
||||
1
links/actions/24/frmt-text-direction-vertical-lr-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
frmt-text-direction-vertical-lr.svg
|
||||
1
links/actions/24/frmt-text-direction-vertical-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
frmt-text-direction-vertical.svg
|
||||
@@ -1 +0,0 @@
|
||||
./application-menu.svg
|
||||
1
links/actions/24/paint-order-fms-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-fms.svg
|
||||
1
links/actions/24/paint-order-fsm-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-fsm.svg
|
||||
1
links/actions/24/paint-order-mfs-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-mfs.svg
|
||||
1
links/actions/24/paint-order-msf-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-msf.svg
|
||||
1
links/actions/24/paint-order-sfm-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-sfm.svg
|
||||
1
links/actions/24/paint-order-smf-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
paint-order-smf.svg
|
||||
@@ -1 +0,0 @@
|
||||
configure.svg
|
||||
1
links/actions/24/text-orientation-auto-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
text-orientation-auto.svg
|
||||
1
links/actions/24/text-orientation-sideways-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
text-orientation-sideways.svg
|
||||
1
links/actions/24/text-orientation-upright-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
text-orientation-upright.svg
|
||||
1
links/actions/24/window-pin-symbolic.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
window-pin.svg
|
||||
1
links/actions/24/zoom-all.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-original.svg
|
||||
1
links/actions/24/zoom-selection.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
zoom-fit-best.svg
|
||||
@@ -1 +0,0 @@
|
||||
../../preferences/32/preferences-system-users.svg
|
||||
1
links/actions/32/go-home.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
home.svg
|
||||
@@ -1 +0,0 @@
|
||||
configure.svg
|
||||
1
links/actions/32/view-institution.svg
Symbolic link
@@ -0,0 +1 @@
|
||||
institution.svg
|
||||