adding a lid listener xdg/autostart service
This commit is contained in:
parent
5366a5dc37
commit
51a6936165
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Autorandr Lid Listener
|
||||
Comment=Trigger autorandr whenever the lid state changes
|
||||
Type=Application
|
||||
Exec=bash -c "stdbuf -oL libinput debug-events | grep --line-buffered SWITCH_TOGGLE | while read line; do autorandr --change --default default; done"
|
||||
X-GNOME-Autostart-Phase=Initialization
|
Loading…
Reference in New Issue