14 lines · 242 B · rc
RawDownload
#!/bin/rc #master file is /sys/src/cmd/bitsy/light.rc switch($1){case on	echo -n 2 1 0x80 > /dev/backlightcase off	echo -n 2 0 0x80 > /dev/backlightcase auto	echo -n 1 1 0x80 > /dev/backlightcase *	echo -n 2 1 $1 > /dev/backlight}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t