easyeffects: run Flatpak

This commit is contained in:
Vincent Bernat 2021-12-27 11:42:41 +01:00
parent 27f6ecdb09
commit 2d45bb63f5
2 changed files with 12 additions and 12 deletions

View file

@ -29,14 +29,14 @@ case $ROFI_RETV in
i=$((i+1))
printf "$description\00icon\037$icon\037info\037$i\n"
done <<EOF
go-previous Previous track
media-playback-start Play
media-playback-pause Pause
media-playback-stop Stop
go-next Next track
multimedia-volume-control Open mixer panel
easyeffects Open effects panel
media-tape Open ${Mediaplayer}
go-previous Previous track
media-playback-start Play
media-playback-pause Pause
media-playback-stop Stop
go-next Next track
multimedia-volume-control Open mixer panel
com.github.wwmm.easyeffects Open effects panel
com.spotify.Client Open ${Mediaplayer}
EOF
# Player status
@ -58,7 +58,7 @@ EOF
4) playerctl -p $mediaplayer stop ;;
5) playerctl -p $mediaplayer next ;;
6) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;;
7) i3-msg '[class="easyeffects"] focus' || i3-msg exec exec easyeffects ;;
7) i3-msg '[class="easyeffects"] focus' || i3-msg exec exec com.github.wwmm.easyeffects ;;
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
esac >&2
;;

View file

@ -5,7 +5,7 @@ PartOf=graphical-session.target
[Service]
Type=dbus
BusName=com.github.wwmm.easyeffects
ExecStart=%h/.nix-profile/bin/easyeffects --gapplication-service
ExecStartPost=-%h/.nix-profile/bin/easyeffects -l default-input
ExecStartPost=-%h/.nix-profile/bin/easyeffects -l default-output
ExecStart=/var/lib/flatpak/exports/bin/com.github.wwmm.easyeffects --gapplication-service
ExecStartPost=-/var/lib/flatpak/exports/bin/com.github.wwmm.easyeffects -l default-input
ExecStartPost=-/var/lib/flatpak/exports/bin/com.github.wwmm.easyeffects -l default-output
Restart=on-failure