From d3ffceb31579ab43cec84417f55795c25f76b161 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sun, 20 Sep 2020 20:43:36 +0800 Subject: [PATCH] Revert "sway: avoid pulseaudio @DEFAULT_SINK@" This reverts commit e27a7f5ae475d8ef976fcdd42bec3b10e92d7b57. they implemented it! --- .config/sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 95e7c3d..3d61be3 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 $(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% +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% mode "Minecraft" { bindsym $mod+f exec ~/sources/mcafk/mcrightclick.sh on -- 2.45.2