From e27a7f5ae475d8ef976fcdd42bec3b10e92d7b57 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Fri, 11 Sep 2020 23:01:15 +0800 Subject: [PATCH] sway: avoid pulseaudio @DEFAULT_SINK@ until pipewire implement that --- .config/sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 3d61be3..95e7c3d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -174,9 +174,9 @@ hide_edge_borders both focus_on_window_activation urgent #bindsym Print exec "export STAMP=$(date '+%Y%m%d-%H%M%S'); import -window root ~/Pictures/$STAMP.png; notify-send -i camera Screenshot \\"$STAMP.png saved\\" " -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioMute exec pactl set-sink-mute $(env LC_ALL=C pactl info | sed -En 's/Default Sink: (.*)/\1/p') toggle +bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(env LC_ALL=C pactl info | sed -En 's/Default Sink: (.*)/\1/p') -5% +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(env LC_ALL=C pactl info | sed -En 's/Default Sink: (.*)/\1/p') +5% mode "Minecraft" { bindsym $mod+f exec ~/sources/mcafk/mcrightclick.sh on -- 2.45.2