Files
dotfiles/autostart/20_screen.sh
2018-08-16 07:29:06 +02:00

12 lines
320 B
Bash
Executable File

#!/usr/bin/env bash
printf '%s\n' "start compton"
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