From 00daf14e018b5c0eff738c423708c8c7b7f1bfcf Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 18 Nov 2022 23:41:00 +0100 Subject: [PATCH] Delete useless file --- templates/input.config.j2 | 9 --------- templates/keybindings.config.j2 | 25 ------------------------- templates/output.config.j2 | 9 --------- templates/theme.config.j2 | 11 ----------- templates/workspaces.config.j2 | 9 --------- 5 files changed, 63 deletions(-) delete mode 100644 templates/input.config.j2 delete mode 100644 templates/keybindings.config.j2 delete mode 100644 templates/output.config.j2 delete mode 100644 templates/theme.config.j2 delete mode 100644 templates/workspaces.config.j2 diff --git a/templates/input.config.j2 b/templates/input.config.j2 deleted file mode 100644 index 8e803f3..0000000 --- a/templates/input.config.j2 +++ /dev/null @@ -1,9 +0,0 @@ -{% if sway_inputs is defined %} -{% for input in sway_inputs %} -input {{ input.name }} { - {% for option in input.options %} - {{ option.option }} {{ option.value }} - {% endfor %} -} -{% endfor %} -{% endif %} diff --git a/templates/keybindings.config.j2 b/templates/keybindings.config.j2 deleted file mode 100644 index 4d79fa4..0000000 --- a/templates/keybindings.config.j2 +++ /dev/null @@ -1,25 +0,0 @@ -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 %} diff --git a/templates/output.config.j2 b/templates/output.config.j2 deleted file mode 100644 index 321be65..0000000 --- a/templates/output.config.j2 +++ /dev/null @@ -1,9 +0,0 @@ -{% if sway_outputs %} -{% for output in sway_outputs %} -output {{ output.name ~ " " }} -{%- for option in output.options %} -{{ option.option }} {{ option.value }} -{% endfor %} - -{% endfor %} -{% endif %} diff --git a/templates/theme.config.j2 b/templates/theme.config.j2 deleted file mode 100644 index 9752822..0000000 --- a/templates/theme.config.j2 +++ /dev/null @@ -1,11 +0,0 @@ -{% for k,v in sway_theme_parameters.items() %} -{{ k }} {{ v }} -{% endfor %} - -{% for client, c in sway_theme_colors.items() %} -client.{{ client }} {{ c.border }} {{ c.backgound}} {{ c.text }} -{%- if c.indicator is defined %} {{ c.indicator }} -{%- if c.child_border is defined %} {{ c.child_border }}{% endif %} -{% endif %} - -{% endfor %} diff --git a/templates/workspaces.config.j2 b/templates/workspaces.config.j2 deleted file mode 100644 index 1f79ae2..0000000 --- a/templates/workspaces.config.j2 +++ /dev/null @@ -1,9 +0,0 @@ -{% for k,v in sway_workspaces.items() %} -set $ws{{ k }} {{ v }} -{% endfor %} - -{% if sway_rules is defined %} -{% for i in rules %} -{{ i.verb }} {{ i.query }} {% if i.verb == 'assign' %}$ws{% endif %}{{ i.action }} -{% endfor %} -{% endif %}