less curve
This commit is contained in:
@@ -10,11 +10,7 @@ import Quickshell.Hyprland
|
||||
|
||||
PanelWindow {
|
||||
|
||||
property real radius: 20
|
||||
|
||||
onClosed: {
|
||||
Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved,0,100,0,0")
|
||||
}
|
||||
property real radius: 10
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
@@ -27,7 +23,7 @@ PanelWindow {
|
||||
Component.onCompleted: {
|
||||
|
||||
//Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved," + topRect.height + "," + botRect.height + "," + leftRect.width + "," + rightRect.width)
|
||||
Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved," + topEx + "," + botEx + "," + leftEx + "," + rightEx)
|
||||
Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved," + (midFO.visible ? midFO.y + midFO.height : topEx) + "," + botEx + "," + leftEx + "," + rightEx)
|
||||
|
||||
}
|
||||
|
||||
@@ -76,6 +72,7 @@ PanelWindow {
|
||||
onEntered: {
|
||||
midFO.set = !midFO.set
|
||||
midFO.visible = Qt.binding(() => midFO.set)
|
||||
Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved," + (midFO.visible ? midFO.y + midFO.height : topEx) + "," + botEx + "," + leftEx + "," + rightEx)
|
||||
}
|
||||
//onEntered: midFO.visible = true
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ import Quickshell.Widgets
|
||||
MouseArea {
|
||||
id: root
|
||||
|
||||
property real radius: 15
|
||||
property real pad: 10
|
||||
property real radius: 10
|
||||
property real pad: 5
|
||||
property color color
|
||||
|
||||
property Item item
|
||||
|
||||
Reference in New Issue
Block a user