From 7aada4a1667cecc40b4fa7639539ec1cc4fe80f0 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 20 Feb 2021 01:19:31 +0100 Subject: [PATCH] Replace Pulseaudio with PipeWire --- fish/.config/fish/config.fish | 2 -- sway/.config/sway/config | 10 ++++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index cff4b96..e196c59 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -10,8 +10,6 @@ alias f "fff" alias bc "bc -l" alias vim "nvim" alias docker-compose "podman-compose" -alias hdmi-audio "pactl set-card-profile 0 output:hdmi-stereo-extra1" -alias laptop-audio "pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo" alias sc "systemctl" alias jc "journalctl -eu" diff --git a/sway/.config/sway/config b/sway/.config/sway/config index df700fa..ca4cedc 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -256,10 +256,10 @@ exec swaymsg split vertical # Special keys # # Volume -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -5% -bindsym XF86AudioMute exec pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle -bindsym XF86AudioMicMute exec pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo toggle +bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5 +bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5 +bindsym XF86AudioMute exec pulsemixer --toggle-mute +bindsym XF86AudioMicMute exec pulsemixer --id source-45 --toggle-mute # Brightness bindsym XF86MonBrightnessUp exec light -A 10 bindsym XF86MonBrightnessDown exec light -U 10 @@ -337,8 +337,6 @@ assign [app_id=".*[Ee]macs.*"] $workspace3 exec emacs # mpv assign [app_id="mpv"] $workspace6 -# pipewire -exec systemctl --user import-environment # # Program behaviour