try using hyprland logo for lock

This commit is contained in:
2026-01-03 15:11:24 -08:00
parent 3b69721da1
commit 98521886e6
3 changed files with 164 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ import Quickshell.Services.Pam
WlSessionLock {
id: lock
readonly property string bgPath: "assets/lockbg.jpg"
readonly property string logoPath: "assets/logo.svg"
readonly property string logoPath: "assets/hyprland.svg"
function open() {
locked = true
@@ -438,9 +438,10 @@ WlSessionLock {
anchors {
verticalCenter: parent.verticalCenter
horizontalCenter: parent.horizontalCenter
verticalCenterOffset: logo.height * 0.065 * -1
// verticalCenterOffset: logo.height * 0.065 * -1
verticalCenterOffset: logo.height * 0.015 * -1
}
width: logo.width * 0.65
width: logo.width * 0.6
height: width
source: lock.logoPath
sourceSize {