64166249da
* Added a ui package for i3wm * Added n900 specific i3wm config * Fixed mixed tabs and spaces in i3status. This is also the first commit made on an n900 running postmarketOS. * Removed redundant X11 * Use lock.sh to lock the device * Windows management improvements * bump pkgver * Fix device-nokia-n900 checksums * Fixed path in the i3wm split package
12 lines
234 B
Bash
12 lines
234 B
Bash
#!/bin/sh
|
|
|
|
FILE=~/tmp/screenoff
|
|
if [ -f $FILE ]; then
|
|
xinput set-prop 8 "Device Enabled" 1
|
|
xset dpms force on
|
|
rm ~/.screenoff
|
|
else
|
|
xset dpms force off
|
|
xinput set-prop 8 "Device Enabled" 0
|
|
touch ~/.screenoff
|
|
fi
|