-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautorun.sh
executable file
·41 lines (35 loc) · 1.14 KB
/
autorun.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
## run (only once) processes which spawn with the same name
function run {
if (command -v $1 && ! pgrep $1); then
$@&
fi
}
## run (only once) processes which spawn with different name
if (command -v gnome-keyring-daemon && ! pgrep gnome-keyring-d); then
gnome-keyring-daemon --daemonize --login &
fi
if (command -v start-pulseaudio-x11 && ! pgrep pulseaudio); then
start-pulseaudio-x11 &
fi
if (command -v /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 && ! pgrep polkit-mate-aut) ; then
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
fi
if (command -v xfce4-power-manager && ! pgrep xfce4-power-man) ; then
xfce4-power-manager &
fi
run xfsettingsd
run nm-applet
run light-locker
run xcape -e 'Super_L=Super_L|Control_L|Escape'
run thunar --daemon
run pa-applet
run pamac-tray
run feh --bg-scale ~/.wallpapers/wallpaper.jpg
## The following are not included in minimal edition by default
## but autorun.sh will pick them up if you install them
if (command -v system-config-printer-applet && ! pgrep applet.py ); then
system-config-printer-applet &
fi
run blueman-applet
run msm_notifier