Some slight updates to handling hovering buttons and added alpha of network
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user