首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > xgetc

xgetc

  • 资源大小:8.72 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Description When run without any argument, xgetc will run forever and will respond to mouse click by printing the pixel color (in hexadecimal notation) and position to stdout. When a selection is made, xgetc will print the geometry of the selection instead (widthXheight+x+y). Command line options can be specified to limit the output to any of selection geometry, mouse position and pixel color. Sample Usage 1) Emulate twm-esque behavior on your Gnome/KDE supercharged desktop: xclock -geometry `xgetc -g` Select a rectangular area on your screen and xclock window will be limited to that area, plus some offset for the window manager title bar. twm, anyone? 2) Getting the color of some random pixel on your screen from inside vim (if you click it, they will come): In somefile.css: .blue { background-color:xgetc -c <--

文 件 列 表

xgetc-0.1
README
xgetc.1
LICENSE
xgetc.c
makefile
VIP VIP
0.170483s