-
-
Notifications
You must be signed in to change notification settings - Fork 149
/
autostart.sh
executable file
·36 lines (26 loc) · 982 Bytes
/
autostart.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
#!/usr/bin/env sh
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in "${HOME}/.config/openbox/autostart" to run user-specific things.
#
# https://github.com/owl4ce/dotfiles
#
# shellcheck disable=SC3044,SC2091,SC2086
# ---
exec >/dev/null 2>&1
. "${HOME}/.joyfuld"
# https://gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html#:~:text=expand_aliases
[ -z "$BASH" ] || shopt -s expand_aliases
{ [ "$(joyd_launch_apps -g terminal)" = 'urxvtc' ] && urxvtd -f -q; } &
#{ pidof -s pulseaudio -q || pulseaudio --start --log-target=syslog; } &
joyd_toggle_mode apply
joyd_tray_programs exec
picom --experimental-backends -b
if [ -x "$(command -v lxpolkit)" ]; then
lxpolkit &
else
$(find ${LIBS_PATH} -type f -iname 'polkit-gnome-authentication-agent-*' | sed 1q) &
fi
{ [ -x "$(command -v xss-lock)" ] && xss-lock -q -l "${JOYD_DIR}/xss-lock-tsl.sh"; } &
joyd_mpd_notifier
# Any additions should be added below.