summaryrefslogtreecommitdiff
path: root/.config/sway/desktop
blob: b62bd3125f86951eda62f29a596e5c8c7a2545f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#workspace 1 output DP-1
#workspace 2 output DVI-I-1
#output DP-1 pos 0,0
#output DVI-I-1 pos 1920,0

input * {
	xkb_options caps:escape
}

output * bg ~/pictures/wallpaper.png fill
exec swayidle -w \
         timeout 300 'swaylock -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+Pause exec swaylock -i /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png --scaling fill

# Volume
bindsym --locked XF86AudioRaiseVolume exec amixer set Master 2%+
bindsym --locked XF86AudioLowerVolume exec amixer set Master 2%-
bindsym --locked XF86AudioMute exec amixer set Master toggle

include ~/.config/sway/bar