mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-03 14:54:21 +02:00
rofi-mediaplayer: use variable to run mediaplayer
This commit is contained in:
parent
3d8dbf58e3
commit
c731938403
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ EOF
|
||||||
4) playerctl -p $mediaplayer stop ;;
|
4) playerctl -p $mediaplayer stop ;;
|
||||||
5) playerctl -p $mediaplayer next ;;
|
5) playerctl -p $mediaplayer next ;;
|
||||||
6) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;;
|
6) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;;
|
||||||
7) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;;
|
7) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
|
||||||
esac >&2
|
esac >&2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue