summaryrefslogtreecommitdiffstats
path: root/roles/waybar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/waybar/templates')
-rw-r--r--roles/waybar/templates/waybar/config.jsonc.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/waybar/templates/waybar/config.jsonc.j2 b/roles/waybar/templates/waybar/config.jsonc.j2
index 4ba63f44..7eef4ac2 100644
--- a/roles/waybar/templates/waybar/config.jsonc.j2
+++ b/roles/waybar/templates/waybar/config.jsonc.j2
@@ -91,6 +91,9 @@
"on-click": "hyprctl switchxkblayout all next"
},
"keyboard-state": {
+{% if waybar_external_kbd_dev_path is defined %}
+ "device-path": "{{ waybar_external_kbd_dev_path }}",
+{% endif %}
"numlock": false,
"capslock": true,
"format": {