Some slight updates to handling hovering buttons and added alpha of network

This commit is contained in:
Hannes
2026-02-16 16:38:34 +01:00
parent d7da0d0883
commit dac2760b32
4 changed files with 41 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
import QtQuick
import Quickshell
import Quickshell.Hyprland
// import Quickshell.Networking
MouseArea {
id: networkButton
width: 30
height: 28
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
Rectangle {
anchors.fill: parent
color: networkButton.containsMouse ? "#2a2a2a" : "transparent"
radius: 6
Text {
anchors.centerIn: parent
text: "󰈀 "
font.pixelSize: 26
font.family: "Nerd Font"
color: "#ffffff"
}
}
}