summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 11:14:52 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 11:14:52 +0900
commit8feeb607251d946b9c7857ad5c944638e9ffe362 (patch)
tree007ec419ab79346581cc0f8ecaf7260dfcfdefc1
parent7eb17684f873c336c81a84194adeb08703d4b7fb (diff)
modified public/thesiah.sh, modified static/thesiah.sh
-rwxr-xr-xpublic/thesiah.sh2
-rwxr-xr-xstatic/thesiah.sh2
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"