about summary refs log tree commit diff
path: root/scripts/xmobar/fcitx.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-02-16 02:15:52 +0300
committerAzat Bahawi <azat@bahawi.net>2022-02-16 02:15:52 +0300
commit13964faa53b09924bdd27328311ba27457b0b61d (patch)
tree73dcca227f3084fd1fa09fd4d3323544b61218ea /scripts/xmobar/fcitx.sh
parentmeh (diff)
I hate the Antichrist
Diffstat (limited to 'scripts/xmobar/fcitx.sh')
-rwxr-xr-xscripts/xmobar/fcitx.sh12
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"

Consider giving Nix/NixOS a try! <3