瀏覽代碼

Fix mute button

Replace amixer by pactl
DricomDragon 4 年之前
父節點
當前提交
b241ee4229
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Install/Templates/i3/config

+ 1 - 1
Install/Templates/i3/config

@@ -37,7 +37,7 @@ bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
 # adjust volume
 bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master unmute 2dB+
 bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master unmute 2dB-
-bindsym XF86AudioMute exec --no-startup-id amixer set Master unmute 0
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
 
 # adjust luminosity
 set $lum_step 5