-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Naveen Kumar
committed
May 22, 2024
1 parent
8f792d5
commit 19a5641
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
home/.chezmoiscripts/linux/run_onchange_after_97-prune-chezmoi-binary.sh.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# {{ template "scripts-library" }} | ||
|
||
# The following line is for ShellCheck to correctly identify the above include | ||
true || source ../.chezmoitemplates/scripts-library | ||
|
||
log_task "Temporary wl-copy (wl-clipboard) workaround" | ||
systemctl --user enable symlink-wayland-socket.service |
12 changes: 12 additions & 0 deletions
12
home/dot_config/systemd/user/symlink-wayland-socket.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# https://github.com/microsoft/WSL/issues/11261 | ||
|
||
[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 |