From 4e86021144238a13caeb85988e66ac8b78d5d100 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 12 Sep 2023 14:09:35 +0200 Subject: [PATCH] add settings for other systems like fedora --- .chezmoitemplates/zshrc_linux.tmpl | 2 +- dot_config/sway/executable_config.tmpl | 2 +- dot_config/wezterm/executable_wezterm.lua.tmpl | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.chezmoitemplates/zshrc_linux.tmpl b/.chezmoitemplates/zshrc_linux.tmpl index 7305e75..e355f12 100644 --- a/.chezmoitemplates/zshrc_linux.tmpl +++ b/.chezmoitemplates/zshrc_linux.tmpl @@ -114,7 +114,7 @@ function preexec { export PNPM_HOME="$HOME/.local/share/pnpm" export PATH="$PATH:$HOME/bin:$HOME/.local/bin" -{{ if eq .chezmoi.hostname "brothertec" -}} +{{ if eq .chezmoi.hostname "SpectreOS" -}} source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/fzf/key-bindings.zsh diff --git a/dot_config/sway/executable_config.tmpl b/dot_config/sway/executable_config.tmpl index 7f199ee..a9572b0 100644 --- a/dot_config/sway/executable_config.tmpl +++ b/dot_config/sway/executable_config.tmpl @@ -210,7 +210,7 @@ titlebar_border_thickness 0 # Below is SwayFX extensions # -{{- if ne .chezmoi.hostname "simon-mac" }} +{{- if eq .chezmoi.hostname "SpectreOS" }} blur on smart_corner_radius on corner_radius 10 diff --git a/dot_config/wezterm/executable_wezterm.lua.tmpl b/dot_config/wezterm/executable_wezterm.lua.tmpl index ffbb294..5c77a2e 100644 --- a/dot_config/wezterm/executable_wezterm.lua.tmpl +++ b/dot_config/wezterm/executable_wezterm.lua.tmpl @@ -132,11 +132,7 @@ return { {{ if eq .chezmoi.os "darwin" -}} window_decorations = "TITLE | RESIZE", {{ else if eq .chezmoi.os "linux" -}} -{{ if eq .chezmoi.hostname "brothertec" -}} window_decorations = "NONE", -{{ else -}} -window_decorations = "TITLE | RESIZE", -{{ end -}} {{ end -}} tab_bar_at_bottom = true, hide_tab_bar_if_only_one_tab = false,