moved lid open/close actions to shell scripts and reflected it in the hyprland config
This commit is contained in:
2
bin/lid_close.sh
Executable file
2
bin/lid_close.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
hyprctl keyword monitor "eDP-1, disable"
|
||||
5
bin/lid_open.sh
Executable file
5
bin/lid_open.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
hyprctl keyword monitor "eDP-1, preferred, 0x0, 1"
|
||||
hyprlock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user