my-config/awesome/autorun.sh

15 lines
270 B
Bash
Executable file

#!/bin/sh
run() {
if ! pgrep -f "$1" ;
then
"$@"&
fi
}
run "xautolock -detectsleep -time 1 -locker '~/.local/bin/lock.sh'"
run "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
run "nm-applet"
run "picom"
run "openrgb --startminimized -p traaaaa"