xscreenruler
1.0.0
Regla de pantalla simple para X11. ¡Solo xlib en dependencias!
Para construir, use make . GNU Make y BSD Make han sido probados.
La compilación honra las variables estándar. En algunas plataformas tendrá que pasar directorios de inclusión adicionales y bibliotecas. Por ejemplo, en OpenBSD, lo haría:
CPPFLAGS=-I/usr/X11R6/include LDFLAGS=-L/usr/X11R6/lib make
./xscreenruler [-h] [-fg <color>] [-bg <color>]
-h - this message
-fg <color> - set foreground (i.e. text) color (e.g. yellow, white).
-bg <color> - set background color (e.g. black, red).
Where <color> is either:
An X11 color name (e.g. 'red').
A hex colour code (e.g. '#ff0000')
Keybindings:
Measurement edge:
shift+n - north
shift+s - south
shift+w - west
shift+e - east
Measurement direction:
shift+r - invert(default from left-to-right to right-to-left, from top-to-bottom to bottom-to-top)
Ruler size:
ctrl+d - default (150px) size
ctrl+s - small (375px) size
ctrl+m - medium (525px) size
ctrl+t - tall (675px) size
ctrl+f - fullscreen
Movement
arrows (up, down, left, right)
ctrl+arrows - move faster
Misc:
ESC or ctrl+q - exit
