This forum has been archived. All content is frozen. Please use KDE Discuss instead.

way to "pin" one value in e.g. kdeglobals...

Tags: None
(comma "," separated)
begonia
Registered Member
Posts
149
Karma
0
OS
On the bottom of the file ~/.config/kdeglobals there is:
Code: Select all
[WM]
AllowKDEAppsToRememberWindowPositions=true
activeBackground=247,99,13
activeBlend=252,252,252
activeFont=Noto Sans,10,-1,5,50,0,0,0,0,0
activeForeground=255,255,255
inactiveBackground=239,240,241
inactiveBlend=75,71,67
inactiveForeground=137,142,146


If I would want to keep het
activeForeground

pinned to 255.255.255 (white), would there be a way to make this one string sort of "read only"? Would there be e.g. a token or so that I can put in front of it (or behind it) to achieve this goal? When I choose an other plasma-color scheme the breeze-application/widget theme almost always chooses to make the window control buttons black and in most cases I like white far better.
I can not find it.
begonia
Registered Member
Posts
149
Karma
0
OS
He guys, I found the answer myself. Only it doesn't seem to work.
You can "lock down" values or sections of values in e.g. the kdeglobals file. This is to be done by making it "immutable". I could make the value
Code: Select all
activeForeground=255,255,255
"immutable" by placing [$i] in it just before the "=" sign. Then it would read
Code: Select all
activeForeground[$i]=255,255,255
This is a great option only it doesn't work at al.
Does anybody know if I'm missing something?


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]