mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 13:24:21 +02:00
systemd: add easyeffects
This commit is contained in:
parent
c070fdf0eb
commit
e4489699c7
3 changed files with 14 additions and 2 deletions
|
@ -12,7 +12,8 @@ if [ -z "${ROFI_OUTSIDE}" ]; then
|
||||||
-kb-select-4 Super+v \
|
-kb-select-4 Super+v \
|
||||||
-kb-select-5 Super+b \
|
-kb-select-5 Super+b \
|
||||||
-kb-select-6 Super+m \
|
-kb-select-6 Super+m \
|
||||||
-kb-select-7 Super+s
|
-kb-select-7 Super+e \
|
||||||
|
-kb-select-8 Super+s
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $ROFI_RETV in
|
case $ROFI_RETV in
|
||||||
|
@ -34,6 +35,7 @@ media-playback-pause Pause
|
||||||
media-playback-stop Stop
|
media-playback-stop Stop
|
||||||
go-next Next track
|
go-next Next track
|
||||||
multimedia-volume-control Open mixer panel
|
multimedia-volume-control Open mixer panel
|
||||||
|
easyeffects Open effects panel
|
||||||
com.spotify.Client Open ${Mediaplayer}
|
com.spotify.Client Open ${Mediaplayer}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -56,7 +58,8 @@ 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="easyeffects"] focus' || i3-msg exec exec easyeffects ;;
|
||||||
|
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;;
|
||||||
esac >&2
|
esac >&2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
8
dotfiles/systemd/easyeffects.service
Normal file
8
dotfiles/systemd/easyeffects.service
Normal file
|
@ -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
|
|
@ -3,6 +3,7 @@ Description=X session
|
||||||
BindsTo=graphical-session.target
|
BindsTo=graphical-session.target
|
||||||
Wants=autorandr.service
|
Wants=autorandr.service
|
||||||
Wants=dunst.socket
|
Wants=dunst.socket
|
||||||
|
Wants=easyeffects.service
|
||||||
Wants=i3.service
|
Wants=i3.service
|
||||||
Wants=inputplug.service
|
Wants=inputplug.service
|
||||||
Wants=picom.service
|
Wants=picom.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue