Added new dmenu script and renamed them to be easier to pick out

This commit is contained in:
Vlad Doster 2020-04-03 17:43:21 -05:00
parent b1966bec71
commit f156cb1e32
9 changed files with 10 additions and 1 deletions

View File

@ -92,7 +92,7 @@ bindsym $mod+l focus right
bindsym $mod+Shift+l move right 30
bindsym $mod+Ctrl+l move workspace to output right
# M
bindsym $mod+m exec spotify
bindsym $mod+m exec open_music_source
bindsym $mod+Shift+m exec --no-startup-id amixer sset Master toggle
# N
bindsym $mod+n exec nautilus

9
.local/bin/dmenu_openmusic Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Allow you to choose which music source you want to launch
chosen=$(printf "%s\\nGoogle Music\\Spotify| dmenu -i -p "Select music provider:") &&
case "$chosen" in
"nGoogle Music") google-chrome-stable https://music.google.com ;;
"Spotify") spotify & ;;
esac