From 61507fd388224ab9d3c0a7baed8e32cad9fbff21 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 21 May 2022 10:12:44 +0200 Subject: [PATCH] easyeffects: remove No particular reason, it seems just not worth the additional CPU usage yet. --- bin/rofi-mediaplayer | 7 ++----- dotfiles/systemd/easyeffects.service | 11 ----------- dotfiles/systemd/xsession.target | 1 - 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 dotfiles/systemd/easyeffects.service diff --git a/bin/rofi-mediaplayer b/bin/rofi-mediaplayer index a214d58..0e95b09 100755 --- a/bin/rofi-mediaplayer +++ b/bin/rofi-mediaplayer @@ -12,8 +12,7 @@ if [ -z "${ROFI_OUTSIDE}" ]; then -kb-custom-4 Super+v \ -kb-custom-5 Super+b \ -kb-custom-6 Super+m \ - -kb-custom-7 Super+e \ - -kb-custom-8 Super+s \ + -kb-custom-7 Super+s \ -kb-cancel Escape,Control+g,Super+Escape fi @@ -42,7 +41,6 @@ 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 @@ -65,8 +63,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 ;; - 8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;; + 7) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;; esac >&2 ;; esac diff --git a/dotfiles/systemd/easyeffects.service b/dotfiles/systemd/easyeffects.service deleted file mode 100644 index f731a0e..0000000 --- a/dotfiles/systemd/easyeffects.service +++ /dev/null @@ -1,11 +0,0 @@ -[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 diff --git a/dotfiles/systemd/xsession.target b/dotfiles/systemd/xsession.target index 2dda051..b8c2278 100644 --- a/dotfiles/systemd/xsession.target +++ b/dotfiles/systemd/xsession.target @@ -3,7 +3,6 @@ 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