aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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():