diff --git a/Corners.qml b/Corners.qml index d849b83..a30dcd8 100644 --- a/Corners.qml +++ b/Corners.qml @@ -1,44 +1,53 @@ import QtQuick +import Quickshell import Quickshell.Hyprland import './Widgets' as Widgets -Item { - id: corners - readonly property real radius: 12 - Widgets.Corner { - anchors { - top: true - left: true +Repeater { + model: Quickshell.screens + delegate: Item { + id: corners + readonly property real radius: 12 + Widgets.Corner { + anchors { + top: true + left: true + } + radius: corners.radius + angle: 0 + fillColor: "black" + screen: modelData } - radius: corners.radius - angle: 0 - fillColor: "black" - } - Widgets.Corner { - anchors { - bottom: true - left: true + Widgets.Corner { + anchors { + bottom: true + left: true + } + radius: corners.radius + angle: 90 + fillColor: "black" + screen: modelData } - radius: corners.radius - angle: 90 - fillColor: "black" - } - Widgets.Corner { - anchors { - bottom: true - right: true + Widgets.Corner { + anchors { + bottom: true + right: true + } + radius: corners.radius + angle: 180 + fillColor: "black" + screen: modelData } - radius: corners.radius - angle: 180 - fillColor: "black" - } - Widgets.Corner { - anchors { - top: true - right: true + Widgets.Corner { + anchors { + top: true + right: true + } + radius: corners.radius + angle: 270 + fillColor: "black" + screen: modelData } - radius: corners.radius - angle: 270 - fillColor: "black" } + } diff --git a/Lock.qml b/Lock.qml index 2e3b683..f102202 100644 --- a/Lock.qml +++ b/Lock.qml @@ -23,7 +23,12 @@ WlSessionLock { id: content anchors.fill: parent opacity: !lock.animate || capture.ready - color: "#141414" + color: "#000" + Rectangle { + anchors.fill: parent + radius: 16 + color: "#141414" + } Rectangle { anchors { bottom: parent.bottom @@ -80,7 +85,7 @@ WlSessionLock { anchors.fill: parent color: "white" opacity: capture.ready - radius: 0 + radius: 12 RectangularShadow { anchors.fill: parent spread: 2 @@ -144,7 +149,7 @@ WlSessionLock { } NumberAnimation on radius { running: exit.running - to: 0 + to: 12 duration: 800 } } diff --git a/Panes/Brightness.qml b/Panes/Brightness.qml index 0ea6509..ad08594 100644 --- a/Panes/Brightness.qml +++ b/Panes/Brightness.qml @@ -147,7 +147,7 @@ Column { } onTapped: { dpmsToggle.active = false; - Hyprland.dispatch("dpms off"); + Hyprland.dispatch("hl.dsp.dpms(false)"); resetTimer.start(); root.close(); } diff --git a/Panes/Launcher.qml b/Panes/Launcher.qml index cd72a93..8bfbb05 100644 --- a/Panes/Launcher.qml +++ b/Panes/Launcher.qml @@ -158,6 +158,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: 64 text: modelData.emoji ?? "" + color: "white" } Text { anchors { diff --git a/Wall.qml b/Wall.qml index ae21dc3..bbc6d74 100644 --- a/Wall.qml +++ b/Wall.qml @@ -28,37 +28,37 @@ Variants { anchors.fill: parent fillMode: Image.PreserveAspectCrop } - radius: 40 - PropertyAnimation on radius { - id: radiusAnimation - running: false - to: 16 - duration: 1000 - } - transform: [ - Translate { - y: 160 - PropertyAnimation on y { - duration: 500 - to: 0 - easing.type: Easing.OutCubic - onFinished: scaleAnimation.start() - } - }, - Scale { - origin { x: width/2; y: height/2 } - xScale: 0.8 - yScale: xScale - PropertyAnimation on xScale { - id: scaleAnimation - running: false - duration: 1000 - to: 1 - easing.type: Easing.InOutCubic - onStarted: radiusAnimation.start() - } - } - ] + radius: 16 + // PropertyAnimation on radius { + // id: radiusAnimation + // running: false + // to: 16 + // duration: 1000 + // } + // transform: [ + // Translate { + // y: 160 + // PropertyAnimation on y { + // duration: 500 + // to: 0 + // easing.type: Easing.OutCubic + // onFinished: scaleAnimation.start() + // } + // }, + // Scale { + // origin { x: width/2; y: height/2 } + // xScale: 0.8 + // yScale: xScale + // PropertyAnimation on xScale { + // id: scaleAnimation + // running: false + // duration: 1000 + // to: 1 + // easing.type: Easing.InOutCubic + // onStarted: radiusAnimation.start() + // } + // } + // ] } } } diff --git a/emojis.mjs b/emojis.mjs index 57758fd..45cc12c 100644 --- a/emojis.mjs +++ b/emojis.mjs @@ -1,4 +1,5 @@ const emojis = [ + {"emoji": "¯\\_(ツ)_/¯", "name": "shruggie"}, {"emoji": "😀", "name": "grinning face"}, {"emoji": "😃", "name": "grinning face with big eyes"}, {"emoji": "😄", "name": "grinning face with smiling eyes"},