change dim default

This commit is contained in:
ackman678
2019-02-05 20:33:22 -08:00
parent e86353cd6b
commit 4996816e06
2 changed files with 20 additions and 1 deletions

4
dim
View File

@@ -1,3 +1,5 @@
#!/bin/bash
sudo tee /sys/class/backlight/acpi_video0/brightness <<< $1
driver="intel_backlight"
#acpi_video0 or intel_backlight
sudo tee /sys/class/backlight/$driver/brightness <<< $1