From 2e78190d74d3d4bd6e5b1fab1df49761b14b0415 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 6 May 2022 22:17:01 +0200 Subject: [PATCH] Begin implement arch autoconf --- run_once_prepare_arch.sh.tmpl | 4 ++++ run_once_prepare_unix.sh.tmpl | 16 ---------------- 2 files changed, 4 insertions(+), 16 deletions(-) create mode 100644 run_once_prepare_arch.sh.tmpl delete mode 100644 run_once_prepare_unix.sh.tmpl diff --git a/run_once_prepare_arch.sh.tmpl b/run_once_prepare_arch.sh.tmpl new file mode 100644 index 0000000..36913b1 --- /dev/null +++ b/run_once_prepare_arch.sh.tmpl @@ -0,0 +1,4 @@ +{{ if eq .chezmoi.osRelease.idLike "arch" }} +#!/bin/bash +sudo pacman -S picom i3-gaps polybar dunst +{{ end }} diff --git a/run_once_prepare_unix.sh.tmpl b/run_once_prepare_unix.sh.tmpl deleted file mode 100644 index 1bf9320..0000000 --- a/run_once_prepare_unix.sh.tmpl +++ /dev/null @@ -1,16 +0,0 @@ -{{ if ne .chezmoi.os "windows" }} -#!/bin/bash - # {{ if eq .chezmoi.os "linux" -}} - # {{ if eq .chezmoi.osRelease.id "ubuntu" -}} - # sudo apt install ripgrep - # {{ end -}} - # {{ end -}} - # Exemple: https://github.com/RichiCoder1/dotfiles/blob/master/executable_install-tools.sh.tmpl - - {{ if eq .chezmoi.os "linux" -}} - {{ if eq .chezmoi.osRelease.idLike "arch" }} - sudo pacman -S picom i3-gaps polybar dunst - {{ end }} - # {{ else if eq .chezmoi.os "darwin" -}} - {{ end -}} -{{ end -}}