change styledIcon

This commit is contained in:
lucy 2026-09-14 12:32:52 +02:00
commit 0f434b3431
4 changed files with 26 additions and 29 deletions

View file

@ -1,18 +1,18 @@
const colors = { const colors = {
base00: "#22221b", base00: "#262626",
base01: "#302f27", base01: "#af5f5f",
base02: "#5f5e4e", base02: "#5f875f",
base03: "#6c6b5a", base03: "#87875f",
base04: "#878573", base04: "#5f87af",
base05: "#929181", base05: "#5f5f87",
base06: "#e7e6df", base06: "#5f8787",
base07: "#f4f3ec", base07: "#6c6c6c",
base08: "#ba6236", base08: "#444444",
base09: "#ae7313", base09: "#ff8700",
base0A: "#a5980d", base0A: "#87af87",
base0B: "#7d9726", base0B: "#ffffaf",
base0C: "#5b9d48", base0C: "#87afd7",
base0D: "#36a166", base0D: "#8787af",
base0E: "#5f9182", base0E: "#5fafaf",
base0F: "#9d6c7c", base0F: "#bcbcbc",
} }

View file

@ -1,6 +1,6 @@
{ {
"appearance": { "appearance": {
"currentTheme": "base16-porple.json", "currentTheme": "base16-catppuccin-frappe.json",
"font": "Roboto", "font": "Roboto",
"fontSize": 14, "fontSize": 14,
"iconSize": 14, "iconSize": 14,
@ -13,6 +13,6 @@
}, },
"wallpaper": { "wallpaper": {
"wallDir": "/home/lucy/.walls/", "wallDir": "/home/lucy/.walls/",
"wallpaper": "/home/lucy/.walls/frierensuff.png" "wallpaper": "/home/lucy/.walls/Kita.png"
} }
} }

View file

@ -1,5 +1,5 @@
//@ pragma UseQApplication //@ pragma UseQApplication
//@ pragma IconTheme Papirus-Dark //@ pragma IconTheme Papirus
import Quickshell import Quickshell
import qs.modules.bar import qs.modules.bar

View file

@ -6,23 +6,20 @@ import qs
import qs.settings import qs.settings
Image { IconImage {
id: root id: root
required property string iconName required property string iconName
source: Quickshell.iconPath(iconName) source: Quickshell.iconPath(iconName)
width: Config.cfg.appearance.iconSize width: Config.cfg.appearance.iconSize
height: 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.enabled: true
layer.smooth: true
layer.effect: MultiEffect { layer.effect: MultiEffect {
colorization: 1.0 colorization: 0.5
colorizationColor: Colors.c.base05 colorizationColor: Colors.c.base0D
brightness: 1.0 brightness: 0.5
} }
} }