Normalize alert msg
[khatus.git] / src / awk / exe / actuate_status_bar_to_xsetroot_name.awk
CommitLineData
75b23ff8
SK
1$1 == "OK" && \
2$2 == "khatus_bar" && \
3$3 == "status_bar" {
4 # Not just using $4 for val - because val might contain a character
5 # identical to FS
6 len_line = length($0)
7 len_head = length($1 FS $2 FS $3 FS)
8 len_val = len_line - len_head
9 val = substr($0, len_head + 1, len_val)
75b23ff8 10 system("xsetroot -name \"" val "\"")
43e49903
SK
11 next
12}
This page took 0.023751 seconds and 4 git commands to generate.