use svg icons instead of goofy font
This commit is contained in:
parent
d3b5ccc48b
commit
5df124dc5f
6 changed files with 83 additions and 37 deletions
|
|
@ -2,7 +2,6 @@ pragma ComponentBehavior: Bound
|
|||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Hyprland
|
||||
import QtQuick
|
||||
import Qt.labs.folderlistmodel 2.11
|
||||
import QtQuick.Effects
|
||||
|
|
@ -16,10 +15,16 @@ BarComponent {
|
|||
implicitWidth: Config.moduleHeight
|
||||
required property int screenHeight
|
||||
id: main
|
||||
MaterialIcon {
|
||||
anchors.centerIn: main
|
||||
text: "\ue1bc"
|
||||
font.bold: true
|
||||
IconImage {
|
||||
source: Quickshell.iconPath("preferences-desktop-wallpaper-symbolic")
|
||||
implicitSize: Config.iconSize
|
||||
anchors.centerIn: parent
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1.0
|
||||
colorizationColor: Colors.text
|
||||
brightness: 0.5
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
id: clickHandler
|
||||
|
|
|
|||
Loading…
Reference in a new issue