all repos — quickshell @ 5d74ab5fa553d24daf44cb45b6aa19b145ba88b8

A desert-witch desktop shell

lockscreen/LockButton.qml (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
import QtQuick
import Quickshell
import Quickshell.Services.Pam
import Quickshell.Wayland
import QtQuick.Controls

PanelWindow {
  Rectangle {
    height:200
    width:200
    Button {
      onClicked: Lock.lock.locked=true
    }
  }
}