diff options
-rwxr-xr-x | later | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,11 +6,11 @@ import argparse from datetime import datetime as dt -xdg_config_home = os.path.expanduser("~/.local/state") +xdg_state_home = os.path.expanduser("~/.local/state") if "XDG_STATE_HOME" in os.environ: - xdg_config_home = os.environ["XDG_STATE_HOME"] + xdg_state_home = os.environ["XDG_STATE_HOME"] -watch_later_dir = os.path.join(xdg_config_home, "mpv/watch_later") +watch_later_dir = os.path.join(xdg_state_home, "mpv/watch_later") def entries(): |