Created
January 25, 2021 15:40
-
-
Save epsalt/5eff7dd37460e4fc67ac8d73cd72593c to your computer and use it in GitHub Desktop.
Shell scripts to open WSL Emacs from windows
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
@echo off | |
wsl source "$HOME/bin/wslmacs.sh" |
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
export DISPLAY=$(ip route | awk '{print $3; exit}'):0 | |
export LIBGL_ALWAYS_INDIRECT=1 | |
export GDK_SCALE=2 | |
export GDK_DPI_SCALE=0.5 | |
emacsclient -n -c -a "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment