dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 7333c3e9856cfdb57d51c9f89be654033a058207
parent 953f6d7db93d3a0b80aee66b6379e8f0555f9abb
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 10 Mar 2020 00:03:22 -0700

Eliminate ibus mode indicator in sway bar

I only ever use Japanese, switched between latin and romaji-based
Japanese input modes.

Diffstat:
M.config/sway/custom_statusbar | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/.config/sway/custom_statusbar b/.config/sway/custom_statusbar @@ -6,12 +6,4 @@ kotd="$(kotd) ⋯ " # Day of week in Japanese. time=$(LC_TIME=ja_JP.UTF-8 date +"%Y-%m-%d %k:%M (%a)") -# Current ibus input method. -ibus=$(ibus engine 2> /dev/null) -if [ "${ibus}" = "mozc-jp" ]; then - ibus="JA" -else - ibus="EN" -fi - -echo "${kotd}${time} ⋯ ${ibus}" +echo "${kotd}${time}"