init: working version
This commit is contained in:
commit
7d8d7dacae
109 changed files with 15066 additions and 0 deletions
29
custom/ColoredIcon.qml
Normal file
29
custom/ColoredIcon.qml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
|
||||
import Quickshell.Widgets
|
||||
import QtQuick
|
||||
|
||||
IconImage {
|
||||
id: root
|
||||
|
||||
required property color color
|
||||
property color dominantColor
|
||||
|
||||
asynchronous: true
|
||||
|
||||
/* layer.enabled: true */
|
||||
/* layer.effect: Colouriser { */
|
||||
/* sourceColor: root.dominantColour */
|
||||
/* colorizationColor: root.colour */
|
||||
/* } */
|
||||
|
||||
/* layer.onEnabledChanged: { */
|
||||
/* if (layer.enabled && status === Image.Ready) */
|
||||
/* CUtils.getDominantColour(this, c => dominantColour = c); */
|
||||
/* } */
|
||||
|
||||
/* onStatusChanged: { */
|
||||
/* if (layer.enabled && status === Image.Ready) */
|
||||
/* CUtils.getDominantColour(this, c => dominantColour = c); */
|
||||
/* } */
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue