Skip to content

Commit

Permalink
Merge pull request #13 from stelcodes/main
Browse files Browse the repository at this point in the history
Add default XDG_CONFIG_HOME directory location
  • Loading branch information
jsspencer committed May 15, 2023
2 parents 47e57fe + 1fa2468 commit 5a1e3f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pomo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ END
#--- Command-line interface ---

action=
config=${POMO_CONFIG:-"$XDG_CONFIG_HOME/pomo.cfg"}
config_home=${XDG_CONFIG_HOME:-"$HOME/.config"}
config=${POMO_CONFIG:-"$config_home/pomo.cfg"}
while getopts "hc:" arg; do
case $arg in
c)
Expand Down

0 comments on commit 5a1e3f9

Please sign in to comment.