about summary refs log tree commit diff
path: root/scripts/xmobar/fcitx.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-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