calculate window dimensions based on output from /dev/screen

This commit is contained in:
jlamothe 2023-10-23 17:44:43 +00:00
parent 7bff112199
commit 81db0a2f8a

View File

@ -1,4 +1,6 @@
#!/bin/rc #!/bin/rc
# This is an ugly hack to calculate the screen dimensions window -hide apply-theme
window -minx 0 -maxx 0 -maxx 99999 -maxy 99999 -hide build-windows
# Arrange windows
echo `{aux/zerotrunc </dev/screen} | awk -f $home/lib/scripts/build-windows.awk | rc