push
This commit is contained in:
parent
21cb632dce
commit
50a9a62a2d
8 changed files with 34 additions and 15 deletions
|
|
@ -1,18 +1,29 @@
|
|||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import qs
|
||||
import qs.settings
|
||||
|
||||
IconImage {
|
||||
|
||||
Image {
|
||||
id: root
|
||||
required property string iconName
|
||||
implicitSize: Config.cfg.appearance.iconSize
|
||||
source: Quickshell.iconPath(iconName)
|
||||
width: Config.cfg.appearance.iconSize
|
||||
height: Config.cfg.appearance.iconSize
|
||||
sourceSize.width: Config.cfg.appearance.iconSize
|
||||
sourceSize.height: Config.cfg.appearance.iconSize
|
||||
fillMode: Image.PreserveAspectFit
|
||||
smooth: true
|
||||
mipmap: true
|
||||
|
||||
layer.enabled: true
|
||||
layer.smooth: true
|
||||
layer.textureSize: Qt.size(width * 4, height * 4)
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1.0
|
||||
colorizationColor: Colors.text
|
||||
brightness: 1.0
|
||||
colorization: 1.0
|
||||
colorizationColor: Colors.text
|
||||
brightness: 1.0
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue