26 lines
489 B
Bash
Executable file
26 lines
489 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# ---
|
|
# Use "run program" to run it only if it is not already running
|
|
# Use "program &" to run it regardless
|
|
# ---
|
|
# NOTE: This script runs with every restart of AwesomeWM
|
|
# TODO: run_once
|
|
|
|
|
|
function run {
|
|
if ! pgrep $1 > /dev/null ;
|
|
then
|
|
$@&
|
|
fi
|
|
}
|
|
|
|
run picom -CGb &
|
|
run nitrogen --restore &
|
|
run /usr/lib/polkit-kde-authentication-agent-1 &
|
|
run megasync
|
|
run xfce4-clipman
|
|
run xfce4-power-manager
|
|
run gammy
|
|
run dunst
|
|
run nm-applet
|
|
run blueman-applet
|