mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-21 19:34:36 +02:00
rofi-mediaplayer: focus pavucontrol if already opened
This commit is contained in:
parent
99de0bc1fd
commit
4c5d00fad6
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ case $choice in
|
|||
Play) xdotool key --clearmodifiers XF86AudioPlay ;;
|
||||
Pause) xdotool key --clearmodifiers XF86AudioPause ;;
|
||||
Stop) xdotool key --clearmodifiers XF86AudioStop ;;
|
||||
Open*) i3-msg exec exec pavucontrol ;;
|
||||
Open*) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;;
|
||||
*Spotify*) i3-msg '[class="Spotify"] focus' || i3-msg exec exec spotify ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue