Toshaan Bharvani
10 months ago
8 changed files with 408 additions and 43 deletions
@ -0,0 +1,102 @@ |
|||||||
|
{ |
||||||
|
"styles": [ |
||||||
|
{ |
||||||
|
"name": "Mint-X", |
||||||
|
"mixed": [ |
||||||
|
{"name": "blue", "color": "#5b73c4", "themes": "Mint-X-Blue", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "aqua", "color": "#6cabcd", "themes": "Mint-X-Aqua", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "teal", "color": "#5aaa9a", "themes": "Mint-X-Teal", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "green", "color": "#9ab87c", "themes": "Mint-X", "cinnamon": "Linux Mint", "cursor": "Adwaita", "default": "true"}, |
||||||
|
{"name": "sand", "color": "#c8ac69", "themes": "Mint-X-Sand", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "brown", "color": "#aa876a", "themes": "Mint-X-Brown", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "grey", "color": "#9d9d9d", "themes": "Mint-X-Grey", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "orange", "color": "#db9d61", "themes": "Mint-X-Orange", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "red", "color": "#c15b58", "themes": "Mint-X-Red", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "pink", "color": "#c76199", "themes": "Mint-X-Pink", "cinnamon": "Linux Mint", "cursor": "Adwaita"}, |
||||||
|
{"name": "purple", "color": "#8c6ec9", "themes": "Mint-X-Purple", "cinnamon": "Linux Mint", "cursor": "Adwaita"} |
||||||
|
], |
||||||
|
"light": [ |
||||||
|
{"name": "blue", "color": "#5b73c4", "themes": "Mint-X-Blue", "cursor": "Adwaita"}, |
||||||
|
{"name": "aqua", "color": "#6cabcd", "themes": "Mint-X-Aqua", "cursor": "Adwaita"}, |
||||||
|
{"name": "teal", "color": "#5aaa9a", "themes": "Mint-X-Teal", "cursor": "Adwaita"}, |
||||||
|
{"name": "green", "color": "#9ab87c", "themes": "Mint-X", "cursor": "Adwaita", "default": "true"}, |
||||||
|
{"name": "sand", "color": "#c8ac69", "themes": "Mint-X-Sand", "cursor": "Adwaita"}, |
||||||
|
{"name": "brown", "color": "#aa876a", "themes": "Mint-X-Brown", "cursor": "Adwaita"}, |
||||||
|
{"name": "grey", "color": "#9d9d9d", "themes": "Mint-X-Grey", "cursor": "Adwaita"}, |
||||||
|
{"name": "orange", "color": "#db9d61", "themes": "Mint-X-Orange", "cursor": "Adwaita"}, |
||||||
|
{"name": "red", "color": "#c15b58", "themes": "Mint-X-Red", "cursor": "Adwaita"}, |
||||||
|
{"name": "pink", "color": "#c76199", "themes": "Mint-X-Pink", "cursor": "Adwaita"}, |
||||||
|
{"name": "purple", "color": "#8c6ec9", "themes": "Mint-X-Purple", "cursor": "Adwaita"} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "Mint-Y", |
||||||
|
"default": "mixed", |
||||||
|
"mixed": [ |
||||||
|
{"name": "blue", "color": "#0c75de", "themes": "Mint-Y-Blue", "cinnamon": "Mint-Y-Dark-Blue", "cursor": "Adwaita"}, |
||||||
|
{"name": "navy", "color": "#004988", "color2": "#b8d8eb", "themes": "Mint-Y-Blue", "icons": "Mint-Y-Navy", "cinnamon": "Mint-Y-Dark-Blue", "cursor": "Adwaita"}, |
||||||
|
{"name": "aquasand", "color": "#1f9ede", "color2": "#f9c470", "themes": "Mint-Y-Aqua", "icons": "Mint-Y-Sand", "cinnamon": "Mint-Y-Dark-Aqua", "cursor": "Adwaita", "default": "true"}, |
||||||
|
{"name": "aqua", "color": "#1f9ede", "themes": "Mint-Y-Aqua", "cinnamon": "Mint-Y-Dark-Aqua", "cursor": "Adwaita"}, |
||||||
|
{"name": "teal", "color": "#199ca8", "themes": "Mint-Y-Teal", "cinnamon": "Mint-Y-Dark-Teal", "cursor": "Adwaita"}, |
||||||
|
{"name": "cyan", "color": "#199ca8", "color2": "#00bcd4", "themes": "Mint-Y-Teal", "icons": "Mint-Y-Cyan", "cinnamon": "Mint-Y-Dark-Teal", "cursor": "Adwaita"}, |
||||||
|
{"name": "green", "color": "#35a854", "themes": "Mint-Y", "cinnamon": "Mint-Y-Dark", "cursor": "Adwaita"}, |
||||||
|
{"name": "sand", "color": "#c5a07c", "themes": "Mint-Y-Sand", "cinnamon": "Mint-Y-Dark-Sand", "cursor": "Adwaita"}, |
||||||
|
{"name": "grey", "color": "#70737a", "themes": "Mint-Y-Grey", "cinnamon": "Mint-Y-Dark-Grey", "cursor": "Adwaita"}, |
||||||
|
{"name": "orange", "color": "#ff7139", "themes": "Mint-Y-Orange", "cinnamon": "Mint-Y-Dark-Orange", "cursor": "Adwaita"}, |
||||||
|
{"name": "yaru", "color": "#ff7139", "color2": "#676767", "themes": "Mint-Y-Orange", "icons": "Mint-Y-Yaru", "cinnamon": "Mint-Y-Dark-Orange", "cursor": "Adwaita"}, |
||||||
|
{"name": "red", "color": "#e82127", "themes": "Mint-Y-Red", "cinnamon": "Mint-Y-Dark-Red", "cursor": "Adwaita"}, |
||||||
|
{"name": "pink", "color": "#e54980", "themes": "Mint-Y-Pink", "cinnamon": "Mint-Y-Dark-Pink", "cursor": "Adwaita"}, |
||||||
|
{"name": "purple", "color": "#8c5dd9", "themes": "Mint-Y-Purple", "cinnamon": "Mint-Y-Dark-Purple", "cursor": "Adwaita"} |
||||||
|
], |
||||||
|
"dark": [ |
||||||
|
{"name": "blue", "color": "#0c75de", "themes": "Mint-Y-Dark-Blue", "icons": "Mint-Y-Blue", "cursor": "Adwaita"}, |
||||||
|
{"name": "navy", "color": "#004988", "color2": "#b8d8eb", "themes": "Mint-Y-Dark-Blue", "icons": "Mint-Y-Navy", "cursor": "Adwaita"}, |
||||||
|
{"name": "aquasand", "color": "#1f9ede", "color2": "#f9c470", "themes": "Mint-Y-Dark-Aqua", "icons": "Mint-Y-Sand", "cursor": "Adwaita", "default": "true"}, |
||||||
|
{"name": "aqua", "color": "#1f9ede", "themes": "Mint-Y-Dark-Aqua", "icons": "Mint-Y-Aqua", "cursor": "Adwaita"}, |
||||||
|
{"name": "teal", "color": "#199ca8", "themes": "Mint-Y-Dark-Teal", "icons": "Mint-Y-Teal", "cursor": "Adwaita"}, |
||||||
|
{"name": "cyan", "color": "#199ca8", "color2": "#00bcd4", "themes": "Mint-Y-Dark-Teal", "icons": "Mint-Y-Cyan", "cursor": "Adwaita"}, |
||||||
|
{"name": "green", "color": "#35a854", "themes": "Mint-Y-Dark", "icons": "Mint-Y", "cursor": "Adwaita"}, |
||||||
|
{"name": "sand", "color": "#c5a07c", "themes": "Mint-Y-Dark-Sand", "icons": "Mint-Y-Sand", "cursor": "Adwaita"}, |
||||||
|
{"name": "grey", "color": "#70737a", "themes": "Mint-Y-Dark-Grey", "icons": "Mint-Y-Grey", "cursor": "Adwaita"}, |
||||||
|
{"name": "orange", "color": "#ff7139", "themes": "Mint-Y-Dark-Orange", "icons": "Mint-Y-Orange", "cursor": "Adwaita"}, |
||||||
|
{"name": "yaru", "color": "#ff7139", "color2": "#676767", "themes": "Mint-Y-Dark-Orange", "icons": "Mint-Y-Yaru", "cursor": "Adwaita"}, |
||||||
|
{"name": "red", "color": "#e82127", "themes": "Mint-Y-Dark-Red", "icons": "Mint-Y-Red", "cursor": "Adwaita"}, |
||||||
|
{"name": "pink", "color": "#e54980", "themes": "Mint-Y-Dark-Pink", "icons": "Mint-Y-Pink", "cursor": "Adwaita"}, |
||||||
|
{"name": "purple", "color": "#8c5dd9", "themes": "Mint-Y-Dark-Purple", "icons": "Mint-Y-Purple", "cursor": "Adwaita"} |
||||||
|
], |
||||||
|
"light": [ |
||||||
|
{"name": "blue", "color": "#0c75de", "themes": "Mint-Y-Blue", "cursor": "Adwaita"}, |
||||||
|
{"name": "navy", "color": "#004988", "color2": "#b8d8eb", "themes": "Mint-Y-Blue", "icons": "Mint-Y-Navy", "cursor": "Adwaita"}, |
||||||
|
{"name": "aquasand", "color": "#1f9ede", "color2": "#f9c470", "themes": "Mint-Y-Aqua", "icons": "Mint-Y-Sand", "cursor": "Adwaita", "default": "true"}, |
||||||
|
{"name": "aqua", "color": "#1f9ede", "themes": "Mint-Y-Aqua", "cursor": "Adwaita"}, |
||||||
|
{"name": "teal", "color": "#199ca8", "themes": "Mint-Y-Teal", "cursor": "Adwaita"}, |
||||||
|
{"name": "cyan", "color": "#199ca8", "color2": "#00bcd4", "themes": "Mint-Y-Teal", "icons": "Mint-Y-Cyan", "cursor": "Adwaita"}, |
||||||
|
{"name": "green", "color": "#35a854", "themes": "Mint-Y", "cursor": "Adwaita"}, |
||||||
|
{"name": "sand", "color": "#c5a07c", "themes": "Mint-Y-Sand", "cursor": "Adwaita"}, |
||||||
|
{"name": "grey", "color": "#70737a", "themes": "Mint-Y-Grey", "cursor": "Adwaita"}, |
||||||
|
{"name": "orange", "color": "#ff7139", "themes": "Mint-Y-Orange", "cursor": "Adwaita"}, |
||||||
|
{"name": "yaru", "color": "#ff7139", "color2": "#676767", "themes": "Mint-Y-Orange", "icons": "Mint-Y-Yaru", "cursor": "Adwaita"}, |
||||||
|
{"name": "red", "color": "#e82127", "themes": "Mint-Y-Red", "cursor": "Adwaita"}, |
||||||
|
{"name": "pink", "color": "#e54980", "themes": "Mint-Y-Pink", "cursor": "Adwaita"}, |
||||||
|
{"name": "purple", "color": "#8c5dd9", "themes": "Mint-Y-Purple", "cursor": "Adwaita"} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "Adwaita", |
||||||
|
"default": "mixed", |
||||||
|
"mixed": [ |
||||||
|
{"default": "true", "name": "blue", "color": "#3584e4", "themes": "Adwaita", "cinnamon": "Mint-Y-Dark-Blue", "cursor": "Adwaita"} |
||||||
|
], |
||||||
|
"dark": [ |
||||||
|
{"name": "blue", "color": "#15539e", "themes": "Adwaita-dark", "icons": "Adwaita", "cinnamon": "Mint-Y-Dark-Blue", "cursor": "Adwaita"} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name": "HighContrast", |
||||||
|
"default": "light", |
||||||
|
"light": [ |
||||||
|
{"default": "true", "name": "contrast", "color": "#000000", "themes": "HighContrast", "cinnamon": "Mint-Y-Dark-Grey", "cursor": "Adwaita"} |
||||||
|
] |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Binary file not shown.
@ -0,0 +1,37 @@ |
|||||||
|
--- a/files/usr/share/cinnamon/cinnamon-settings/bin/capi.py |
||||||
|
+++ b/files/usr/share/cinnamon/cinnamon-settings/bin/capi.py |
||||||
|
@@ -15,9 +15,7 @@ |
||||||
|
# You should have received a copy of the GNU General Public License |
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/ |
||||||
|
|
||||||
|
-import platform |
||||||
|
import os |
||||||
|
-import sysconfig |
||||||
|
|
||||||
|
from gi.repository import Gio, GObject |
||||||
|
|
||||||
|
@@ -26,23 +24,7 @@ class CManager: |
||||||
|
def __init__(self): |
||||||
|
self.extension_point = Gio.io_extension_point_register ("cinnamon-control-center-1") |
||||||
|
self.modules = [] |
||||||
|
- |
||||||
|
- architecture = platform.machine() |
||||||
|
- # get the arch-specific triplet, e.g. 'x86_64-linux-gnu' or 'arm-linux-gnueabihf' |
||||||
|
- # see also: https://wiki.debian.org/Python/MultiArch |
||||||
|
- triplet = sysconfig.get_config_var('MULTIARCH') |
||||||
|
- paths = ["/usr/lib", f"/usr/lib/{triplet}"] |
||||||
|
- |
||||||
|
- # On x86 archs, iterate through multiple paths |
||||||
|
- # For instance, on a Mint i686 box, the path is actually /usr/lib/i386-linux-gnu |
||||||
|
- x86archs = ["i386", "i486", "i586", "i686"] |
||||||
|
- if architecture in x86archs: |
||||||
|
- for arch in x86archs: |
||||||
|
- paths += ["/usr/lib/%s" % arch] |
||||||
|
- elif architecture == "x86_64": |
||||||
|
- paths += ["/usr/lib/x86_64", "/usr/lib64"] |
||||||
|
- else: |
||||||
|
- paths += ["/usr/lib/%s" % architecture] |
||||||
|
+ paths = ["/usr/lib", "/usr/lib64"] |
||||||
|
|
||||||
|
for path in paths: |
||||||
|
if not os.path.islink(path): |
Loading…
Reference in new issue