diff --git a/home/AppData/Local/clink/oh-my-posh.lua b/home/AppData/Local/clink/oh-my-posh.lua deleted file mode 100644 index 85a31d27..00000000 --- a/home/AppData/Local/clink/oh-my-posh.lua +++ /dev/null @@ -1 +0,0 @@ -load(io.popen('oh-my-posh init cmd'):read("*a"))() diff --git a/home/AppData/Local/clink/oh-my-posh.lua.tmpl b/home/AppData/Local/clink/oh-my-posh.lua.tmpl new file mode 100644 index 00000000..5c923345 --- /dev/null +++ b/home/AppData/Local/clink/oh-my-posh.lua.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "windows" -}} +load(io.popen('oh-my-posh init cmd'):read("*a"))() +{{- end -}} diff --git a/home/AppData/Roaming/Code/User/extensions/symlink_theme-betelgeuse-vscode b/home/AppData/Roaming/Code/User/extensions/symlink_theme-betelgeuse-vscode new file mode 100644 index 00000000..05b4c3bd --- /dev/null +++ b/home/AppData/Roaming/Code/User/extensions/symlink_theme-betelgeuse-vscode @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "windows" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions/theme-betelgeuse-vscode +{{- end -}} diff --git a/home/AppData/Roaming/Code/User/symlink_extensions.json b/home/AppData/Roaming/Code/User/symlink_extensions.json new file mode 100644 index 00000000..ce137ebc --- /dev/null +++ b/home/AppData/Roaming/Code/User/symlink_extensions.json @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "windows" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions.json +{{- end -}} diff --git a/home/AppData/Roaming/Code/User/symlink_keybindings.json b/home/AppData/Roaming/Code/User/symlink_keybindings.json new file mode 100644 index 00000000..37d23394 --- /dev/null +++ b/home/AppData/Roaming/Code/User/symlink_keybindings.json @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "windows" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/keybindings.json +{{- end -}} diff --git a/home/AppData/Roaming/Code/User/symlink_settings.json b/home/AppData/Roaming/Code/User/symlink_settings.json new file mode 100644 index 00000000..bef1a902 --- /dev/null +++ b/home/AppData/Roaming/Code/User/symlink_settings.json @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "windows" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/settings.json +{{- end -}} diff --git a/home/AppData/Roaming/Google Assistant/symlink_config.json.tmpl b/home/AppData/Roaming/Google Assistant/symlink_config.json.tmpl index 1e292ec9..33c17ac5 100644 --- a/home/AppData/Roaming/Google Assistant/symlink_config.json.tmpl +++ b/home/AppData/Roaming/Google Assistant/symlink_config.json.tmpl @@ -1,3 +1,3 @@ -{{- if true -}} +{{- if eq .host.distro.family "windows" -}} {{ .host.home }}/.config/Google Assistant/config.json {{- end -}} diff --git a/home/Library/Application Support/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl b/home/Library/Application Support/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl new file mode 100644 index 00000000..51330fa1 --- /dev/null +++ b/home/Library/Application Support/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions/theme-betelgeuse-vscode +{{- end -}} diff --git a/home/Library/Application Support/Code/User/symlink_extensions.json.tmpl b/home/Library/Application Support/Code/User/symlink_extensions.json.tmpl new file mode 100644 index 00000000..db1168d2 --- /dev/null +++ b/home/Library/Application Support/Code/User/symlink_extensions.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions.json +{{- end -}} diff --git a/home/Library/Application Support/Code/User/symlink_keybindings.json.tmpl b/home/Library/Application Support/Code/User/symlink_keybindings.json.tmpl new file mode 100644 index 00000000..0202bdab --- /dev/null +++ b/home/Library/Application Support/Code/User/symlink_keybindings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/keybindings.json +{{- end -}} diff --git a/home/Library/Application Support/Code/User/symlink_settings.json.tmpl b/home/Library/Application Support/Code/User/symlink_settings.json.tmpl new file mode 100644 index 00000000..a5d1245b --- /dev/null +++ b/home/Library/Application Support/Code/User/symlink_settings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/settings.json +{{- end -}} diff --git a/home/Library/Application Support/VSCodium/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl b/home/Library/Application Support/VSCodium/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl new file mode 100644 index 00000000..51330fa1 --- /dev/null +++ b/home/Library/Application Support/VSCodium/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions/theme-betelgeuse-vscode +{{- end -}} diff --git a/home/Library/Application Support/VSCodium/Code/User/symlink_extensions.json.tmpl b/home/Library/Application Support/VSCodium/Code/User/symlink_extensions.json.tmpl new file mode 100644 index 00000000..db1168d2 --- /dev/null +++ b/home/Library/Application Support/VSCodium/Code/User/symlink_extensions.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions.json +{{- end -}} diff --git a/home/Library/Application Support/VSCodium/Code/User/symlink_keybindings.json.tmpl b/home/Library/Application Support/VSCodium/Code/User/symlink_keybindings.json.tmpl new file mode 100644 index 00000000..0202bdab --- /dev/null +++ b/home/Library/Application Support/VSCodium/Code/User/symlink_keybindings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/keybindings.json +{{- end -}} diff --git a/home/Library/Application Support/VSCodium/Code/User/symlink_settings.json.tmpl b/home/Library/Application Support/VSCodium/Code/User/symlink_settings.json.tmpl new file mode 100644 index 00000000..a5d1245b --- /dev/null +++ b/home/Library/Application Support/VSCodium/Code/User/symlink_settings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "darwin" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/settings.json +{{- end -}} diff --git a/home/Library/Application Support/symlink_tabby b/home/Library/Application Support/symlink_tabby deleted file mode 100644 index b871982e..00000000 --- a/home/Library/Application Support/symlink_tabby +++ /dev/null @@ -1,3 +0,0 @@ -{{- if true -}} -{{ .chezmoi.homeDir }}/.config/tabby -{{- end -}} \ No newline at end of file diff --git a/home/Library/Application Support/VSCodium/symlink_User b/home/Library/Application Support/tabby/symlink_config.yaml.tmpl similarity index 52% rename from home/Library/Application Support/VSCodium/symlink_User rename to home/Library/Application Support/tabby/symlink_config.yaml.tmpl index 2c20d531..a2ed4e7a 100644 --- a/home/Library/Application Support/VSCodium/symlink_User +++ b/home/Library/Application Support/tabby/symlink_config.yaml.tmpl @@ -1,3 +1,3 @@ {{- if eq .host.distro.family "darwin" -}} -{{ .chezmoi.homeDir }}/.config/Code/User +{{ .chezmoi.homeDir }}/.config/tabby/config.yaml {{- end -}} diff --git a/home/Library/Application Support/Code/symlink_User b/home/Library/Application Support/tabby/symlink_plugins.tmpl similarity index 55% rename from home/Library/Application Support/Code/symlink_User rename to home/Library/Application Support/tabby/symlink_plugins.tmpl index 2c20d531..27ba63c8 100644 --- a/home/Library/Application Support/Code/symlink_User +++ b/home/Library/Application Support/tabby/symlink_plugins.tmpl @@ -1,3 +1,3 @@ {{- if eq .host.distro.family "darwin" -}} -{{ .chezmoi.homeDir }}/.config/Code/User +{{ .chezmoi.homeDir }}/.config/tabby/plugins {{- end -}} diff --git a/home/Library/Fonts/run_onchange_after_add-fonts.tmpl b/home/Library/Fonts/run_onchange_after_add-fonts.tmpl index 8c517cd1..bb2d085f 100644 --- a/home/Library/Fonts/run_onchange_after_add-fonts.tmpl +++ b/home/Library/Fonts/run_onchange_after_add-fonts.tmpl @@ -1,3 +1,4 @@ +{{- if eq .host.distro.family "darwin" -}} #!/usr/bin/env bash {{ includeTemplate "universal/profile" }} @@ -18,3 +19,5 @@ find "$HOME/.local/share/fonts" -type f | while read FONT_FILE; do cp "$FONT_FILE" "$HOME/Library/Fonts/$BASENAME" fi done + +{{ end -}} diff --git a/home/Library/Preferences/com.apple.dock.plist b/home/Library/Preferences/com.apple.dock.plist.tmpl similarity index 100% rename from home/Library/Preferences/com.apple.dock.plist rename to home/Library/Preferences/com.apple.dock.plist.tmpl diff --git a/home/dot_var/app/com.visualstudio.code/config/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl b/home/dot_var/app/com.visualstudio.code/config/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl new file mode 100644 index 00000000..09a66d10 --- /dev/null +++ b/home/dot_var/app/com.visualstudio.code/config/Code/User/extensions/symlink_theme-betelgeuse-vscode.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "linux" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions/theme-betelgeuse-vscode +{{- end -}} diff --git a/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_extensions.json.tmpl b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_extensions.json.tmpl new file mode 100644 index 00000000..8d119df7 --- /dev/null +++ b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_extensions.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "linux" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/extensions.json +{{- end -}} diff --git a/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_keybindings.json.tmpl b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_keybindings.json.tmpl new file mode 100644 index 00000000..2cdf7391 --- /dev/null +++ b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_keybindings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "linux" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/keybindings.json +{{- end -}} diff --git a/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_settings.json.tmpl b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_settings.json.tmpl new file mode 100644 index 00000000..9c11a51d --- /dev/null +++ b/home/dot_var/app/com.visualstudio.code/config/Code/User/symlink_settings.json.tmpl @@ -0,0 +1,3 @@ +{{- if eq .host.distro.family "linux" -}} +{{ .chezmoi.homeDir }}/.config/Code/User/settings.json +{{- end -}} diff --git a/home/dot_var/app/com.visualstudio.code/config/private_Code/symlink_User b/home/dot_var/app/com.visualstudio.code/config/private_Code/symlink_User deleted file mode 100644 index 190e3364..00000000 --- a/home/dot_var/app/com.visualstudio.code/config/private_Code/symlink_User +++ /dev/null @@ -1,3 +0,0 @@ -{{- if eq .host.distro.family "linux" -}} -{{ .chezmoi.homeDir }}/.config/Code/User -{{- end -}}