crashreporter: Use ~/.cache as cache dir (#4719)

* use ~/.cache for crash reports

* minor word edit

* clang-format

* minor typo
This commit is contained in:
thejch
2024-02-19 16:55:04 -08:00
committed by GitHub
parent e793f10b8b
commit 030ed27cc8
2 changed files with 10 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ basically, directories in /tmp/hypr are your sessions.
## Obtaining the Hyprland Crash Report (v0.22.0beta and up)
If you have `$XDG_CACHE_HOME` set, the crash report directory is `$XDG_CACHE_HOME/hyprland`. If not, it's `~/.hyprland`
If you have `$XDG_CACHE_HOME` set, the crash report directory is `$XDG_CACHE_HOME/hyprland`. If not, it's `$HOME/.cache/hyprland`.
Go to the crash report directory and you should find a file named `hyprlandCrashReport[XXXX].txt` where `[XXXX]` is the PID of the process that crashed.