Fixed polybar toggle bug and switched back to chrome for both google music and spotify

This commit is contained in:
Vlad Doster 2020-04-04 02:19:27 -05:00
parent 641c3b8c68
commit 5302db26a7
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ bindsym $mod+Ctrl+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
bindsym $mod+shift+a exec $term -e alsamixer
# B
bindsym $mod+b exec --no-startup-id polybar_msg cmd toggle
bindsym $mod+b exec --no-startup-id polybar-msg cmd toggle
bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left
# C
bindsym $mod+c exec code

View File

@ -4,8 +4,8 @@
music_service=$(printf "Google Music\nSpotify" | dmenu -i -p "Select music service: ")
case "$music_service" in
"Google Music") notify-send "Opened $music_service" && google-chrome-stable https://music.google.com 2>/dev/null & ;;
"Spotify") notify-send "Opened $music_service" && firefox https://open.spotify.com/browse/ 2>/dev/null & ;;
"Google Music") notify-send "Opened $music_service" && google-chrome-stable https://play.google.com/music/listen\#/artists 2>/dev/null & ;;
"Spotify") notify-send "Opened $music_service" && google-chrome-stable https://open.spotify.com/browse/ 2>/dev/null & ;;
esac