dotfiles/gui/i3lock.sh

20 lines
326 B
Bash
Raw Normal View History

2022-05-19 08:19:17 +00:00
#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
log 'Setting up i3lock'
case "$UNAMEA" in
*Ubuntu*)
sudo apt install -y \
xss-lock i3lock
;;
*artix*)
sudo pacman -S --noconfirm --needed \
xss-lock i3lock
;;
esac
echo "export LOCKER=i3lock"