From 6be83d00503841bd0e0c323ba5bf505ee0aa5796 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 31 May 2025 22:31:44 +0200 Subject: [PATCH] bar: util buttons: replace color picker with virtual kb --- .../quickshell/modules/bar/UtilButtons.qml | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.config/quickshell/modules/bar/UtilButtons.qml b/.config/quickshell/modules/bar/UtilButtons.qml index 1f0a09f91..22fb30058 100644 --- a/.config/quickshell/modules/bar/UtilButtons.qml +++ b/.config/quickshell/modules/bar/UtilButtons.qml @@ -29,21 +29,35 @@ Rectangle { horizontalAlignment: Qt.AlignHCenter fill: 1 text: "screenshot_region" - iconSize: Appearance.font.pixelSize.normal + iconSize: Appearance.font.pixelSize.large color: Appearance.colors.colOnLayer2 } } + // CircleUtilButton { + // Layout.alignment: Qt.AlignVCenter + // onClicked: Hyprland.dispatch("exec hyprpicker -a") + + // MaterialSymbol { + // horizontalAlignment: Qt.AlignHCenter + // fill: 1 + // text: "colorize" + // iconSize: Appearance.font.pixelSize.large + // color: Appearance.colors.colOnLayer2 + // } + + // } + CircleUtilButton { Layout.alignment: Qt.AlignVCenter - onClicked: Hyprland.dispatch("exec hyprpicker -a") + onClicked: Hyprland.dispatch("global quickshell:oskToggle") MaterialSymbol { horizontalAlignment: Qt.AlignHCenter - fill: 1 - text: "colorize" - iconSize: Appearance.font.pixelSize.normal + fill: 0 + text: "keyboard" + iconSize: Appearance.font.pixelSize.large color: Appearance.colors.colOnLayer2 }