blob: 49e6aa9abe97a4ebc0bda39edf5cbf00cbff0968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
input * {
xkb_options caps:escape
natural_scroll enabled
}
output * bg ~/pictures/wallpaper.png fill
exec swayidle -w \
timeout 300 'swaylock -f -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"'
# Lock
bindsym $mod+XF86Sleep exec swaylock -c 00000000
bindsym $mod+F4 exec swaylock -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill
# Volume
bindsym --locked $mod+F3 amixer set Master 2%+
bindsym --locked $mod+F2 exec amixer set Master 2%-
bindsym --locked $mod+F1 exec amixer set Master toggle
include ~/.config/sway/bar
|