A collection of scripts

Store theme files in XDG_STATE_HOME instead of XDG_CACHE_HOME

yemou 66269954 1e613a83

Changed files
+4 -4
scritps
thm
+3 -3
flake.lock
··· 2 2 "nodes": { 3 3 "nixpkgs": { 4 4 "locked": { 5 - "lastModified": 1715961556, 6 - "narHash": "sha256-+NpbZRCRisUHKQJZF3CT+xn14ZZQO+KjxIIanH3Pvn4=", 5 + "lastModified": 1726062873, 6 + "narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=", 7 7 "owner": "NixOS", 8 8 "repo": "nixpkgs", 9 - "rev": "4a6b83b05df1a8bd7d99095ec4b4d271f2956b64", 9 + "rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f", 10 10 "type": "github" 11 11 }, 12 12 "original": {
+1 -1
scritps/thm
··· 23 23 24 24 [ "$THM_DEST_DIR" ] \ 25 25 && dest_dir="$THM_DEST_DIR" \ 26 - || dest_dir="${XDG_CACHE_HOME:-$HOME/.cache}/thm" 26 + || dest_dir="${XDG_STATE_HOME:-$HOME/.local/state}/thm" 27 27 28 28 err() { 29 29 [ "$*" ] && err_msg="$*" || err_msg="error"