summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Bar.qml10
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml4
-rw-r--r--accounts/gkleen@sif/shell/quickshell/SystemTray.qml28
3 files changed, 21 insertions, 21 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml
index 399b566f..d52740b2 100644
--- a/accounts/gkleen@sif/shell/quickshell/Bar.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml
@@ -89,18 +89,8 @@ PanelWindow {
89 89
90 PipewireWidget {} 90 PipewireWidget {}
91 91
92 Item {
93 height: parent.height
94 width: 2
95 }
96
97 SystemTray {} 92 SystemTray {}
98 93
99 Item {
100 height: parent.height
101 width: 2
102 }
103
104 KeyboardLayout {} 94 KeyboardLayout {}
105 95
106 Item { 96 Item {
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
index 545ef24f..87c7c05b 100644
--- a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
@@ -26,11 +26,11 @@ Singleton {
26 Component.onCompleted: root.currBrightness = root.calcCurrBrightness() 26 Component.onCompleted: root.currBrightness = root.calcCurrBrightness()
27 Connections { 27 Connections {
28 target: currFile 28 target: currFile
29 onLoaded: root.currBrightness = root.calcCurrBrightness() 29 function onLoaded() { root.currBrightness = root.calcCurrBrightness(); }
30 } 30 }
31 Connections { 31 Connections {
32 target: maxFile 32 target: maxFile
33 onLoaded: root.currBrightness = root.calcCurrBrightness() 33 function onLoaded() { root.currBrightness = root.calcCurrBrightness(); }
34 } 34 }
35 35
36 onCurrBrightnessChanged: { 36 onCurrBrightnessChanged: {
diff --git a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml
index 956f3995..6f70be29 100644
--- a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml
+++ b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml
@@ -47,7 +47,7 @@ Item {
47 return "" 47 return ""
48 } 48 }
49 49
50 width: 16 50 width: icon.width + 6
51 height: parent.height 51 height: parent.height
52 anchors.verticalCenter: parent.verticalCenter 52 anchors.verticalCenter: parent.verticalCenter
53 53
@@ -83,14 +83,24 @@ Item {
83 } 83 }
84 } 84 }
85 85
86 IconImage { 86 Rectangle {
87 anchors.centerIn: parent 87 anchors.fill: parent
88 width: parent.width 88 color: {
89 height: parent.width 89 if (trayItemArea.containsMouse)
90 source: trayItemWrapper.iconSource 90 return "#33808080";
91 asynchronous: true 91 return "transparent";
92 smooth: true 92 }
93 mipmap: true 93
94 IconImage {
95 id: icon
96
97 anchors.centerIn: parent
98 implicitSize: 16
99 source: trayItemWrapper.iconSource
100 asynchronous: true
101 smooth: true
102 mipmap: true
103 }
94 } 104 }
95 } 105 }
96 106