From cb48956a370a305fff67afb8ae294c8f89f09a45 Mon Sep 17 00:00:00 2001 From: Jaxon Wright Date: Sat, 26 Jul 2025 00:25:25 -0400 Subject: [PATCH 1/3] config.sh(#330): if bare install, create bare.mode file to allow updates to skip steps not applicable to bare installs --- install/config/config.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/config/config.sh b/install/config/config.sh index 91157f6..3b463ce 100644 --- a/install/config/config.sh +++ b/install/config/config.sh @@ -9,6 +9,12 @@ echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc # Ensure application directory exists for update-desktop-database mkdir -p ~/.local/share/applications +# If bare install, allow a way for its exclusions to not get added in updates +if [ -n "$OMARCHY_BARE" ]; then + mkdir -p ~/.local/state/omarchy + touch ~/.local/state/omarchy/bare.mode +fi + # Setup GPG configuration with multiple keyservers for better reliability sudo mkdir -p /etc/gnupg sudo cp ~/.local/share/omarchy/default/gpg/dirmngr.conf /etc/gnupg/ From 62fb66a74a7c20d9c42cc6048da3bed19d56f050 Mon Sep 17 00:00:00 2001 From: Jaxon Wright Date: Sat, 26 Jul 2025 00:59:46 -0400 Subject: [PATCH 2/3] omarchy-refresh-applications(#330/#341): do not copy xtras .desktop declarations if in bare mode --- bin/omarchy-refresh-applications | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-refresh-applications b/bin/omarchy-refresh-applications index 6f8c6b1..429cbb8 100755 --- a/bin/omarchy-refresh-applications +++ b/bin/omarchy-refresh-applications @@ -10,7 +10,8 @@ mkdir -p ~/.local/share/applications cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ -if [ -z "$OMARCHY_BARE" ]; then +# Only copy xtras if user is not in bare mode +if [[ ! -f ~/.local/state/omarchy/bare.mode ]] && [ -z "$OMARCHY_BARE" ]; then cp ~/.local/share/omarchy/applications/xtras/*.desktop ~/.local/share/applications/ fi From 7f3af84a60a3679da7ee8686e42dbf659deb51a0 Mon Sep 17 00:00:00 2001 From: Jaxon Wright Date: Sat, 26 Jul 2025 01:01:08 -0400 Subject: [PATCH 3/3] #330: update "add missing installation of Zoom" migration to skip if bare install --- migrations/1752983008.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/migrations/1752983008.sh b/migrations/1752983008.sh index 672ca78..5b4b8da 100644 --- a/migrations/1752983008.sh +++ b/migrations/1752983008.sh @@ -1,3 +1,6 @@ +# do not run if user is using bare mode +if [[ -f ~/.local/state/omarchy/bare.mode ]]; then exit; fi + echo "Add missing installation of Zoom" if ! command -v zoom &>/dev/null; then