Skip to content

Instantly share code, notes, and snippets.

@firejox
firejox / 10-windows-host-fonts.conf
Created May 15, 2024 14:14
Import Windows host fonts into WSL environment
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>/mnt/c/Windows/Fonts</dir>
</fontconfig>
@firejox
firejox / wsl-keepalive.service
Last active May 31, 2024 14:30
WSL keep alive (pure systemd file)
[Unit]
Description=WSL Keep Distro Alive
Requires=wsl-keepalive.socket
After=wsl-keepalive.socket
[Service]
ExecStart=/init /mnt/c/Windows/System32/choice.exe /mnt/c/Windows/System32/choice.exe /n
StandardInput=socket
[Install]