3 Commits

Author SHA1 Message Date
2616b0ad1a Fix again 2025-07-29 19:20:12 +02:00
de7b18e8e2 Reapply "Correct package name"
This reverts commit 8c2f51c08c.
2025-07-29 19:18:01 +02:00
251a5d0263 Reapply "Swap Spotify GUI to TUI"
This reverts commit d4f6859022.
2025-07-29 19:17:57 +02:00
4 changed files with 17 additions and 5 deletions

View File

@ -26,7 +26,7 @@ $webapp = $browser --app
bind = SUPER, return, exec, $terminal
bind = SUPER, F, exec, uwsm app -- nautilus --new-window
bind = SUPER, B, exec, $browser
bind = SUPER, M, exec, uwsm app -- spotify
bind = SUPER, M, exec, $terminal -e spotify_player
bind = SUPER, N, exec, $terminal -e nvim
bind = SUPER, T, exec, $terminal -e btop
bind = SUPER, D, exec, $terminal -e lazydocker

View File

@ -10,7 +10,7 @@ bindel = ,XF86MonBrightnessUp, exec, $osdclient --brightness raise
bindel = ,XF86MonBrightnessDown, exec, $osdclient --brightness lower
# Requires playerctl
bindl = , XF86AudioNext, exec, $osdclient --playerctl next
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, $osdclient --playerctl play-pause
bindl = , XF86AudioPlay, exec, $osdclient --playerctl play-pause
bindl = , XF86AudioPrev, exec, $osdclient --playerctl previous
bindl = , XF86AudioPrev, exec, playerctl previous

View File

@ -4,10 +4,10 @@ if [ -z "$OMARCHY_BARE" ]; then
yay -S --noconfirm --needed \
gnome-calculator gnome-keyring signal-desktop \
obsidian-bin libreoffice obs-studio kdenlive \
xournalpp localsend-bin
xournalpp localsend-bin spotify-player
# Packages known to be flaky or having key signing issues are run one-by-one
for pkg in pinta typora spotify zoom; do
for pkg in pinta typora zoom; do
yay -S --noconfirm --needed "$pkg" ||
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
done

12
migrations/1753795654.sh Normal file
View 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