Add configuration file support

main
Elnu 3 years ago
parent d301e1de63
commit 2f19f9d1fb

@ -13,6 +13,9 @@ CLEAR_COMPLETED=" Clear completed"
clear_completed="${CLEAR_COMPLETED}${NL}" clear_completed="${CLEAR_COMPLETED}${NL}"
selected_row=2 selected_row=2
# Load configuration file
source ~/.config/rofi-checklist.conf &> /dev/null
# Read checklist file # Read checklist file
touch $FILE touch $FILE
list_raw=`cat $FILE` list_raw=`cat $FILE`