From 061d98177ca6e9919fa71507dc97b70fa27ba55f Mon Sep 17 00:00:00 2001 From: inkch Date: Thu, 18 Jan 2024 23:08:37 +0900 Subject: [PATCH] X11: `nvidia-settings` should only be run in arch --- dot_config/X11/xprofile.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_config/X11/xprofile.tmpl b/dot_config/X11/xprofile.tmpl index b22057e..479b1f4 100644 --- a/dot_config/X11/xprofile.tmpl +++ b/dot_config/X11/xprofile.tmpl @@ -76,5 +76,7 @@ export GNUPGHOME=$XDG_DATA_HOME/gnupg # 2020-05-07: Now, config file is ~/.config/tmux/tmux.conf export TMUX_TMPDIR="$XDG_RUNTIME_DIR" +{{ if eq .chezmoi.hostname "arch" -}} # nvidia-settings nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only +{{- end }}