#!/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 echo "export LOCKER=slock"