dotfiles/gui/slock.sh

19 lines
338 B
Bash
Raw Normal View History

2022-05-03 15:20:26 +00:00
#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
log 'Setting up slock'
2022-05-17 07:47:19 +00:00
case "$UNAMEA" in
*Ubuntu*)
sudo apt install -y \
xss-lock
;;
*artix*)
sudo pacman -S --noconfirm --needed \
xss-lock
;;
esac
2022-05-03 15:20:26 +00:00
makeinstallrepo https://gitee.com/klesh/slock.git slock