commit ae282513a24575a881b269b6372f1af9e989161e parent 034333b0407d45130d11cf41ca3a2dee05059599 Author: Jacob R. Edwards <n/a> Date: Mon, 31 Oct 2022 09:15:02 -0500 Use the whole input history in xinput Diffstat:
| M | local/bin/bin/xinput | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/local/bin/bin/xinput b/local/bin/bin/xinput @@ -10,7 +10,6 @@ else name="$1" mkdir -p "$data" : >> "$data"/"$name" - tail "$data"/"$name" | - awk '{x[NR]=$0}END{for(i=NR;i>0;--i)print(x[i])}' | + awk '{x[NR]=$0}END{for(i=NR;i>0;--i)print(x[i])}' < "$data"/"$name" | dmenu -p "$name" | tee -a "$data"/"$name" fi