mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
chezmoi: windows migration dir
This commit is contained in:
parent
52b70819bf
commit
c24adf35d4
51 changed files with 3403 additions and 3840 deletions
17
home/dot_config/systemd/user/symlink-wayland-socket.service
Normal file
17
home/dot_config/systemd/user/symlink-wayland-socket.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# NOTE: FOR WSL ONLY
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue