This commit is contained in:
jay 2023-06-23 14:53:33 +08:00
parent 6e285c455c
commit d683a0698a
2 changed files with 19 additions and 1 deletions

View File

@ -27,6 +27,10 @@
{{- $installRust := promptBoolOnce . "installRust" "install rust bin" true -}} {{- $installRust := promptBoolOnce . "installRust" "install rust bin" true -}}
{{- $enableTmux := promptBoolOnce . "enableTmux" "install enable tmux autostart" true -}} {{- $enableTmux := promptBoolOnce . "enableTmux" "install enable tmux autostart" true -}}
{{- $enableSSHAgent := promptBoolOnce . "enableSSHAgent" "install enable ssh agent autostart" true -}} {{- $enableSSHAgent := promptBoolOnce . "enableSSHAgent" "install enable ssh agent autostart" true -}}
{{- $enableUI := promptBoolOnce . "enableUI" "install enable ui" true -}}
[data.ui]
enable = {{ $enableUI }}
[data.shell] [data.shell]
tmux = {{ $enableTmux }} tmux = {{ $enableTmux }}

View File

@ -1,5 +1,19 @@
# ignore template # ignore template
{{- if not .shell.tmux }} {{- if not .shell.tmux }}
.tmix.conf .tmux.conf
{{- end }}
{{- if not .ui.enable }}
.pam_environment
.config/alacrtty/
.config/environment.d/
.config/hypr/
.config/mako/
.config/sway/
.config/swaylock/
.config/systemd/
.config/waybar/
.config/wofi/
.config/xdg-desktop-portal-wlr/
{{- end }} {{- end }}