#!/bin/sh . $HOME/.shenv # screen locking setup # kill any other lockers that might have snuck in pkill -u $USER light-locker pkill -u $USER xscreensaver pkill -u $USER xautolock pkill -u $USER xss-lock # turn over lid switch handling to logind, if needed if which xfconf-query >/dev/null; then xfconf-query -c xfce4-power-manager -n \ -p /xfce4-power-manager/logind-handle-lid-switch \ -t bool -s true fi xss-lock --transfer-sleep-lock \ -- i3-startup-xtrlock-inner-lock &