-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathreport
executable file
·27 lines (26 loc) · 953 Bytes
/
report
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
echo -n "Position: "
ansi --report-position || echo "Error"
echo -n "Icon: "
ansi --report-icon || echo "Error"
echo -n "Screen Chars: "
ansi --report-screen-chars || echo "Error"
echo -n "Title: "
ansi --report-title || echo "Error"
echo -n "Window Chars: "
ansi --report-window-chars || echo "Error"
echo -n "Window Pixels: "
ansi --report-window-pixels || echo "Error"
echo -n "Window Position: "
ansi --report-window-position || echo "Error"
echo -n "Window State: "
ansi --report-window-state || echo "Error"
# NOTE: This won't work
# echo "Position: $(ansi --report-position)"
# echo "Icon: $(ansi --report-icon)"
# echo "Screen Chars: $(ansi --report-screen-chars)"
# echo "Title: $(ansi --report-title)"
# echo "Window Chars: $(ansi --report-window-chars)"
# echo "Window Pixels: $(ansi --report-window-pixels)"
# echo "Window Position: $(ansi --report-window-position)"
# echo "Window State: $(ansi --report-window-state)"