Add fix for XPS 13 backlight timeout
c7703394b862cee04d024575162a2b669ed760e9
1 parent
7285b12e
.xinitrc
+4 -0
| 18 | 18 | ||
| 19 | 19 | if [ -f ~/.Xresources ]; then |
|
| 20 | 20 | xrdb -merge ~/.Xresources |
|
| 21 | 21 | fi |
|
| 22 | 22 | ||
| 23 | + | if [ -f /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/stop_timeout ]; then |
|
| 24 | + | echo 300s | sudo tee /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/stop_timeout |
|
| 25 | + | fi |
|
| 26 | + | ||
| 23 | 27 | compton -c -r 18 --active-opacity 0.95 \ |
|
| 24 | 28 | --inactive-opacity 0.70 \ |
|
| 25 | 29 | --no-fading-openclose \ |
|
| 26 | 30 | --vsync opengl & |
|
| 27 | 31 |