Просмотр исходного кода

~/.config/sway: Map media control buttons

Lu Stadler лет назад: 5
Родитель
Сommit
7eeac28a43
1 измененных файлов с 8 добавлено и 3 удалено
  1. 8 3
      .config/sway/config

+ 8 - 3
.config/sway/config

30
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
30
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
31
#
31
#
32
# You can get the names of your outputs by running: swaymsg -t get_outputs
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
### Idle configuration
37
### Idle configuration
38
#
38
#
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'
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
    bindsym $mod+Shift+l exec swaylock --color 000000
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
# Moving around:
105
# Moving around:
101
#
106
#