From 30b064c9ed5ab4b99cdd2960b322797f34891e64 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 25 May 2023 15:09:24 -0700 Subject: [PATCH] Convert i3 stow config to chezmoi --- i3/.config/i3/config => dot_config/i3/config.tmpl | 2 ++ i3/.config/i3status/config => dot_config/i3status/config.tmpl | 2 ++ 2 files changed, 4 insertions(+) rename i3/.config/i3/config => dot_config/i3/config.tmpl (99%) rename i3/.config/i3status/config => dot_config/i3status/config.tmpl (95%) diff --git a/i3/.config/i3/config b/dot_config/i3/config.tmpl similarity index 99% rename from i3/.config/i3/config rename to dot_config/i3/config.tmpl index ee608b0..fbb9f3e 100644 --- a/i3/.config/i3/config +++ b/dot_config/i3/config.tmpl @@ -1,3 +1,4 @@ +{{ if lookPath "i3" -}} # This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # @@ -152,3 +153,4 @@ bindsym $mod+Control+l resize grow width 1 px or 1 ppt bar { status_command i3status } +{{- end }} diff --git a/i3/.config/i3status/config b/dot_config/i3status/config.tmpl similarity index 95% rename from i3/.config/i3status/config rename to dot_config/i3status/config.tmpl index 36affbb..20194ac 100644 --- a/i3/.config/i3status/config +++ b/dot_config/i3status/config.tmpl @@ -1,3 +1,4 @@ +{{ if lookPath "i3status" -}} # i3status configuration file. # see "man i3status" for documentation. @@ -52,3 +53,4 @@ volume master { mixer = "Master" mixer_idx = 0 } +{{- end }}