pywal use icon button

This commit is contained in:
Benjamin Palko 2025-08-29 15:25:18 -04:00
parent a3931d8aec
commit 4171cc8d56

View file

@ -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"]