X11: nvidia-settings should only be run in arch

This commit is contained in:
inkch 2024-01-18 23:08:37 +09:00
parent e2ef02e591
commit 061d98177c

View File

@ -76,5 +76,7 @@ export GNUPGHOME=$XDG_DATA_HOME/gnupg
# 2020-05-07: Now, config file is ~/.config/tmux/tmux.conf # 2020-05-07: Now, config file is ~/.config/tmux/tmux.conf
export TMUX_TMPDIR="$XDG_RUNTIME_DIR" export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
{{ if eq .chezmoi.hostname "arch" -}}
# nvidia-settings # nvidia-settings
nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only
{{- end }}