Lock your screen on SwayWM

Published:
Talks about: , and

SwayWM uses can use a mixture of swaylock to lock their screen. Place the following key binding in your Sway config:

#
# Screen lock
#
bindsym $mod+Ctrl+l exec swaylock -c 000000

$mod+Ctrl+l will lock your screen and turn it to black.