b97538b705a54161656ea6e116780455b5eee22d
[khatus.git] / src / awk / exe / actuate_status_bar_to_xsetroot_name.awk
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)
10 system("xsetroot -name \"" val "\"")
11 next
12 }
This page took 0.064231 seconds and 3 git commands to generate.