From 2f19f9d1fbc77fd23119d926bf9cb0c5f75af94e Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 14 May 2022 14:59:07 -0700 Subject: [PATCH] Add configuration file support --- rofi-checklist.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rofi-checklist.sh b/rofi-checklist.sh index 1f30adc..1145505 100755 --- a/rofi-checklist.sh +++ b/rofi-checklist.sh @@ -13,6 +13,9 @@ CLEAR_COMPLETED=" Clear completed" clear_completed="${CLEAR_COMPLETED}${NL}" selected_row=2 +# Load configuration file +source ~/.config/rofi-checklist.conf &> /dev/null + # Read checklist file touch $FILE list_raw=`cat $FILE`