Implement nest detection
This commit is contained in:
parent
b054d1d1ca
commit
ee21a30107
@ -65,6 +65,7 @@ Firestarter, in addition to spawning the programs in the default configs, also i
|
|||||||
| 52 | Failed to create configuration directory |
|
| 52 | Failed to create configuration directory |
|
||||||
| 53 | Failed to create logging directory |
|
| 53 | Failed to create logging directory |
|
||||||
| 54 | `HOME` does not exist or is unreadable |
|
| 54 | `HOME` does not exist or is unreadable |
|
||||||
|
| 55 | Firestarter is already running |
|
||||||
| 70 | No configuration files available |
|
| 70 | No configuration files available |
|
||||||
|
|
||||||
## Idiosyncracies
|
## Idiosyncracies
|
||||||
|
@ -150,6 +150,8 @@ step_preexecute() {
|
|||||||
[ -n "$_optdryrun" ] && return 0
|
[ -n "$_optdryrun" ] && return 0
|
||||||
[ -r "$HOME/.xsessionrc" ] && . "$HOME/.xsessionrc"
|
[ -r "$HOME/.xsessionrc" ] && . "$HOME/.xsessionrc"
|
||||||
export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-firestarter}"
|
export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-firestarter}"
|
||||||
|
[ -n "$FIRESTARTER" ] && error "Firestarter is already running: $FIRESTARTER" 55
|
||||||
|
export FIRESTARTER="$BASHPID"
|
||||||
# dbus
|
# dbus
|
||||||
if \
|
if \
|
||||||
[ -z "$DBUS_SESSION_BUS_ADDRESS" ] && \
|
[ -z "$DBUS_SESSION_BUS_ADDRESS" ] && \
|
||||||
|
Loading…
Reference in New Issue
Block a user