Use just to manage specific configs

This commit is contained in:
js0ny 2025-03-23 21:02:21 +00:00
parent b817007986
commit ee793c54af
15 changed files with 471 additions and 288 deletions

View file

@ -1,16 +0,0 @@
# https://github.com/microsoft/WSL/issues/11261
# ~/.config/systemd/user/symlink-wayland-socket.service
# Usage:
# systemctl --user enable symlink-wayland-socket.service
# Cannot use GUI apps/tools as Wayland socket doesn't exist in `XDG_RUNTIME_DIR`
[Unit]
Description=Symlink Wayland socket to XDG_RUNTIME_DIR
[Service]
Type=oneshot
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0 $XDG_RUNTIME_DIR
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0.lock $XDG_RUNTIME_DIR
[Install]
WantedBy=default.target