dotfiles/gui/slock.sh
2022-05-17 15:47:19 +08:00

19 lines
338 B
Bash
Executable File

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