Skip to content

Move /tmp/hypr to XDG_RUNTIME_DIR#5788

Merged
vaxerski merged 4 commits intomainfrom
move-to-runtime-dir
Apr 28, 2024
Merged

Move /tmp/hypr to XDG_RUNTIME_DIR#5788
vaxerski merged 4 commits intomainfrom
move-to-runtime-dir

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
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
@vaxerski vaxerski deleted the move-to-runtime-dir branch November 18, 2024 14:49
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.

2 participants