From 4cf3440de68173c91b48e91d6b1a7d0ba5058b35 Mon Sep 17 00:00:00 2001
From: 135e2 <135e2@135e2.tk>
Date: Wed, 23 Mar 2022 20:25:46 +0800
Subject: config/i3status-rust: update to 20220323

- Add custom keyboard control (disable/enable)
---
 config/i3status-rust/config.toml | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'config/i3status-rust')

diff --git a/config/i3status-rust/config.toml b/config/i3status-rust/config.toml
index e1dce2b..e0c17bc 100644
--- a/config/i3status-rust/config.toml
+++ b/config/i3status-rust/config.toml
@@ -22,6 +22,11 @@ device = "wlan0"
 format = "{speed_down;K*B} {speed_up;K*B}"
 interval = 1
 
+[[block]]
+block = "custom"
+# ⌨ == '\xE2\x8C\xA8'
+cycle = ["xinput disable 'AT Translated Set 2 keyboard'; echo '⌨ OFF'", "xinput enable 'AT Translated Set 2 keyboard'; echo '⌨ ON'"]
+
 [[block]]
 block = "battery"
 interval = 10
-- 
cgit v1.2.3