aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJuhani Krekelä2024-09-11 15:45:16 +0300
committerWolfgang Müller2024-09-11 17:36:46 +0200
commit332102b598f35392f6e3cdd7d368824ec01dad74 (patch)
treed06b5a278292c2215f18f1b843e3ae2c39a044a5
parentf6ae35a596f26444122f828979936b706e57fe51 (diff)
downloadlater-332102b598f35392f6e3cdd7d368824ec01dad74.tar.gz
Change xdg_config_home to xdg_state_home
-rwxr-xr-xlater6
1 files changed, 3 insertions, 3 deletions
diff --git a/later b/later
index 2a9e955..ef1ea55 100755
--- a/later
+++ b/later
@@ -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():