From 37ff7062874b72bafa99afe661f42653565ed511 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 11 Sep 2024 04:25:38 +0900 Subject: RESTRUCTURE. Replicate relative paths in public/ --- public/.local/bin/sb-input | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 public/.local/bin/sb-input (limited to 'public/.local/bin/sb-input') diff --git a/public/.local/bin/sb-input b/public/.local/bin/sb-input new file mode 100755 index 0000000..4fb1575 --- /dev/null +++ b/public/.local/bin/sb-input @@ -0,0 +1,9 @@ +#!/bin/bash + +icon="🌐" +layout="$(setxkbmap -query | grep layout | awk '{print $2}')" + +# fcitx state, 0 for close, 1 for inactive, 2 for active +test $(fcitx5-remote) = 2 && layout="日本語" + +echo $icon$layout -- cgit v1.2.3