From 4171cc8d56688ddd8d32992485538a2299a0b00d Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Fri, 29 Aug 2025 15:25:18 -0400 Subject: [PATCH] pywal use icon button --- modules/bar/components/Pywal.qml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/modules/bar/components/Pywal.qml b/modules/bar/components/Pywal.qml index b21078b..d83c508 100644 --- a/modules/bar/components/Pywal.qml +++ b/modules/bar/components/Pywal.qml @@ -1,27 +1,17 @@ -import qs.config +import qs.components import qs.constants -import qs.widgets import QtQuick import Quickshell.Io -StyledButton { +StyledIconButton { id: clickable + text: Icons.brickWall + onClicked: { process.running = true; } - content: StyledText { - id: text - - font.family: Theme.lucide.font.family - font.pixelSize: Dimensions.caffeine.fontSize - font.bold: true - text: Icons.brickWall - - color: clickable.containsMouse ? Theme.palette.base300 : Theme.palette.basecontent - } - Process { id: process command: ["sh", "-c", "~/dotfiles/.scripts/pywal-swww.sh"]