Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move /tmp/hypr to XDG_RUNTIME_DIR #5788

Merged
merged 4 commits into from Apr 28, 2024
Merged

Move /tmp/hypr to XDG_RUNTIME_DIR #5788

merged 4 commits into from Apr 28, 2024

Conversation

vaxerski
Copy link
Member

@vaxerski vaxerski commented Apr 28, 2024

Moves /tmp/hypr to $XDG_RUNTIME_DIR/hypr, making it 700 as well.

Breaks direct consumers of socket and socket2

TODO:

  • Wiki

Ref MRs:

Breaks:

  • direct users of sockets or logs

For those users, I'd recommend checking whether $XDG_RUNTIME_DIR/hypr exists. If yes, use that, if not, use the old /tmp/hypr

@vaxerski
Copy link
Member Author

thanks fuffie

@vaxerski vaxerski merged commit a5a6480 into main Apr 28, 2024
19 checks passed
scorpion-26 added a commit to scorpion-26/gBar that referenced this pull request May 3, 2024
As of hyprwm/Hyprland#5788 Hyprland no longer
supports "/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket.sock". Instead,
the socket is now located at
"$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket.sock".
gBar now tries both of the socket locations and uses the one, where the socket file exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants