hyprland: handle dpms on lid switch when inhibited
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
3ae6c4ed6f
commit
6a753ad0b2
1 changed files with 6 additions and 0 deletions
|
@ -64,6 +64,12 @@ in
|
|||
"CTRL+ALT, Delete, exec, ${loginctl} terminate-session ''"
|
||||
"SUPER, L, exec, ${hyprlock} --immediate & ${sleep} 1 && ${hyprctl} dispatch dpms off"
|
||||
|
||||
# Laptop lid switches
|
||||
# https://wiki.hyprland.org/Configuring/Binds/#switches
|
||||
#?? hyprctl devices
|
||||
", switch:on:Lid Switch, dpms, off" # Close
|
||||
", switch:off:Lid Switch, dpms, on" # Open
|
||||
|
||||
### Scripts
|
||||
"SUPER, Delete, exec, inhibit"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue