diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-26 11:14:52 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-26 11:14:52 +0900 |
| commit | 8feeb607251d946b9c7857ad5c944638e9ffe362 (patch) | |
| tree | 007ec419ab79346581cc0f8ecaf7260dfcfdefc1 | |
| parent | 7eb17684f873c336c81a84194adeb08703d4b7fb (diff) | |
modified public/thesiah.sh, modified static/thesiah.sh
| -rwxr-xr-x | public/thesiah.sh | 2 | ||||
| -rwxr-xr-x | static/thesiah.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 162f698..57d20e1 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -783,7 +783,7 @@ dbus-uuidgen >/var/lib/dbus/machine-id echo "export \$(dbus-launch)" >/etc/profile.d/dbus.sh # Enable backlight control -([ "$(ls /sys/class/backlight/)" == "intel_backlight" ] && [ ! -f /etc/X11/xorg.conf.d/20-intel.conf ]) && printf 'Section "Device" +{ [ "$(ls /sys/class/backlight/)" = "intel_backlight" ] && [ ! -f /etc/X11/xorg.conf.d/20-intel.conf ]; } && printf 'Section "Device" Identifier "Intel Graphics" Driver "intel" Option "Backlight" "intel_backlight" diff --git a/static/thesiah.sh b/static/thesiah.sh index 162f698..57d20e1 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -783,7 +783,7 @@ dbus-uuidgen >/var/lib/dbus/machine-id echo "export \$(dbus-launch)" >/etc/profile.d/dbus.sh # Enable backlight control -([ "$(ls /sys/class/backlight/)" == "intel_backlight" ] && [ ! -f /etc/X11/xorg.conf.d/20-intel.conf ]) && printf 'Section "Device" +{ [ "$(ls /sys/class/backlight/)" = "intel_backlight" ] && [ ! -f /etc/X11/xorg.conf.d/20-intel.conf ]; } && printf 'Section "Device" Identifier "Intel Graphics" Driver "intel" Option "Backlight" "intel_backlight" |
