Make it easier to use the yay fzf installer/uninstaller via menu

This commit is contained in:
David Heinemeier Hansson 2025-08-04 18:26:36 +02:00
parent 62975f0a23
commit a9004662ca
2 changed files with 10 additions and 0 deletions

5
bin/omarchy-cmd-install Executable file
View File

@ -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

5
bin/omarchy-cmd-uninstall Executable file
View File

@ -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