21 lines
453 B
QML
21 lines
453 B
QML
import Quickshell
|
|
import Quickshell.Io
|
|
import "." as Shell
|
|
|
|
ShellRoot {
|
|
Shell.Wall {}
|
|
Shell.Launcher {}
|
|
Shell.StatusBar {}
|
|
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}
|
|
}
|
|
}
|