# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu dmenu_path | wofi --dmenu | xargs swaymsg exec --
+set $menu rofi -show drun | xargs swaymsg exec --
include /etc/sway/config-vars.d/*
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
# This keyboard has this layout on all machines:
+input 1267:12356:ELAN1200:00_04F3:3044_Touchpad {
+ tap enabled
+ dwt enabled
+ natural_scroll enabled
+ tap_button_map lrm
+}
+
input 1241:36:HOLDCHIP_USB_Keyboard {
xkb_layout us
xkb_variant colemak
xkb_options ctrl:nocaps
}
+
+input 1133:49948:Logitech_USB_Keyboard {
+ xkb_layout gb
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
+
### Key bindings
#
# Basics:
#
# Switch to workspace
{% for i in range(10) %}
- bindsym --no-repeat $mod+{{ i }} workspace number {{ i }}; exec "echo 1 > /tmp/sovpipe"
- bindsym --release $mod+{{ i }} exec "echo 0 > /tmp/sovpipe"
+ bindsym $mod+{{ i }} workspace number {{ i }}
# Move focused container to workspace
bindsym $mod+Shift+{{ i }} move container to workspace number {{ i }}
{% endfor %}
- bindsym --no-repeat $mod+Shift exec "echo 1 > /tmp/sovpipe"
- bindsym --release $mod+Shift exec "echo 0 > /tmp/sovpipe"
-
#
# Layout stuff:
#
include /etc/sway/config.d/*
# host specific section
{%- do salt.log.error('sway/files/' + host) -%}
-{% include 'sway/files/' + host %}
-exec rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov
+{% include 'sway/files/' + host %}
for_window [app_id="zoom" title="^zoom$"] border none, floating enable
for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable