disable laptop monitor when lid closed in sway not in acpid
This commit is contained in:
@@ -85,6 +85,9 @@ output $mainMonitor {
|
|||||||
adaptive_sync on
|
adaptive_sync on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bindswitch --reload --locked lid:on output $laptopMonitor disable
|
||||||
|
bindswitch --reload --locked lid:off output $laptopMonitor enable
|
||||||
|
|
||||||
|
|
||||||
# idle and lock
|
# idle and lock
|
||||||
exec_always swayidle before-sleep $lockCmd
|
exec_always swayidle before-sleep $lockCmd
|
||||||
|
|||||||
Reference in New Issue
Block a user