mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-30 13:39:23 +00:00
Compare commits
3 Commits
dev
...
spotify-tu
Author | SHA1 | Date | |
---|---|---|---|
2616b0ad1a | |||
de7b18e8e2 | |||
251a5d0263 |
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
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