fix styledicon looking weird on laptop

This commit is contained in:
lucy 2026-09-01 14:10:34 +02:00
commit 33312f47f0
4 changed files with 5 additions and 27 deletions

View file

@ -1 +1 @@
/run/user/1000/quickshell/vfs/1b52f593d70d8ccef6fc467cf768a2ef/.qmlls.ini /run/user/1001/quickshell/vfs/1b52f593d70d8ccef6fc467cf768a2ef/.qmlls.ini

View file

@ -1,18 +0,0 @@
const colors = {
base00: "#161616",
base01: "#262626",
base02: "#393939",
base03: "#525252",
base04: "#dde1e6",
base05: "#f2f4f8",
base06: "#ffffff",
base07: "#08bdba",
base08: "#ee5396",
base09: "#ff7eb6",
base0A: "#ff6f00",
base0B: "#42be65",
base0C: "#3ddbd9",
base0D: "#33b1ff",
base0E: "#be95ff",
base0F: "#82cfff",
}

1
Colors.js Symbolic link
View file

@ -0,0 +1 @@
/nix/store/3bzaidljy8i3lvxr0ysy2fzc5ixkwkmi-home-manager-files/.config/quickshell/Colors.js

View file

@ -12,6 +12,6 @@
}, },
"wallpaper": { "wallpaper": {
"wallDir": "/home/lucy/.walls/", "wallDir": "/home/lucy/.walls/",
"wallpaper": "/home/lucy/.walls/peakpx.jpg" "wallpaper": "/home/lucy/.walls/faris.png"
} }
} }

View file

@ -6,21 +6,16 @@ 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 implicitSize: 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 smooth: true
mipmap: true mipmap: true
layer.enabled: true layer.enabled: true
layer.smooth: true layer.smooth: true
layer.textureSize: Qt.size(width * 4, height * 4)
layer.effect: MultiEffect { layer.effect: MultiEffect {
colorization: 1.0 colorization: 1.0
colorizationColor: Colors.text colorizationColor: Colors.text