This commit is contained in:
2019-04-14 11:54:29 +02:00
parent cb34056f15
commit 6be0232035
14 changed files with 48 additions and 8 deletions

11
autostart/20_screen.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
printf '%s\n' "start compton"
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} compton --backend glx --vsync opengl &
printf '%s\n' "disable screen blanking"
xset -dpms &
xset s off &
printf '%s\n' "disable wakeup when lid switched"
grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup