lidwatcher plugin initial setup
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
//@ pragma DropExpensiveFonts
|
||||
import Quickshell
|
||||
import Quickshell.Services.UPower
|
||||
import ZShell
|
||||
import qs.Modules
|
||||
import qs.Modules.Wallpaper
|
||||
import qs.Modules.Lock
|
||||
@@ -35,6 +36,14 @@ ShellRoot {
|
||||
id: lock
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onLidClosing(): void {
|
||||
lock.locked = true;
|
||||
}
|
||||
|
||||
target: LidWatcher
|
||||
}
|
||||
|
||||
Shortcuts {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user