less curve

This commit is contained in:
2026-03-07 23:07:40 -06:00
parent 95043f84e4
commit 17ad2959c1
3 changed files with 6 additions and 8 deletions

View File

@@ -10,11 +10,7 @@ import Quickshell.Hyprland
PanelWindow { PanelWindow {
property real radius: 20 property real radius: 10
onClosed: {
Hyprland.dispatch("exec hyprctl keyword monitor eDP-1,addreserved,0,100,0,0")
}
anchors { anchors {
top: true top: true
@@ -27,7 +23,7 @@ PanelWindow {
Component.onCompleted: { 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," + 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: { onEntered: {
midFO.set = !midFO.set midFO.set = !midFO.set
midFO.visible = Qt.binding(() => 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 //onEntered: midFO.visible = true
} }

View File

@@ -7,8 +7,8 @@ import Quickshell.Widgets
MouseArea { MouseArea {
id: root id: root
property real radius: 15 property real radius: 10
property real pad: 10 property real pad: 5
property color color property color color
property Item item property Item item

View File

@@ -39,6 +39,7 @@
activeConfig = "aurora"; activeConfig = "aurora";
configs = { configs = {
default = "${self.packages.${system}.aurora-dots}/share";
aurora = "${self.packages.${system}.aurora-dots}/share"; aurora = "${self.packages.${system}.aurora-dots}/share";
hybar = "${self.packages.${system}.hybar-dots}/share"; hybar = "${self.packages.${system}.hybar-dots}/share";
}; };