Skip to content

Commit c898ecb

Browse files
authored
Add plank themes for each colour and variants (#8)
- Add light and dark plank themes for each colour - generate-themes.py: comment removing directory 'usr' - Update .gitignore - Update copyright - Create separate packages for mamolinux-themes and mamolinux-themes-plank
1 parent 92107ba commit c898ecb

File tree

32 files changed

+1613
-8
lines changed

32 files changed

+1613
-8
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ src/Mint-Y/cinnamon/sass-cache
99
# directories
1010
usr/*
1111
__pycache__/*
12+
debian/mamolinux-themes
13+
debian/mamolinux-plank-themes
14+
debian/.debhelper*
15+
16+
# dpkg-buildpackage geenerated
17+
*.substvars

Makefile

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
all: clean buildthemes
1+
SHELL:=/bin/bash
2+
3+
all: clean buildthemes buildplankthemes
24

35
buildthemes:
4-
@echo "Building the themes"
6+
@echo "Building desktop themes"
57
python3 generate-themes.py All
8+
9+
buildplankthemes:
10+
@echo "Building plank themes"
11+
mkdir -p usr/share/plank/themes
12+
@wait
13+
cp -Rv plank-themes/* usr/share/plank/themes/
614

7-
clean: SHELL:=/bin/bash
815
clean:
916
rm -rf usr __pycache__
1017
@echo "Remove generated css files."

debian/control

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ Replaces: mint-themes, mint-clearloox-theme, mint-x-theme, mint-y-theme, mint-z-
1111
Conflicts: mint-themes, mint-clearloox-theme, mint-x-theme, mint-y-theme, mint-z-theme, mint-themes-gtk3, cinnamon-themes
1212
Depends: ${misc:Depends}, mamolinux-icons, mamolinux-cursors
1313
Architecture: all
14-
Description: MamoLinux themes
14+
Description: MamoLinux Desktop themes
1515
A collection of GTK, Metacity, Cinnamon themes
1616
for MamoLinux
17+
18+
Package: mamolinux-themes-plank
19+
Depends: ${misc:Depends}, plank
20+
Architecture: all
21+
Description: Plank themes for MamoLinux
22+
A collection of Plank themes
23+
for MamoLinux

debian/copyright

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Source: https://github.com/hsbasu/mamolinux-themes
55

66
Files: *
77
Copyright: 2012-2014 Clement Lefebvre <root@linuxmint.com>
8-
Copyright: 2021 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
8+
2021 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
99
License: GPL-3+
1010
This program is free software: you can redistribute it and/or modify
1111
it under the terms of the GNU General Public License as published by

debian/install

-1
This file was deleted.

debian/mamolinux-plank-themes.install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/plank

debian/mamolinux-themes.install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/share/themes

generate-themes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ def generate_theme(color):
135135

136136
curdir = os.getcwd()
137137

138-
if os.path.exists("usr"):
139-
os.system("rm -rf usr/")
138+
# if os.path.exists("usr"):
139+
# os.system("rm -rf usr/")
140140

141141
os.system("mkdir -p usr/share/themes")
142142

plank-themes/Sucharu-Aqua/dock.theme

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#This file auto-generated by Plank.
2+
#2019-05-17T12:54:13+0000
3+
4+
[PlankTheme]
5+
#The roundness of the top corners.
6+
TopRoundness=50
7+
#The roundness of the bottom corners.
8+
BottomRoundness=0
9+
#The thickness (in pixels) of lines drawn.
10+
LineWidth=2
11+
#The color (RGBA) of the outer stroke.
12+
OuterStrokeColor=64;;89;;102;;255
13+
#The starting color (RGBA) of the fill gradient.
14+
FillStartColor=130;;179;;206;;192
15+
#The ending color (RGBA) of the fill gradient.
16+
FillEndColor=130;;179;;206;;192
17+
#The color (RGBA) of the inner stroke.
18+
InnerStrokeColor=64;;89;;102;;255
19+
20+
[PlankDockTheme]
21+
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
22+
HorizPadding=1
23+
#The padding on the top dock edge, in tenths of a percent of IconSize.
24+
TopPadding=-6
25+
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
26+
BottomPadding=1.5
27+
#The padding between items on the dock, in tenths of a percent of IconSize.
28+
ItemPadding=2
29+
#The size of item indicators, in tenths of a percent of IconSize.
30+
IndicatorSize=5
31+
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
32+
IconShadowSize=1.2
33+
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
34+
UrgentBounceHeight=1.6666666666666667
35+
#The height (in percent of IconSize) to bounce an icon when launching an application.
36+
LaunchBounceHeight=0.625
37+
#The opacity value (0 to 1) to fade the dock to when hiding it.
38+
FadeOpacity=1
39+
#The amount of time (in ms) for click animations.
40+
ClickTime=300
41+
#The amount of time (in ms) to bounce an urgent icon.
42+
UrgentBounceTime=0
43+
#The amount of time (in ms) to bounce an icon when launching an application.
44+
LaunchBounceTime=600
45+
#The amount of time (in ms) for active window indicator animations.
46+
ActiveTime=300
47+
#The amount of time (in ms) to slide icons into/out of the dock.
48+
SlideTime=300
49+
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
50+
FadeTime=250
51+
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
52+
HideTime=200
53+
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
54+
GlowSize=0
55+
#The total time (in ms) to show the hidden-dock urgent glow.
56+
GlowTime=0
57+
#The time (in ms) of each pulse of the hidden-dock urgent glow.
58+
GlowPulseTime=0
59+
#The hue-shift (-180 to 180) of the urgent indicator color.
60+
UrgentHueShift=150
61+
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
62+
ItemMoveTime=200
63+
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
64+
CascadeHide=true
65+
#The color (RGBA) of the badge displaying urgent count
66+
BadgeColor=0;;0;;0;;0

plank-themes/Sucharu-Blue/dock.theme

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#This file auto-generated by Plank.
2+
#2019-05-17T12:54:13+0000
3+
4+
[PlankTheme]
5+
#The roundness of the top corners.
6+
TopRoundness=50
7+
#The roundness of the bottom corners.
8+
BottomRoundness=0
9+
#The thickness (in pixels) of lines drawn.
10+
LineWidth=2
11+
#The color (RGBA) of the outer stroke.
12+
OuterStrokeColor=57;;67;;102;;255
13+
#The starting color (RGBA) of the fill gradient.
14+
FillStartColor=110;;130;;198;;192
15+
#The ending color (RGBA) of the fill gradient.
16+
FillEndColor=110;;130;;198;;192
17+
#The color (RGBA) of the inner stroke.
18+
InnerStrokeColor=57;;67;;102;;255
19+
20+
[PlankDockTheme]
21+
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
22+
HorizPadding=1
23+
#The padding on the top dock edge, in tenths of a percent of IconSize.
24+
TopPadding=-6
25+
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
26+
BottomPadding=1.5
27+
#The padding between items on the dock, in tenths of a percent of IconSize.
28+
ItemPadding=2
29+
#The size of item indicators, in tenths of a percent of IconSize.
30+
IndicatorSize=5
31+
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
32+
IconShadowSize=1.2
33+
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
34+
UrgentBounceHeight=1.6666666666666667
35+
#The height (in percent of IconSize) to bounce an icon when launching an application.
36+
LaunchBounceHeight=0.625
37+
#The opacity value (0 to 1) to fade the dock to when hiding it.
38+
FadeOpacity=1
39+
#The amount of time (in ms) for click animations.
40+
ClickTime=300
41+
#The amount of time (in ms) to bounce an urgent icon.
42+
UrgentBounceTime=0
43+
#The amount of time (in ms) to bounce an icon when launching an application.
44+
LaunchBounceTime=600
45+
#The amount of time (in ms) for active window indicator animations.
46+
ActiveTime=300
47+
#The amount of time (in ms) to slide icons into/out of the dock.
48+
SlideTime=300
49+
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
50+
FadeTime=250
51+
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
52+
HideTime=200
53+
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
54+
GlowSize=0
55+
#The total time (in ms) to show the hidden-dock urgent glow.
56+
GlowTime=0
57+
#The time (in ms) of each pulse of the hidden-dock urgent glow.
58+
GlowPulseTime=0
59+
#The hue-shift (-180 to 180) of the urgent indicator color.
60+
UrgentHueShift=150
61+
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
62+
ItemMoveTime=200
63+
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
64+
CascadeHide=true
65+
#The color (RGBA) of the badge displaying urgent count
66+
BadgeColor=0;;0;;0;;0

plank-themes/Sucharu-Brown/dock.theme

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#This file auto-generated by Plank.
2+
#2019-05-17T12:54:13+0000
3+
4+
[PlankTheme]
5+
#The roundness of the top corners.
6+
TopRoundness=50
7+
#The roundness of the bottom corners.
8+
BottomRoundness=0
9+
#The thickness (in pixels) of lines drawn.
10+
LineWidth=2
11+
#The color (RGBA) of the outer stroke.
12+
OuterStrokeColor=89;;74;;62;;255
13+
#The starting color (RGBA) of the fill gradient.
14+
FillStartColor=173;;144;;120;;192
15+
#The ending color (RGBA) of the fill gradient.
16+
FillEndColor=173;;144;;120;;192
17+
#The color (RGBA) of the inner stroke.
18+
InnerStrokeColor=89;;74;;62;;255
19+
20+
[PlankDockTheme]
21+
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
22+
HorizPadding=1
23+
#The padding on the top dock edge, in tenths of a percent of IconSize.
24+
TopPadding=-6
25+
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
26+
BottomPadding=1.5
27+
#The padding between items on the dock, in tenths of a percent of IconSize.
28+
ItemPadding=2
29+
#The size of item indicators, in tenths of a percent of IconSize.
30+
IndicatorSize=5
31+
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
32+
IconShadowSize=1.2
33+
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
34+
UrgentBounceHeight=1.6666666666666667
35+
#The height (in percent of IconSize) to bounce an icon when launching an application.
36+
LaunchBounceHeight=0.625
37+
#The opacity value (0 to 1) to fade the dock to when hiding it.
38+
FadeOpacity=1
39+
#The amount of time (in ms) for click animations.
40+
ClickTime=300
41+
#The amount of time (in ms) to bounce an urgent icon.
42+
UrgentBounceTime=0
43+
#The amount of time (in ms) to bounce an icon when launching an application.
44+
LaunchBounceTime=600
45+
#The amount of time (in ms) for active window indicator animations.
46+
ActiveTime=300
47+
#The amount of time (in ms) to slide icons into/out of the dock.
48+
SlideTime=300
49+
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
50+
FadeTime=250
51+
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
52+
HideTime=200
53+
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
54+
GlowSize=0
55+
#The total time (in ms) to show the hidden-dock urgent glow.
56+
GlowTime=0
57+
#The time (in ms) of each pulse of the hidden-dock urgent glow.
58+
GlowPulseTime=0
59+
#The hue-shift (-180 to 180) of the urgent indicator color.
60+
UrgentHueShift=150
61+
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
62+
ItemMoveTime=200
63+
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
64+
CascadeHide=true
65+
#The color (RGBA) of the badge displaying urgent count
66+
BadgeColor=0;;0;;0;;0
+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#This file auto-generated by Plank.
2+
#2019-05-17T12:54:13+0000
3+
4+
[PlankTheme]
5+
#The roundness of the top corners.
6+
TopRoundness=50
7+
#The roundness of the bottom corners.
8+
BottomRoundness=0
9+
#The thickness (in pixels) of lines drawn.
10+
LineWidth=2
11+
#The color (RGBA) of the outer stroke.
12+
OuterStrokeColor=109;;171;;204;;255
13+
#The starting color (RGBA) of the fill gradient.
14+
FillStartColor=82;;129;;154;;192
15+
#The ending color (RGBA) of the fill gradient.
16+
FillEndColor=82;;129;;154;;192
17+
#The color (RGBA) of the inner stroke.
18+
InnerStrokeColor=109;;171;;204;;255
19+
20+
[PlankDockTheme]
21+
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
22+
HorizPadding=1
23+
#The padding on the top dock edge, in tenths of a percent of IconSize.
24+
TopPadding=-6
25+
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
26+
BottomPadding=1.5
27+
#The padding between items on the dock, in tenths of a percent of IconSize.
28+
ItemPadding=2
29+
#The size of item indicators, in tenths of a percent of IconSize.
30+
IndicatorSize=5
31+
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
32+
IconShadowSize=1.2
33+
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
34+
UrgentBounceHeight=1.6666666666666667
35+
#The height (in percent of IconSize) to bounce an icon when launching an application.
36+
LaunchBounceHeight=0.625
37+
#The opacity value (0 to 1) to fade the dock to when hiding it.
38+
FadeOpacity=1
39+
#The amount of time (in ms) for click animations.
40+
ClickTime=300
41+
#The amount of time (in ms) to bounce an urgent icon.
42+
UrgentBounceTime=0
43+
#The amount of time (in ms) to bounce an icon when launching an application.
44+
LaunchBounceTime=600
45+
#The amount of time (in ms) for active window indicator animations.
46+
ActiveTime=300
47+
#The amount of time (in ms) to slide icons into/out of the dock.
48+
SlideTime=300
49+
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
50+
FadeTime=250
51+
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
52+
HideTime=200
53+
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
54+
GlowSize=0
55+
#The total time (in ms) to show the hidden-dock urgent glow.
56+
GlowTime=0
57+
#The time (in ms) of each pulse of the hidden-dock urgent glow.
58+
GlowPulseTime=0
59+
#The hue-shift (-180 to 180) of the urgent indicator color.
60+
UrgentHueShift=150
61+
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
62+
ItemMoveTime=200
63+
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
64+
CascadeHide=true
65+
#The color (RGBA) of the badge displaying urgent count
66+
BadgeColor=0;;0;;0;;0

0 commit comments

Comments
 (0)