for_window [class="Pinentry"] floating enable
exec swayidle \
- timeout 300 "lock.{{ host }}" \
+ timeout 300 "lock.nosmartcard" \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on" \
- before-sleep "lock.{{ host }}"
+ before-sleep "lock.nosmartcard"
+# This keyboard has this layout on all machines:
+input 1241:36:HOLDCHIP_USB_Keyboard {
+ xkb_layout us
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
+
+input 16700:8455:DELL_Dell_USB_Entry_Keyboard {
+ xkb_layout gb
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
# host specific section
{%- do salt.log.error('sway/files/' + host) -%}
{% include 'sway/files/' + host %}