aboutsummaryrefslogtreecommitdiffstats
path: root/appearance/shell.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-16 12:31:37 +0200
committerDanilo M. <danix@danix.xyz>2026-09-16 12:31:37 +0200
commit85a8d57b69cccba0b546e1f436fa4d419db94b8a (patch)
tree1c33043907f639286b4315174a4f1f29d6634112 /appearance/shell.qml
parent5cdbc880afa6201f8aa289d52e434d04ecdc2c84 (diff)
downloadquickshell-85a8d57b69cccba0b546e1f436fa4d419db94b8a.tar.gz
quickshell-85a8d57b69cccba0b546e1f436fa4d419db94b8a.zip
feat(appearance): add the icon and cursor theme model
Lists themes from ~/.icons, ~/.local/share/icons and /usr/share/icons, distinguishing cursor themes by cursors/ or manifest.hl. Icon previews come from one GTK lookup process for every theme; cursor previews extract left_ptr from a hyprcursor .hlc via unzip or from an Xcursor theme via xcur2png. Application sets gsettings and the Qt configs, and rewrites the cursor env in environment.lua.
Diffstat (limited to 'appearance/shell.qml')
-rw-r--r--appearance/shell.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/appearance/shell.qml b/appearance/shell.qml
index 8519bf6..c0356a8 100644
--- a/appearance/shell.qml
+++ b/appearance/shell.qml
@@ -20,6 +20,8 @@ ShellRoot {
function toggle() { panel.toggle(""); }
function wallpaper() { panel.toggle("wallpaper"); }
function theme() { panel.toggle("theme"); }
- function selftest(): string { return Hyprsunset.selftest() + "\n" + Hypridle.selftest(); }
+ function selftest(): string {
+ return Hyprsunset.selftest() + "\n" + Hypridle.selftest() + "\n" + Icons.selftest();
+ }
}
}