forked from Shinonome/dots-hyprland
custom system tray
This commit is contained in:
@@ -63,7 +63,7 @@ Button {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
|
||||
onPressed: (event) => {
|
||||
if(event.button === Qt.RightButton) {
|
||||
if (root.altAction) root.altAction();
|
||||
if (root.altAction) root.altAction(event);
|
||||
return;
|
||||
}
|
||||
if(event.button === Qt.MiddleButton) {
|
||||
|
||||
@@ -10,7 +10,8 @@ import Quickshell.Services.Pipewire
|
||||
|
||||
RadioButton {
|
||||
id: root
|
||||
implicitHeight: contentItem.implicitHeight + 4 * 2
|
||||
padding: 4
|
||||
implicitHeight: contentItem.implicitHeight + padding * 2
|
||||
property string description
|
||||
property color activeColor: Appearance?.colors.colPrimary ?? "#685496"
|
||||
property color inactiveColor: Appearance?.m3colors.m3onSurfaceVariant ?? "#45464F"
|
||||
|
||||
Reference in New Issue
Block a user