From eba177726e4c7e72770d5f377f7ba2f362919871 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 25 Sep 2020 05:40:48 -0500 Subject: [PATCH] Source in firestarterrc BEFORE starting all the things --- firestarter | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/firestarter b/firestarter index 52c6d5d..1641a02 100755 --- a/firestarter +++ b/firestarter @@ -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 && \