This commit is contained in:
2018-12-28 18:19:00 +01:00
parent ab9d28353b
commit cb34056f15
23 changed files with 214 additions and 106 deletions

View File

@@ -1,11 +0,0 @@
#!/usr/bin/env bash
printf '%s\n' "start compton"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} compton --backend xrender --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