7b1ff73004
Collapse redundant template tags into a cleaner data model: - drop the desktop tag (use "not laptop"); replace hyprland/niri with compositor = "hyprland"|"niri"; replace cs2/entertainment with an apps list (gated via has); drop the dead waybar tag. - move app->workspace->monitor routing into a portable [[data.placement]] table keyed by monitor role (left/right/primary), resolved per machine with fallback to the primary monitor. workspaces.lua.tmpl and rules.lua.tmpl now generate the workspace/window rules from it, so single-monitor machines work with no hardcoded monitor names. Update CLAUDE.md / AGENTS.md / GEMINI.md schema references to match.
51 lines
1.3 KiB
Cheetah
51 lines
1.3 KiB
Cheetah
{{- $tags := .chezmoi.config.data.tags -}}
|
|
|
|
{{- if (index $tags "dev") }}
|
|
# Added by Toolbox App
|
|
export PATH="${PATH}:{{ .chezmoi.homeDir }}/Dev/JetBrains/Toolbox/scripts"
|
|
{{- end }}
|
|
|
|
export PATH="${PATH}:{{ .chezmoi.homeDir }}/.local/bin"
|
|
export PATH="${PATH}:{{ .chezmoi.homeDir }}/.cargo/bin"
|
|
|
|
export ZDOTDIR="{{ .chezmoi.homeDir }}/.config/zsh"
|
|
|
|
export EDITOR="nvim"
|
|
export DIFFPROG="nvim -d"
|
|
|
|
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS \
|
|
--highlight-line \
|
|
--info=inline-right \
|
|
--ansi \
|
|
--layout=reverse \
|
|
--border=none \
|
|
--color=bg+:#283457 \
|
|
--color=bg:#16161e \
|
|
--color=border:#27a1b9 \
|
|
--color=fg:#c0caf5 \
|
|
--color=gutter:#16161e \
|
|
--color=header:#ff9e64 \
|
|
--color=hl+:#2ac3de \
|
|
--color=hl:#2ac3de \
|
|
--color=info:#545c7e \
|
|
--color=marker:#ff007c \
|
|
--color=pointer:#ff007c \
|
|
--color=prompt:#2ac3de \
|
|
--color=query:#c0caf5:regular \
|
|
--color=scrollbar:#27a1b9 \
|
|
--color=separator:#ff9e64 \
|
|
--color=spinner:#ff007c \
|
|
"
|
|
|
|
{{- if not (index $tags "laptop") }}
|
|
export ROCM_PATH=/opt/rocm
|
|
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
|
# export HIP_VISIBLE_DEVICES=1
|
|
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
|
|
{{- end }}
|
|
|
|
{{- if (index $tags "dev") }}
|
|
export UV_CACHE_DIR="{{ .chezmoi.homeDir }}/Dev/uv/uv-cache/"
|
|
export SCIKIT_LEARN_DATA="$HOME/Dev/Jupyter/ml-course/.sklearn_data"
|
|
{{- end }}
|