bindsym Shift+e exec 'swaymsg mode "default"; swaymsg exec dmenu_run'
- bindsym $mod+l exec 'swaymsg mode "default"; swaylock -c 000000'
+ bindsym $mod+l exec 'swaymsg mode "default"; "lock.${HOSTNAME}"'
bindsym Escape mode "default"
}
for_window [class="Pinentry"] floating enable
exec swayidle \
- timeout 300 'swaylock -c 000000' \
+ timeout 300 "lock.${HOSTNAME}" \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on" \
- before-sleep 'swaylock -c 000000'
+ before-sleep "lock.${HOSTNAME}"