scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

disco (293B)


      1 #!/bin/sh
      2 #
      3 # parazyd - (c) wtfpl 2016
      4 # party mode
      5 
      6 timeout=0.4
      7 while true; do
      8     echo 255 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness
      9     sleep $timeout
     10     echo 0 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness
     11     sleep $timeout
     12 done