Lock
This commit is contained in:
11
shell.qml
11
shell.qml
@@ -1,8 +1,19 @@
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import "." as Shell
|
||||
|
||||
ShellRoot {
|
||||
Shell.Wall {}
|
||||
Shell.Launcher {}
|
||||
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}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user