25 lines
583 B
QML
25 lines
583 B
QML
import Quickshell
|
|
import Quickshell.Io
|
|
import Quickshell.Services.Notifications
|
|
import "." as Shell
|
|
|
|
ShellRoot {
|
|
NotificationServer {
|
|
id: notifServer
|
|
onNotification: (notif) => notif.tracked = true
|
|
}
|
|
Shell.Wall {}
|
|
Shell.TopBar {}
|
|
Shell.Boateye {}
|
|
Shell.Lock {
|
|
id: lock
|
|
animate: true
|
|
}
|
|
IpcHandler {
|
|
target: "lock"
|
|
function instalock() {lock.animate = false; lock.locked = true}
|
|
function open() {lock.animate = true; lock.locked = true}
|
|
function close() {lock.locked = false}
|
|
}
|
|
}
|