27 lines
971 B
Text
27 lines
971 B
Text
### Input configuration
|
|
#
|
|
# Example configuration:
|
|
#
|
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
|
# dwt enabled
|
|
# tap enabled
|
|
# natural_scroll enabled
|
|
# middle_emulation enabled
|
|
# }
|
|
#
|
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
|
# Read `man 5 sway-input` for more information about this section.
|
|
|
|
input * xkb_layout "us,mk"
|
|
input * xkb_variant "typewriter"
|
|
input * xkb_options "grp:caps_toggle"
|
|
|
|
# Pulse Audio controls
|
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% #increase sound volume
|
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% #decrease sound volume
|
|
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound
|
|
bindsym XF86AudioMicMute exec pactl set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo toggle # mute mic
|
|
|
|
# Sreen brightness controls
|
|
bindsym XF86MonBrightnessUp exec brightnessctl -q s +10%
|
|
bindsym XF86MonBrightnessDown exec brightnessctl -q s 10%-
|