pywal icon indicating copy to clipboard operation
pywal copied to clipboard

[Feature request] KDE Color Scheme support (includes ready made template)

Open NyaomiDEV opened this issue 4 years ago • 6 comments

Well, as per with the other request regarding KDE Plasma wallpaper support, I have both a feature request and a request to merge something.

The request is to reload KDE color schemes upon successful wal invocation (I still did not get a way to do that); the "something to merge" is the color scheme template (maybe it can be tweaked a bit before merge).

Click to view the color scheme template
[ColorEffects:Disabled]
Color={color10.rgb}
ColorAmount=0
ColorEffect=3
ContrastAmount=0.55
ContrastEffect=1
IntensityAmount=-1
IntensityEffect=0

[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0
ColorEffect=0
ContrastAmount=0
ContrastEffect=0
Enable=false
IntensityAmount=-1
IntensityEffect=0

[Colors:Button]
BackgroundAlternate={background.rgb}
BackgroundNormal={background.rgb}
DecorationFocus={color14.rgb}
DecorationHover={color7.rgb}
ForegroundActive={color2.rgb}
ForegroundInactive={color10.rgb}
ForegroundLink={color4.rgb}
ForegroundNegative={color5.rgb}
ForegroundNeutral={color10.rgb}
ForegroundNormal={foreground.rgb}
ForegroundPositive={color6.rgb}
ForegroundVisited={color13.rgb}

[Colors:Selection]
BackgroundAlternate={color12.rgb}
BackgroundNormal={color14.rgb}
DecorationFocus={color14.rgb}
DecorationHover={color7.rgb}
ForegroundActive={color2.rgb}
ForegroundInactive={color0.rgb}
ForegroundLink={color4.rgb}
ForegroundNegative={color5.rgb}
ForegroundNeutral={color10.rgb}
ForegroundNormal={color0.rgb}
ForegroundPositive={color6.rgb}
ForegroundVisited={color13.rgb}

[Colors:Tooltip]
BackgroundAlternate={background.rgb}
BackgroundNormal={background.rgb}
DecorationFocus={color14.rgb}
DecorationHover={color7.rgb}
ForegroundActive={color2.rgb}
ForegroundInactive={color10.rgb}
ForegroundLink={color4.rgb}
ForegroundNegative={color5.rgb}
ForegroundNeutral={color10.rgb}
ForegroundNormal={foreground.rgb}
ForegroundPositive={color6.rgb}
ForegroundVisited={color13.rgb}

[Colors:View]
BackgroundAlternate={color0.rgb}
BackgroundNormal={background.rgb}
DecorationFocus={color6.rgb}
DecorationHover={color14.rgb}
ForegroundActive={color2.rgb}
ForegroundInactive={color10.rgb}
ForegroundLink={color4.rgb}
ForegroundNegative={color5.rgb}
ForegroundNeutral={color10.rgb}
ForegroundNormal={foreground.rgb}
ForegroundPositive={color6.rgb}
ForegroundVisited={color13.rgb}

[Colors:Window]
BackgroundAlternate={color0.rgb}
BackgroundNormal={color0.rgb}
DecorationFocus={color14.rgb}
DecorationHover={color7.rgb}
ForegroundActive={color2.rgb}
ForegroundInactive={color10.rgb}
ForegroundLink={color4.rgb}
ForegroundNegative={color5.rgb}
ForegroundNeutral={color10.rgb}
ForegroundNormal={foreground.rgb}
ForegroundPositive={color6.rgb}
ForegroundVisited={color13.rgb}

[General]
ColorScheme=Wal
Name=Wal
shadeSortColumn=true

[KDE]
contrast=5

[WM]
activeBackground={background.rgb}
activeBlend={color10.rgb}
activeForeground={foreground.rgb}
inactiveBackground={color0.rgb}
inactiveBlend={color11.rgb}
inactiveForeground={color10.rgb}

NyaomiDEV avatar Apr 01 '21 14:04 NyaomiDEV

I found this tool which could be used to achieve this, but it probably wouldn't be a clean solution.

pave-unpaved avatar Oct 18 '21 01:10 pave-unpaved

I made a simple bash script, I'll see how I go on improving it to be less... bad, but it can do the job for now.

pave-unpaved avatar Oct 19 '21 04:10 pave-unpaved

I wrote a bash script for this as well! it has no dependencies outside of pywal and plasma. it does need you to manually add the file inside of KDE settings and activate it though

Did you use my template to do that? I reckon the color placement is very similar

NyaomiDEV avatar Oct 21 '21 16:10 NyaomiDEV

Yes, and I used Breeze Dark from KDE side by side to pick out which colors should go where

bakerk98 avatar Oct 21 '21 20:10 bakerk98

Yes, and I used Breeze Dark from KDE side by side to pick out which colors should go where

Wonder if we could diff the two things to have a decent script and a decent Wal template.

NyaomiDEV avatar Oct 22 '21 00:10 NyaomiDEV