From 62fb66a74a7c20d9c42cc6048da3bed19d56f050 Mon Sep 17 00:00:00 2001 From: Jaxon Wright Date: Sat, 26 Jul 2025 00:59:46 -0400 Subject: [PATCH] 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