summarylogtreecommitdiffstats
path: root/dark-theme.sh
diff options
context:
space:
mode:
authormynacol2021-11-29 17:28:31 +0100
committermynacol2021-11-29 17:33:04 +0100
commit568f8723beea158671571cbbf772f984a3651980 (patch)
tree916c4bbddf856e76f50cdd22f848940c31467d92 /dark-theme.sh
parent2621e62e164e1f507344a0409d0a3b6a31ba4e79 (diff)
downloadaur-568f8723beea158671571cbbf772f984a3651980.tar.gz
Add support for neovim
Diffstat (limited to 'dark-theme.sh')
-rwxr-xr-xdark-theme.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dark-theme.sh b/dark-theme.sh
index be4bfcb74629..2d28a443e3e6 100755
--- a/dark-theme.sh
+++ b/dark-theme.sh
@@ -84,6 +84,11 @@ if [ -w "$f" ]; then
jq ".[\"workbench.colorTheme\"]=\"${UI_VSCODE}\"" "$f" | sponge "$f"
fi
+# set neovim background
+for r in $(nvr --serverlist); do
+ nvr --servername "$r" -c "set background=${UI_NEOVIM}"
+done
+
# set background
# properly supply arguments separated by spaces
if [ "$XDG_SESSION_TYPE" = "x11" ]; then