First commit
This commit is contained in:
commit
c2387aff03
14 changed files with 433 additions and 0 deletions
25
templates/keybindings.config.j2
Normal file
25
templates/keybindings.config.j2
Normal file
|
@ -0,0 +1,25 @@
|
|||
set $mod Mod4
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Dynamic workspace keybindings
|
||||
{% for k,v in sway_workspaces.items() %}
|
||||
bindsym $mod+{{ k }} workspace $ws{{ k }}
|
||||
bindsym $mod+Shift+{{ k }} move container to workspace $ws{{ k }}
|
||||
{% endfor %}
|
||||
|
||||
{% for section in sway_keybindings %}
|
||||
{% if section.mode != "normal" %}
|
||||
mode {{ section.mode }} {
|
||||
{% endif %}
|
||||
|
||||
{% for bind in section.bindings %}
|
||||
bindsym {{ bind.bindsym }} {{ bind.action}}
|
||||
{% endfor %}
|
||||
|
||||
{% if section.mode != "normal" %}
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue