my-config/awesome/autorun.sh

16 lines
274 B
Bash
Raw Permalink Normal View History

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