Provide better scaling

This commit is contained in:
Ryan Hughes
2026-05-22 11:30:43 -04:00
parent baffca520f
commit 3ea8d9ffb7
13 changed files with 116 additions and 70 deletions
+1
View File
@@ -625,6 +625,7 @@ Panel {
bar: root.bar
text: root.outputIcon()
fontSize: Style.font.body
horizontalMargin: 5
onPressed: function(b) {
if (b === Qt.RightButton) root.toggleOutputMute()
else root.toggle()
+1
View File
@@ -459,6 +459,7 @@ Panel {
anchors.fill: parent
bar: root.bar
text: root.icon
horizontalMargin: 5
onPressed: function(b) {
if (b === Qt.RightButton) root.toggleBluetooth()
else if (b === Qt.MiddleButton) root.bar.run("omarchy-launch-bluetooth")
+1
View File
@@ -357,6 +357,7 @@ Panel {
bar: root.bar
text: root.displays.length > 1 ? "󰍺" : "󰍹"
fontSize: Style.font.subtitle
horizontalMargin: 5
onPressed: function(b) { root.toggle() }
onWheelMoved: function(delta) {
if (root.brightnessAvailable) root.setBrightness(root.brightnessPercent + (delta > 0 ? 5 : -5))
+1 -2
View File
@@ -644,8 +644,7 @@ Panel {
anchors.fill: parent
bar: root.bar
text: root.icon
horizontalMargin: 8.5
rightExtraMargin: 2
horizontalMargin: 5
onPressed: function(b) {
if (root.opened) root.close()
+1 -2
View File
@@ -259,8 +259,7 @@ Panel {
anchors.fill: parent
bar: root.bar
text: root.batteryIcon()
horizontalMargin: 8.5
rightExtraMargin: 2
horizontalMargin: 5
active: UPower.displayDevice && UPower.displayDevice.percentage <= 0.2 && UPower.onBattery
tooltipText: ""
onPressed: function(b) { root.toggle() }