diff --git a/bin/rofi-mediaplayer b/bin/rofi-mediaplayer index ac63777..f36a34e 100755 --- a/bin/rofi-mediaplayer +++ b/bin/rofi-mediaplayer @@ -12,7 +12,8 @@ if [ -z "${ROFI_OUTSIDE}" ]; then -kb-select-4 Super+v \ -kb-select-5 Super+b \ -kb-select-6 Super+m \ - -kb-select-7 Super+s + -kb-select-7 Super+e \ + -kb-select-8 Super+s fi case $ROFI_RETV in @@ -34,6 +35,7 @@ media-playback-pause Pause media-playback-stop Stop go-next Next track multimedia-volume-control Open mixer panel +easyeffects Open effects panel com.spotify.Client Open ${Mediaplayer} EOF @@ -56,7 +58,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 spotify ;; + 7) i3-msg '[class="easyeffects"] focus' || i3-msg exec exec easyeffects ;; + 8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;; esac >&2 ;; esac diff --git a/dotfiles/systemd/easyeffects.service b/dotfiles/systemd/easyeffects.service new file mode 100644 index 0000000..b9f8849 --- /dev/null +++ b/dotfiles/systemd/easyeffects.service @@ -0,0 +1,8 @@ +[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 diff --git a/dotfiles/systemd/xsession.target b/dotfiles/systemd/xsession.target index a5b204c..8e694fb 100644 --- a/dotfiles/systemd/xsession.target +++ b/dotfiles/systemd/xsession.target @@ -3,6 +3,7 @@ Description=X session BindsTo=graphical-session.target Wants=autorandr.service Wants=dunst.socket +Wants=easyeffects.service Wants=i3.service Wants=inputplug.service Wants=picom.service