moved lid open/close actions to shell scripts and reflected it in the hyprland config

This commit is contained in:
2026-02-09 16:47:39 +01:00
parent 35f72e877d
commit 3bb65eecb7
3 changed files with 9 additions and 2 deletions

2
bin/lid_close.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
hyprctl keyword monitor "eDP-1, disable"

5
bin/lid_open.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
hyprctl keyword monitor "eDP-1, preferred, 0x0, 1"
hyprlock