From 239ddc36e0175a6ca0ff72ca21dfef99c48ff4a4 Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Wed, 17 Jul 2024 10:19:37 -0400 Subject: [PATCH] Remove home/.config/sway/autostart.sh Update home/.profile Update home/packages.sh Change attributes of home/.local/bin/autostart-sway --- home/dot_config/sway/symlink_autostart.sh | 1 - home/dot_local/{profile.d => bin}/executable_autostart-sway | 0 home/dot_profile | 2 ++ home/run_onchange_packages.sh.tmpl | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 home/dot_config/sway/symlink_autostart.sh rename home/dot_local/{profile.d => bin}/executable_autostart-sway (100%) diff --git a/home/dot_config/sway/symlink_autostart.sh b/home/dot_config/sway/symlink_autostart.sh deleted file mode 100644 index 167a153..0000000 --- a/home/dot_config/sway/symlink_autostart.sh +++ /dev/null @@ -1 +0,0 @@ -/home/marchambault/.dotfiles/files/.config/sway/autostart.sh diff --git a/home/dot_local/profile.d/executable_autostart-sway b/home/dot_local/bin/executable_autostart-sway similarity index 100% rename from home/dot_local/profile.d/executable_autostart-sway rename to home/dot_local/bin/executable_autostart-sway diff --git a/home/dot_profile b/home/dot_profile index 233c738..20683d7 100644 --- a/home/dot_profile +++ b/home/dot_profile @@ -27,3 +27,5 @@ if [ -d $local_profile ]; then unset i fi unset local_profile + +exec autostart-sway diff --git a/home/run_onchange_packages.sh.tmpl b/home/run_onchange_packages.sh.tmpl index 2002768..b65d9cb 100644 --- a/home/run_onchange_packages.sh.tmpl +++ b/home/run_onchange_packages.sh.tmpl @@ -12,7 +12,7 @@ fi pikaur -S --needed --noconfirm {{ .packages.arch.base | join " " }} -{{- if not (contains .chezmoi.kernel.osrelease "WSL") }} +{{- if not (.chezmoi.kernel.osrelease | lower | contains "microsoft") }} pikaur -S --needed --noconfirm {{ .packages.arch.base_desktop | join " " }} {{- end }}