Skip to content

Commit

Permalink
Add plank themes for each colour and variants (#8)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
hsbasu authored May 6, 2022
1 parent 92107ba commit c898ecb
Show file tree
Hide file tree
Showing 32 changed files with 1,613 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ src/Mint-Y/cinnamon/sass-cache
# directories
usr/*
__pycache__/*
debian/mamolinux-themes
debian/mamolinux-plank-themes
debian/.debhelper*

# dpkg-buildpackage geenerated
*.substvars
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
all: clean buildthemes
SHELL:=/bin/bash

all: clean buildthemes buildplankthemes

buildthemes:
@echo "Building the themes"
@echo "Building desktop themes"
python3 generate-themes.py All

buildplankthemes:
@echo "Building plank themes"
mkdir -p usr/share/plank/themes
@wait
cp -Rv plank-themes/* usr/share/plank/themes/

clean: SHELL:=/bin/bash
clean:
rm -rf usr __pycache__
@echo "Remove generated css files."
Expand Down
9 changes: 8 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Replaces: mint-themes, mint-clearloox-theme, mint-x-theme, mint-y-theme, mint-z-
Conflicts: mint-themes, mint-clearloox-theme, mint-x-theme, mint-y-theme, mint-z-theme, mint-themes-gtk3, cinnamon-themes
Depends: ${misc:Depends}, mamolinux-icons, mamolinux-cursors
Architecture: all
Description: MamoLinux themes
Description: MamoLinux Desktop themes
A collection of GTK, Metacity, Cinnamon themes
for MamoLinux

Package: mamolinux-themes-plank
Depends: ${misc:Depends}, plank
Architecture: all
Description: Plank themes for MamoLinux
A collection of Plank themes
for MamoLinux
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Source: https://github.com/hsbasu/mamolinux-themes

Files: *
Copyright: 2012-2014 Clement Lefebvre <[email protected]>
Copyright: 2021 Himadri Sekhar Basu <[email protected]>
2021 Himadri Sekhar Basu <[email protected]>
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
1 change: 0 additions & 1 deletion debian/install

This file was deleted.

1 change: 1 addition & 0 deletions debian/mamolinux-plank-themes.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/share/plank
1 change: 1 addition & 0 deletions debian/mamolinux-themes.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/share/themes
4 changes: 2 additions & 2 deletions generate-themes.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def generate_theme(color):

curdir = os.getcwd()

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

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

Expand Down
66 changes: 66 additions & 0 deletions plank-themes/Sucharu-Aqua/dock.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#This file auto-generated by Plank.
#2019-05-17T12:54:13+0000

[PlankTheme]
#The roundness of the top corners.
TopRoundness=50
#The roundness of the bottom corners.
BottomRoundness=0
#The thickness (in pixels) of lines drawn.
LineWidth=2
#The color (RGBA) of the outer stroke.
OuterStrokeColor=64;;89;;102;;255
#The starting color (RGBA) of the fill gradient.
FillStartColor=130;;179;;206;;192
#The ending color (RGBA) of the fill gradient.
FillEndColor=130;;179;;206;;192
#The color (RGBA) of the inner stroke.
InnerStrokeColor=64;;89;;102;;255

[PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=-6
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=1.5
#The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=2
#The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1.2
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=0
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=200
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=0
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=0
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=200
#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.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0
66 changes: 66 additions & 0 deletions plank-themes/Sucharu-Blue/dock.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#This file auto-generated by Plank.
#2019-05-17T12:54:13+0000

[PlankTheme]
#The roundness of the top corners.
TopRoundness=50
#The roundness of the bottom corners.
BottomRoundness=0
#The thickness (in pixels) of lines drawn.
LineWidth=2
#The color (RGBA) of the outer stroke.
OuterStrokeColor=57;;67;;102;;255
#The starting color (RGBA) of the fill gradient.
FillStartColor=110;;130;;198;;192
#The ending color (RGBA) of the fill gradient.
FillEndColor=110;;130;;198;;192
#The color (RGBA) of the inner stroke.
InnerStrokeColor=57;;67;;102;;255

[PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=-6
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=1.5
#The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=2
#The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1.2
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=0
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=200
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=0
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=0
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=200
#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.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0
66 changes: 66 additions & 0 deletions plank-themes/Sucharu-Brown/dock.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#This file auto-generated by Plank.
#2019-05-17T12:54:13+0000

[PlankTheme]
#The roundness of the top corners.
TopRoundness=50
#The roundness of the bottom corners.
BottomRoundness=0
#The thickness (in pixels) of lines drawn.
LineWidth=2
#The color (RGBA) of the outer stroke.
OuterStrokeColor=89;;74;;62;;255
#The starting color (RGBA) of the fill gradient.
FillStartColor=173;;144;;120;;192
#The ending color (RGBA) of the fill gradient.
FillEndColor=173;;144;;120;;192
#The color (RGBA) of the inner stroke.
InnerStrokeColor=89;;74;;62;;255

[PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=-6
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=1.5
#The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=2
#The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1.2
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=0
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=200
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=0
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=0
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=200
#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.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0
66 changes: 66 additions & 0 deletions plank-themes/Sucharu-Dark-Aqua/dock.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#This file auto-generated by Plank.
#2019-05-17T12:54:13+0000

[PlankTheme]
#The roundness of the top corners.
TopRoundness=50
#The roundness of the bottom corners.
BottomRoundness=0
#The thickness (in pixels) of lines drawn.
LineWidth=2
#The color (RGBA) of the outer stroke.
OuterStrokeColor=109;;171;;204;;255
#The starting color (RGBA) of the fill gradient.
FillStartColor=82;;129;;154;;192
#The ending color (RGBA) of the fill gradient.
FillEndColor=82;;129;;154;;192
#The color (RGBA) of the inner stroke.
InnerStrokeColor=109;;171;;204;;255

[PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=1
#The padding on the top dock edge, in tenths of a percent of IconSize.
TopPadding=-6
#The padding on the bottom dock edge, in tenths of a percent of IconSize.
BottomPadding=1.5
#The padding between items on the dock, in tenths of a percent of IconSize.
ItemPadding=2
#The size of item indicators, in tenths of a percent of IconSize.
IndicatorSize=5
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1.2
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=0
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=200
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=0
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=0
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=0
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.
ItemMoveTime=200
#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.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0
Loading

0 comments on commit c898ecb

Please sign in to comment.