Added current scripts

This commit is contained in:
Allen
2023-07-18 20:55:12 -05:00
parent bb8cac305b
commit 632a408c31
16 changed files with 216 additions and 0 deletions

16
lockand Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
xset dpms force off
#Locker seems to die or be not responsive sometimes (not sure why...) so will just use slock -f as an alternative
locker=xautolock
#if [[ $(ps -ef | grep $locker | grep -v grep | wc -l) != 0 ]]; then
#xautolock -locknow
#else
#echo no
slock -f &
#fi
sleep 3
systemctl $1