Some slight updates to handling hovering buttons and added alpha of network
This commit is contained in:
@@ -22,10 +22,20 @@ Row { // Workspace Row
|
||||
border.width: 2
|
||||
|
||||
MouseArea {
|
||||
id: workspaceButton
|
||||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
anchors.fill: parent
|
||||
onClicked: Hyprland.dispatch("workspace " + modelData.id)
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: workspaceButton.containsMouse ?
|
||||
modelData.active ? "#7fbaff"
|
||||
: "#808080"
|
||||
: "transparent"
|
||||
radius: 6
|
||||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
|
||||
Reference in New Issue
Block a user