X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fsway%2Ffiles%2Fconfig.jinja;h=0d59a3311c0ef2f7df15a26bcd03e8f4415efef9;hb=9de0bf335c71d4d5afe2764aaa8dcf048b5718ba;hp=e474512d580cbfecf26a1cacac89eeea83c7ca18;hpb=4a3ff90d687da3f51e3d2b9ea5d68d85920db57e;p=max%2Fsaltfiles.git diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index e474512..0d59a33 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -183,11 +183,23 @@ for_window [class="^rdesktop"] move workspace number 9; floating disable 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 %}