From 5302db26a79a9f2d1cbf8acc1b0ef0f8c03925dd Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sat, 4 Apr 2020 02:19:27 -0500 Subject: [PATCH] Fixed polybar toggle bug and switched back to chrome for both google music and spotify --- .config/i3/config | 2 +- .local/bin/dmenu_openmusic | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 3012d54f..7460a6d4 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 diff --git a/.local/bin/dmenu_openmusic b/.local/bin/dmenu_openmusic index dccde07b..ef221f18 100755 --- a/.local/bin/dmenu_openmusic +++ b/.local/bin/dmenu_openmusic @@ -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