aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/ISSUE_GUIDELINES.md
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-28 22:25:24 +0100
committerGitHub <[email protected]>2024-04-28 22:25:24 +0100
commita5a648091760ac002120fab18247e5292b6482de (patch)
tree0fd68dff8db4277bd2d030867628cbb48f63ce7c /docs/ISSUE_GUIDELINES.md
parentd20ee312108d0e7879011cfffa3a83d06e48d29e (diff)
downloadHyprland-a5a648091760ac002120fab18247e5292b6482de.tar.gz
Hyprland-a5a648091760ac002120fab18247e5292b6482de.zip
core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788)
Moves the directory containing sockets and logs. Also restructures lockfiles a bit. For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.
Diffstat (limited to 'docs/ISSUE_GUIDELINES.md')
-rw-r--r--docs/ISSUE_GUIDELINES.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ISSUE_GUIDELINES.md b/docs/ISSUE_GUIDELINES.md
index c031fe85..2f6cbbf8 100644
--- a/docs/ISSUE_GUIDELINES.md
+++ b/docs/ISSUE_GUIDELINES.md
@@ -34,16 +34,16 @@ If your bug crashes Hyprland, append additionally:
## Obtaining the Hyprland log
If you are in a TTY, and the hyprland session that crashed was the last one you launched, the log will be printed with
```
-cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log
+cat $XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr | head -n 1)/hyprland.log
```
feel free to send it to a file, save, copy, etc.
if you are in a Hyprland session, and you want the log of the last session, use
```
-cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 2 | tail -n 1)/hyprland.log
+cat $XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr | head -n 2 | tail -n 1)/hyprland.log
```
-basically, directories in /tmp/hypr are your sessions.
+basically, directories in $XDG_RUNTIME_DIR/hypr are your sessions.
## Obtaining the Hyprland Crash Report (v0.22.0beta and up)