2020-05-24 23:35:30 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-07-08 00:39:39 -05:00
|
|
|
if [ -n "$FIRESTARTER" ]; then
|
|
|
|
echo "Firestarter is already running in this session"
|
|
|
|
exit 50
|
|
|
|
fi
|
|
|
|
for term in mate-terminal lxterminal xfce4-terminal konsole urxvt xterm; do
|
|
|
|
if command -v "$term" > /dev/null 2>&1; then
|
|
|
|
export TERMINAL="$term"
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|
2020-06-29 10:06:21 -05:00
|
|
|
if [ -x "$HOME/.wpgen/wpgen" ]; then
|
2020-06-29 10:19:52 -05:00
|
|
|
resolutions=($(xrandr -q | grep '*' | awk '{print $1}'))
|
|
|
|
for res in ${resolutions[@]}; do
|
|
|
|
"$HOME/.wpgen/wpgen" "$res"
|
|
|
|
done
|
2020-06-29 10:06:21 -05:00
|
|
|
fi
|
|
|
|
if [ -x "$HOME/.config/conky/gen.sh" ]; then
|
|
|
|
"$HOME/.config/conky/gen.sh"
|
|
|
|
fi
|
2020-05-24 23:35:30 -05:00
|
|
|
if [ -x "$HOME/.firestarter/firestarter" ]; then
|
2020-05-24 23:39:09 -05:00
|
|
|
export FS_DIEONWM=true
|
2020-06-18 08:43:09 -05:00
|
|
|
exec "$HOME/.firestarter/firestarter" -vvv | tee .firestarter.log
|
2020-05-24 23:35:30 -05:00
|
|
|
fi
|