From 3e65c82842c3d0798ff8e2e9693baecc012f23d3 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 6 Aug 2022 13:20:44 -0400 Subject: use config file --- firestart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firestart b/firestart index 3fdd944..b146d80 100755 --- a/firestart +++ b/firestart @@ -7,6 +7,12 @@ MEMORY_MAX=50% READ_OPS=1G WRITE_OPS=$READ_OPS +cfg=$HOME/.config/firestart/conf +if [ -e "$cfg" ] +then + . "$cfg" +fi + if systemctl --user is-active "$UNIT" >/dev/null then exec "$CMD" "$@" -- cgit v1.2.3