Re-use AWK components
[khatus.git] / bin / khatus_actuate_status_bar_to_xsetroot_name
diff --git a/bin/khatus_actuate_status_bar_to_xsetroot_name b/bin/khatus_actuate_status_bar_to_xsetroot_name
deleted file mode 100755 (executable)
index f41cbd1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /usr/bin/awk -f
-
-BEGIN {
-     FS = msg_fs ? msg_fs : "|"
-    OFS = msg_fs ? msg_fs : "|"
-    Kfs = key_fs ? key_fs : ":"
-}
-
-$1 == "OK" && \
-$2 == "khatus_bar" && \
-$3 == "status_bar" {
-    # Not just using $4 for val - because val might contain a character
-    # identical to FS
-    len_line = length($0)
-    len_head = length($1 FS $2 FS $3 FS)
-    len_val  = len_line - len_head
-    val = substr($0, len_head + 1, len_val)
-
-    system("xsetroot -name \"" val "\"")
-    next
-}
This page took 0.023449 seconds and 4 git commands to generate.