improve audio key board shortcuts
This commit is contained in:
parent
e89e1ba07f
commit
798c0ff503
3 changed files with 3 additions and 10 deletions
|
@ -27,8 +27,6 @@ set $background $HOME/.local/share/backgrounds/mountain.jpg
|
|||
# $primary_monitor_scale - Scale factor for thr primary monitor
|
||||
# $secondary_monitor_identifier - Identifier of the primary monitor
|
||||
# $secondary_monitor_x_offset - X offset for the secondary monitor
|
||||
# $audio_out - Name of the audio drain to be controlled by shortcuts
|
||||
# $audio_in - Name of the audio source to be controlled by shortcuts
|
||||
|
||||
include config.local
|
||||
|
||||
|
@ -222,8 +220,9 @@ bindsym $mod+z exec thunar
|
|||
# ------------------------------------------------------------------------------
|
||||
# Audio shortcuts
|
||||
# ------------------------------------------------------------------------------
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $audio_out +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume $audio_out -5%
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pactl get-default-sink) +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pactl get-default-sink) -5%
|
||||
|
||||
bindsym XF86AudioMicMute exec $HOME/.local/bin/toggle-default-audio --source
|
||||
bindsym XF86AudioMute exec $HOME/.local/bin/toggle-default-audio --sink
|
||||
bindsym $mod+m exec $HOME/.local/bin/toggle-default-audio --source
|
||||
|
|
|
@ -18,6 +18,3 @@ set $tertiary_monitor_y_offset 0
|
|||
set $tertiary_monitor_background $HOME/.local/share/backgrounds/mountain_vertical.jpg
|
||||
|
||||
set $internal_monitor_identifier eDP-1
|
||||
|
||||
set $audio_out alsa_output.pci-0000_00_1f.3.analog-stereo
|
||||
set $audio_in alsa_input.pci-0000_00_1f.3.analog-stereo
|
||||
|
|
|
@ -19,9 +19,6 @@ set $tertiary_monitor_background $HOME/.local/share/backgrounds/mountain_vertic
|
|||
|
||||
set $internal_monitor_identifier eDP-1
|
||||
|
||||
set $audio_out alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||
set $audio_in alsa_input.pci-0000_00_1b.0.analog-stereo
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# gammastep
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue