i3 individualization
This commit is contained in:
parent
8d9b1b4f9a
commit
ddf70c19f4
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
# WARNING: Do not edit this file.
|
||||
# It was generated by processing {{ yadm.source }}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Variables
|
||||
# ------------------------------------------------------------------------------
|
||||
|
@ -173,8 +176,13 @@ bindsym XF86Explorer exec --no-startup-id thunar
|
|||
# ------------------------------------------------------------------------------
|
||||
# Audio shortcuts
|
||||
# ------------------------------------------------------------------------------
|
||||
{% if yadm.hostname == "avior" %}
|
||||
set $audio_out alsa_output.pci-0000_00_1f.3.analog-stereo
|
||||
set $audio_in alsa_input.pci-0000_00_1f.3.analog-stereo
|
||||
{% else %}
|
||||
set $audio_out alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||
set $audio_in alsa_input.pci-0000_00_1b.0.analog-stereo
|
||||
{% endif %}
|
||||
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $audio_out +5%; pkill -RTMIN+10 i3blocks"
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $audio_out -5%; pkill -RTMIN+10 i3blocks"
|
Loading…
Reference in a new issue