Source in firestarterrc BEFORE starting all the things
This commit is contained in:
parent
24282ff7b5
commit
eba177726e
@ -222,6 +222,8 @@ fsstatus() {
|
||||
step_preexecute() {
|
||||
# Special things that can't use simple configuration files
|
||||
[ -n "$_optdryrun" ] && return 0
|
||||
# Execute a user rc if it exists
|
||||
[ -r "$HOME/.firestarterrc" ] && . "$HOME/.firestarterrc"
|
||||
#[ -r "$HOME/.xsessionrc" ] && . "$HOME/.xsessionrc"
|
||||
export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-firestarter}"
|
||||
[ -n "$FIRESTARTER" ] && [ "$FIRESTARTER_DISPLAY" == "$DISPLAY" ] error "Firestarter is already running on $DISPLAY: $FIRESTARTER" 55
|
||||
@ -344,12 +346,6 @@ step_postexecute() {
|
||||
fi
|
||||
# Dumb polybar workaround
|
||||
killall polybar -SIGUSR1
|
||||
# Execute a user rc if it exists
|
||||
local firestarterrc="$HOME/.firestarterrc"
|
||||
if [ -r "$firestarterrc" ] && [ -z "$dryrun" ]; then
|
||||
log "Executing rc script: $firestarterrc"
|
||||
. "$firestarterrc"
|
||||
fi
|
||||
# Propogate environment variables
|
||||
if [ -n "$_hasdbus" ]; then
|
||||
has dbus-update-activation-environment && \
|
||||
|
Loading…
Reference in New Issue
Block a user