mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-01 22:39:24 +00:00
12
migrations/1753795654.sh
Normal file
12
migrations/1753795654.sh
Normal file
@ -0,0 +1,12 @@
|
||||
if [[ ! -f ~/.local/state/omarchy/bare.mode ]]; then
|
||||
echo "Offer to swap Spotify GUI to TUI"
|
||||
|
||||
if command -v spotify >/dev/null && ! command -v spotify_player >/dev/null; then
|
||||
if gum confirm "Replace Spotify GUI with TUI?"; then
|
||||
yay -Sy --noconfirm spotify_player
|
||||
yay -Rns --noconfirm spotify
|
||||
|
||||
sed -i -E 's|bind = (.+), exec, .*spotify|bind = \1, exec, $terminal -e spotify_player|' ~/.config/hypr/hyprland.conf
|
||||
fi
|
||||
fi
|
||||
fi
|
Reference in New Issue
Block a user