mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 10:18:34 +02:00
systemd: switch back to PulseAudio
This commit is contained in:
parent
a6328ee6ad
commit
cda8ef9831
5 changed files with 3 additions and 19 deletions
|
@ -45,7 +45,6 @@ application_icons = {
|
||||||
"darktable": icon(2, ""),
|
"darktable": icon(2, ""),
|
||||||
"discord": icon(3, ""),
|
"discord": icon(3, ""),
|
||||||
"draw.io": icon(2, ""),
|
"draw.io": icon(2, ""),
|
||||||
"easyeffects": icon(2, ""),
|
|
||||||
"emacs": icon(2, ""),
|
"emacs": icon(2, ""),
|
||||||
"file-roller": icon(2, ""),
|
"file-roller": icon(2, ""),
|
||||||
"firefox": icon(3, ""),
|
"firefox": icon(3, ""),
|
||||||
|
|
|
@ -12,8 +12,7 @@ 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+e \
|
-kb-select-7 Super+s
|
||||||
-kb-select-8 Super+s
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $ROFI_RETV in
|
case $ROFI_RETV in
|
||||||
|
@ -35,7 +34,6 @@ 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
|
||||||
|
|
||||||
|
@ -58,7 +56,6 @@ 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="easyeffects"] focus' || i3-msg exec exec easyeffects ;;
|
|
||||||
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;;
|
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec spotify ;;
|
||||||
esac >&2
|
esac >&2
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -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
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Timer for cleaning spotify extra PA streams
|
Description=Timer for cleaning spotify extra PA streams
|
||||||
After=pipewire-pulse.socket
|
After=pulseaudio.socket
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnUnitActiveSec=1h
|
OnUnitActiveSec=1h
|
||||||
|
|
|
@ -3,10 +3,9 @@ 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=inputplug.service
|
Wants=inputplug.service
|
||||||
Wants=picom.service
|
Wants=picom.service
|
||||||
Wants=pipewire-pulse.socket
|
Wants=pulseaudio.socket
|
||||||
Wants=policykit-agent.service
|
Wants=policykit-agent.service
|
||||||
Wants=redshift.service
|
Wants=redshift.service
|
||||||
Wants=spotify-clean.timer
|
Wants=spotify-clean.timer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue