Added tones to unmuting, and volume changes
This commit is contained in:
parent
f087d96b15
commit
3082b05352
4
i38.sh
4
i38.sh
@ -255,8 +255,8 @@ bindsym \$mod+Control+c exec clipster -s
|
|||||||
bindsym \$mod+Control+Delete exec --no-startup-id sgtk-bar
|
bindsym \$mod+Control+Delete exec --no-startup-id sgtk-bar
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
bindsym \$mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +${volumeJump}%
|
bindsym \$mod+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +${volumeJump}% & play -qnG synth 0.05 sin 440
|
||||||
bindsym \$mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -${volumeJump}%
|
bindsym \$mod+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -${volumeJump}% & play -qnG synth 0.05 sin 440
|
||||||
bindsym \$mod+XF86AudioMute exec --no-startup-id ${i3Path}/scripts/mute-unmute.sh
|
bindsym \$mod+XF86AudioMute exec --no-startup-id ${i3Path}/scripts/mute-unmute.sh
|
||||||
|
|
||||||
# Music player controls
|
# Music player controls
|
||||||
|
@ -4,5 +4,6 @@ spd-say -P important -Cw 'Muting!'
|
|||||||
pamixer -t
|
pamixer -t
|
||||||
else
|
else
|
||||||
pamixer -t
|
pamixer -t
|
||||||
|
play -qnG synth 0.05 sin 440
|
||||||
spd-say -P important -Cw 'Unmuted!'
|
spd-say -P important -Cw 'Unmuted!'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user