From a9004662ca06c0599bef6593e8d6a9f3c1091de8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 4 Aug 2025 18:26:36 +0200 Subject: [PATCH] Make it easier to use the yay fzf installer/uninstaller via menu --- bin/omarchy-cmd-install | 5 +++++ bin/omarchy-cmd-uninstall | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 bin/omarchy-cmd-install create mode 100755 bin/omarchy-cmd-uninstall diff --git a/bin/omarchy-cmd-install b/bin/omarchy-cmd-install new file mode 100755 index 00000000..1c6d7356 --- /dev/null +++ b/bin/omarchy-cmd-install @@ -0,0 +1,5 @@ +#!/bin/bash + +yay -Slq | fzf --multi --preview 'yay -Sii {1}' --preview-window=down:75% | xargs -ro yay -S --noconfirm + +gum spin --spinner "globe" --title "Done!" -- sleep 2 diff --git a/bin/omarchy-cmd-uninstall b/bin/omarchy-cmd-uninstall new file mode 100755 index 00000000..9f78c2e0 --- /dev/null +++ b/bin/omarchy-cmd-uninstall @@ -0,0 +1,5 @@ +#!/bin/bash + +yay -Qqe | fzf --multi --preview 'yay -Qi {1}' --preview-window=down:75% | xargs -ro yay -Rns --noconfirm + +gum spin --spinner "globe" --title "Done!" -- sleep 2