diff options
author | Juhani Krekelä | 2024-09-11 15:45:16 +0300 |
---|---|---|
committer | Wolfgang Müller | 2024-09-11 17:36:46 +0200 |
commit | 332102b598f35392f6e3cdd7d368824ec01dad74 (patch) | |
tree | d06b5a278292c2215f18f1b843e3ae2c39a044a5 | |
parent | f6ae35a596f26444122f828979936b706e57fe51 (diff) | |
download | later-332102b598f35392f6e3cdd7d368824ec01dad74.tar.gz |
Change xdg_config_home to xdg_state_home
-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(): |