aboutsummaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/leds8
-rwxr-xr-x.scripts/panic3
-rwxr-xr-x.scripts/wallset8
3 files changed, 14 insertions, 5 deletions
diff --git a/.scripts/leds b/.scripts/leds
index 38015ef..fd0e53c 100755
--- a/.scripts/leds
+++ b/.scripts/leds
@@ -1,4 +1,8 @@
#!/bin/sh
-echo 0 | sudo tee -a /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:power/brightness &>/dev/null
-echo 0 | sudo tee -a /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:lid_logo_dot/brightness &>/dev/null
+#echo 0 | sudo tee -a /sys/class/leds/tpacpi\:\:power/brightness & >/dev/null
+
+echo 0 | sudo tee -a /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:power/brightness &
+>/dev/null
+echo 0 | sudo tee -a /sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:lid_logo_dot/brightness &
+>/dev/null
diff --git a/.scripts/panic b/.scripts/panic
new file mode 100755
index 0000000..2368d8a
--- /dev/null
+++ b/.scripts/panic
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+systemctl poweroff
diff --git a/.scripts/wallset b/.scripts/wallset
index 0f3f12a..420f5a0 100755
--- a/.scripts/wallset
+++ b/.scripts/wallset
@@ -1,5 +1,7 @@
#!/bin/bash
-random=$(find $HOME/.walls -maxdepth 1 -name "k*" -type f | shuf -n 1)
-echo $random
-hsetroot -cover "$random"
+xsetroot -solid black
+
+#random=$(find $HOME/.walls -maxdepth 1 -name "k*" -type f | shuf -n 1)
+#echo $random
+#hsetroot -cover "$random"