From 265de5eef1eafa993730f49eec26cd4a20700eab Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 31 May 2023 14:19:13 +0200 Subject: [PATCH] add SVKBD: Simple Virtual Keyboard --- dot_config/i3/executable_config | 3 +++ dot_config/i3status-rust/executable_config.toml | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/dot_config/i3/executable_config b/dot_config/i3/executable_config index 2b2ada6..d02b14c 100644 --- a/dot_config/i3/executable_config +++ b/dot_config/i3/executable_config @@ -512,6 +512,9 @@ exec --no-startup-id "dunst" # authentication manager exec --no-startup-id lxpolkit +# SVKBD: Simple Virtual Keyboard +#exec --no-startup-id svkbd-mobile-intl -d + # xfce4-power-manager #exec --no-startup-id xfce4-power-manager diff --git a/dot_config/i3status-rust/executable_config.toml b/dot_config/i3status-rust/executable_config.toml index 5db0284..e4633eb 100644 --- a/dot_config/i3status-rust/executable_config.toml +++ b/dot_config/i3status-rust/executable_config.toml @@ -60,6 +60,17 @@ format = " $timestamp.datetime(f:'%a %Y-%m-%d %H:%M:%S') " block = "backlight" format = " $brightness " +[[block]] +block = "custom" +command = "if pgrep svkbd-mobile-in >/dev/null; then echo \"󰌌\"; else echo \"󰌐\"; fi" +interval = 1 +[[block.click]] +button = "left" +cmd = "svkbd-mobile-intl -d" +[[block.click]] +button = "right" +cmd = "pkill svkbd-mobile-in" + [[block]] block = "battery" format = " $icon $percentage {$time |}"