diff options
author | 135e2 <[email protected]> | 2022-03-23 20:25:46 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-03-23 20:25:46 +0800 |
commit | 4cf3440de68173c91b48e91d6b1a7d0ba5058b35 (patch) | |
tree | 643df8c631b4906717bc34c14551a61fbb207d8d | |
parent | 1c1b11ed5a404ad548fb70ae65b130bea04fa4ad (diff) | |
download | dotfiles-4cf3440de68173c91b48e91d6b1a7d0ba5058b35.tar.gz dotfiles-4cf3440de68173c91b48e91d6b1a7d0ba5058b35.tar.bz2 dotfiles-4cf3440de68173c91b48e91d6b1a7d0ba5058b35.zip |
config/i3status-rust: update to 20220323
- Add custom keyboard control (disable/enable)
-rw-r--r-- | config/i3status-rust/config.toml | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -23,6 +23,11 @@ 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 format = "{percentage} {time}" |