easyeffects: add again

This commit is contained in:
Vincent Bernat 2022-05-06 22:01:02 +02:00
parent 43094b7e81
commit b16132d051
4 changed files with 18 additions and 2 deletions

View file

@ -48,6 +48,7 @@ application_icons = {
"deezer": icon(3, ""),
"discord": icon(3, ""),
"draw.io": icon(2, ""),
"easyeffects": icon(2, ""),
"emacs": icon(2, ""),
"file-roller": icon(2, ""),
"firefox": icon(3, ""),

View file

@ -12,7 +12,8 @@ if [ -z "${ROFI_OUTSIDE}" ]; then
-kb-custom-4 Super+v \
-kb-custom-5 Super+b \
-kb-custom-6 Super+m \
-kb-custom-7 Super+s \
-kb-custom-7 Super+e \
-kb-custom-8 Super+s \
-kb-cancel Escape,Control+g,Super+Escape
fi
@ -41,6 +42,7 @@ media-playback-pause Pause
media-playback-stop Stop
go-next Next track
multimedia-volume-control Open mixer panel
easyeffects Open effects panel
com.gitlab.ColinDuquesnoy.MellowPlayer Open ${Mediaplayer}
EOF
@ -63,7 +65,8 @@ 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="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
7) i3-msg '[class="easyeffects"] focus' || i3-msg exec exec easyeffects ;;
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
esac >&2
;;
esac

View file

@ -0,0 +1,11 @@
[Unit]
Description=Easyeffects for Pipewire
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
Restart=on-failure

View file

@ -3,6 +3,7 @@ Description=X session
BindsTo=graphical-session.target
Wants=autorandr.service
Wants=dunst.socket
Wants=easyeffects.service
Wants=inputplug.service
Wants=picom.service
Wants=policykit-agent.service