From 6f667806979282988aa1753b3697de42eb148f45 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Fri, 22 Jul 2022 23:36:20 -0500 Subject: [PATCH] remove discord presence under wsl (was slow anyways) --- .config/nvim | 2 +- .zshrc | 21 --------------------- AUR | 2 +- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/.config/nvim b/.config/nvim index 7910687..8e4cb97 160000 --- a/.config/nvim +++ b/.config/nvim @@ -1 +1 @@ -Subproject commit 791068797cee976bc526f8cae8e8a653d1b3a86e +Subproject commit 8e4cb972dc49146790862fbfc45aaff6df0bdec3 diff --git a/.zshrc b/.zshrc index 21c3f3b..24732cd 100644 --- a/.zshrc +++ b/.zshrc @@ -105,27 +105,6 @@ gitlog() { setterm -linewrap on } -# Enable Discord RPC in WSL -if uname -r | rg 'Microsoft' ; then - nvim() { - pidof sudo > /dev/null - if [ $? -ne 0 ]; then - sudo socat UNIX-LISTEN:/var/run/discord-ipc-0,fork,group=discord,umask=007 EXEC:"npiperelay.exe -ep -s //./pipe/discord-ipc-0",nofork & - fi - command nvim "$@" - - while true; do - pidof nvim >/dev/null - if [ $? -ne 0 ]; then - sudo killall -9 socat - sudo killall -9 npiperelay.exe - sudo rm -rfv /var/run/discord-ipc-0 - break - fi - done - } -fi - # Load nvm source /usr/share/nvm/init-nvm.sh diff --git a/AUR b/AUR index 90e913b..b891beb 160000 --- a/AUR +++ b/AUR @@ -1 +1 @@ -Subproject commit 90e913bb065918e7ee8e1874856e3a9b5fb30298 +Subproject commit b891beb59a88ac643bd0db704d03cd35ba758280