calculate window dimensions based on output from /dev/screen
This commit is contained in:
parent
7bff112199
commit
81db0a2f8a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user