Przeglądaj źródła

~/.config/sway: Map media control buttons

Lu Stadler 5 lat temu
rodzic
commit
7eeac28a43
1 zmienionych plików z 8 dodań i 3 usunięć
  1. 8 3
      .config/sway/config

+ 8 - 3
.config/sway/config

@ -30,9 +30,9 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
30 30
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
31 31
#
32 32
# You can get the names of your outputs by running: swaymsg -t get_outputs
33
output DP-1 res 2560x1440 pos 0,0
34
output LVDS-1 disable
35
output LVDS-1 dpms off
33
#output DP-1 res 2560x1440 pos 0,0
34
#output LVDS-1 disable
35
#output LVDS-1 dpms off
36 36
37 37
### Idle configuration
38 38
#
@ -96,6 +96,11 @@ input type:touchpad events disabled
96 96
    bindsym $mod+Shift+q exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
97 97
98 98
    bindsym $mod+Shift+l exec swaylock --color 000000
99
100
    bindsym XF86AudioLowerVolume exec amixer set Master 5%-
101
    bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
102
    bindsym XF86AudioMute        exec amixer set Master toggle
103
99 104
#
100 105
# Moving around:
101 106
#