about summary refs log tree commit diff
path: root/scripts/xmobar/fcitx.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
committerAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
commit3cd06b22069c009b8c5fea2d5fad5f996667d2e3 (patch)
tree4b5f1cb453de13c560bc8aa5a57952713cf360aa /scripts/xmobar/fcitx.sh
parentabsolute garbage wtf (diff)
huge update-o
Diffstat (limited to 'scripts/xmobar/fcitx.sh')
-rwxr-xr-xscripts/xmobar/fcitx.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/xmobar/fcitx.sh b/scripts/xmobar/fcitx.sh
deleted file mode 100755
index f159c41..0000000
--- a/scripts/xmobar/fcitx.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-STATUS="$(fcitx-remote)"
-
-if [ "$STATUS" = 0 ]; then
-	OUT="Off"
-elif [ "$STATUS" = 1 ]; then
-	OUT="Disabled"
-else
-	OUT="Enabled"
-fi
-
-echo "$OUT"

Consider giving Nix/NixOS a try! <3