diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:15:52 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:15:52 +0300 |
commit | 13964faa53b09924bdd27328311ba27457b0b61d (patch) | |
tree | 73dcca227f3084fd1fa09fd4d3323544b61218ea /scripts/xmobar/fcitx.sh | |
parent | meh (diff) |
I hate the Antichrist
Diffstat (limited to 'scripts/xmobar/fcitx.sh')
-rwxr-xr-x | scripts/xmobar/fcitx.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/xmobar/fcitx.sh b/scripts/xmobar/fcitx.sh index 48eefa0..f159c41 100755 --- a/scripts/xmobar/fcitx.sh +++ b/scripts/xmobar/fcitx.sh @@ -2,14 +2,12 @@ STATUS="$(fcitx-remote)" -if [ "$STATUS" = 0 ] -then - OUT="Off" -elif [ "$STATUS" = 1 ] -then - OUT="Disabled" +if [ "$STATUS" = 0 ]; then + OUT="Off" +elif [ "$STATUS" = 1 ]; then + OUT="Disabled" else - OUT="Enabled" + OUT="Enabled" fi echo "$OUT" |