You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
212 B

#!/bin/bash
# Exits if a command fails
set -e
if passwd -S | grep NP
then
# No password set, so ask user to set one
gnome-terminal.real -t "" --geometry=40x10 --wait -- passwd
sleep 1
fi
i3lock -c000000