dotfiles/.local/bin/alpine-fallasleep.sh

8 lines
179 B
Bash

#!/bin/sh
screenlockdown.sh !&
sudo lbu ci &&
sudo umount /media/usb -r;
sudo su -c "echo mem > /sys/power/state"
sudo mount /media/usb -o rw;
sudo mount /media/usb -o remount,rw