Commit c54970e2 authored by phob1an's avatar phob1an 🎧
Browse files

sync

parent b490b27c
......@@ -37,7 +37,7 @@ DecorationHover=ddd
DecorationFocus=ggg
[Colors:Header]
ForegroundNormal=ddd"""
ForegroundNormal=ccc"""
......@@ -147,37 +147,29 @@ try:
except:
sys.exit("Could not open image file.")
colors_list = colorz.colorz(image_filename, 8, 120)
colors_list = colorz.colorz(image_filename, 8, 80, 220, 100)
r,g,b = colors_list[0][0]
#print(r,g,b)
primary_h, primary_l, primary_s = colorsys.rgb_to_hls(r/255,g/255,b/255)
print("Colorz HSL:\t {}, {}, {} ".format(primary_h, primary_s, primary_l))
# ---------------------------------------------------------------------------------
new_s = primary_s
r,g,b = colors_list[0][1]
bright_h, bright_l, bright_s = colorsys.rgb_to_hls(r/255,g/255,b/255)
bright_l = min(bright_l, 0.98)
bright_s = min(bright_s, 0.98)
print("Colorz HSL:\t {}, {}, {} ".format(bright_h, bright_s, bright_l))
titlebar_s = 0.25
#if primary_s < 0.85 and primary_s > 0.16 and primary_l > 0.18:
#new_s = primary_s + 0.1
# Remove hue for b/w images
#if primary_s < 0.01:
#titlebar_s = 0.0
#print("new_s ", new_s)
print(primary_l)
panel_background = color_triplet(primary_h, max(primary_l/2.0, 0.2), primary_s)
panel_header = color_triplet(primary_h, 0.12, 0.09)
button_hover = color_triplet(primary_h, min(primary_l/1.25, 0.7), new_s)
print(primary_l/1.5, min(primary_l/1.25, 0.4))
panel_background = color_triplet(primary_h, min(primary_l/1.25, 0.4), primary_s)
panel_header = color_triplet(bright_h, 0.9, bright_s)
button_hover = color_triplet(primary_h, min(primary_l/1.25, 0.7), primary_s)
foreground = "255,255,255"
task_focus = color_triplet(primary_h, min(primary_l/1.25, 0.7), new_s/1.5)
task_focus = color_triplet(primary_h, min(primary_l/1.25, 0.7), primary_s/1.5)
button_foreground = "255,255,255"
highlight_color = color_triplet(primary_h, 0.8, new_s)
button_background = color_triplet(primary_h, 0.4, new_s)
highlight_color = color_triplet(bright_h, bright_l, bright_s)
button_background = color_triplet(primary_h, 0.4, primary_s)
titlebar = color_triplet(primary_h, 0.5, titlebar_s)
#print(panel_background)
# Write the colorscheme
plasma_colors = plasma_colors.replace('aaa', panel_background)
plasma_colors = plasma_colors.replace('bbb', foreground)
......
[Colors:Window]
ForegroundNormal=255,255,255
BackgroundNormal=65,47,42
BackgroundNormal=41,119,162
ForegroundNegative=212,84,0
[Colors:Selection]
BackgroundNormal=214,197,193
BackgroundNormal=148,216,253
[Colors:Complimentary]
BackgroundNormal=65,47,42
BackgroundNormal=41,119,162
ForegroundNormal=255,255,255
[Colors:Button]
ForegroundNormal=255,255,255
BackgroundNormal=123,89,80
DecorationFocus=214,197,193
DecorationHover=104,75,67
BackgroundNormal=41,119,162
DecorationFocus=148,216,253
DecorationHover=44,126,172
[Colors:View]
ForegroundNormal=255,255,255
BackgroundNormal=33,29,27
DecorationHover=214,197,193
DecorationFocus=98,79,74
BackgroundNormal=204,236,254
DecorationHover=148,216,253
DecorationFocus=65,120,151
[Colors:Header]
ForegroundNormal=214,197,193
\ No newline at end of file
ForegroundNormal=204,236,254
\ No newline at end of file
......@@ -26,7 +26,7 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.890513"
inkscape:cx="116.23588"
inkscape:cx="101.43416"
inkscape:cy="83.364598"
inkscape:document-units="px"
inkscape:current-layer="layer1"
......@@ -409,7 +409,7 @@
width="24"
id="center"
class="ColorScheme-ButtonBackground"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
y="438.26913"
x="-547.28729"
......@@ -448,7 +448,7 @@
width="24"
class="ColorScheme-ButtonBackground"
id="rect906"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
transform="scale(1,-1)" />
<rect
transform="scale(1,-1)"
......@@ -465,7 +465,7 @@
id="bottom">
<rect
transform="scale(1,-1)"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect924"
class="ColorScheme-ButtonBackground"
width="24"
......@@ -487,7 +487,7 @@
id="right">
<rect
transform="scale(1,-1)"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect930"
class="ColorScheme-ButtonBackground"
width="24"
......@@ -509,7 +509,7 @@
id="left">
<rect
transform="scale(1,-1)"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.34343219;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
id="rect936"
class="ColorScheme-ButtonBackground"
width="24"
......@@ -843,7 +843,7 @@
id="path915"
transform="translate(-649.86524,428.26913)"
d="m 124.10742,35.068359 v 6 h 6 v -2 c 0,-2.66667 -1.33333,-4 -4,-4 z"
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal" />
<rect
y="-464.33749"
x="-525.75781"
......@@ -873,7 +873,7 @@
transform="matrix(-1,0,0,1,-1082.2578,3.1171561)"
id="topleft">
<path
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
d="m 124.10742,35.068359 v 6 h 6 v -2 c 0,-2.66667 -1.33333,-4 -4,-4 z"
transform="translate(-649.86524,428.26913)"
id="path1724"
......@@ -908,7 +908,7 @@
transform="matrix(1,0,0,-1,-6.74568,965.79214)"
id="bottomright">
<path
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
d="m 124.10742,35.068359 v 6 h 6 v -2 c 0,-2.66667 -1.33333,-4 -4,-4 z"
transform="translate(-649.86524,428.26913)"
id="path1734"
......@@ -943,7 +943,7 @@
transform="rotate(-180,-541.1289,482.89607)"
id="bottomleft">
<path
style="opacity:0.7;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
style="opacity:0.8;fill:currentColor;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.90020001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.3476;paint-order:normal"
d="m 124.10742,35.068359 v 6 h 6 v -2 c 0,-2.66667 -1.33333,-4 -4,-4 z"
transform="translate(-649.86524,428.26913)"
id="path1744"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment