---
+Show the idle time in seconds/minutes: easy to be added via [XScreenSaverQueryInfo](http://linux.die.net/man/3/xscreensaverqueryinfo), but will discriminate the users that have compiled the program **--without-x11**.
+
+---
+
+Show the CapsLock/NumLock/ScrollLock indicator status for keyboard without LEDs: easy to be added via [XkbGetIndicatorState](http://linux.die.net/man/3/xkbgetindicatorstate), but will discriminate the users that have compiled the program **--without-x11**.
+
+---
+
## Want xinitrc template ?
Take a look in my [xinitrc](https://github.com/wifiextender/dotfiles/blob/master/gentoo/home/frost/.config/misc/xinitrc) and [dwm-start](https://github.com/wifiextender/dotfiles/blob/master/gentoo/home/frost/.config/dwm_scripts/dwm-start).
dnl when some FLAG is unsupported.
AC_DEFUN([TEST_CFLAGZ],[
+
+ dnl -Wdeclaration-after-statement,
+
AC_MSG_NOTICE([checking all CFLAGS])
CHECK_CFLAGZ([
-O2,
-pedantic,
-Wundef,
-Wshadow,
- -w,
+ -W,
-Wwrite-strings,
-Wcast-align,
-Wstrict-overflow=5,
-Wstrict-prototypes,
-Wformat=0,
-Wsign-compare,
- -Wdeclaration-after-statement,
-Wendif-labels,
-Wredundant-decls,
-Wmissing-prototypes,
-Wno-unused-result,
-Wno-unused-function,
+ -Wno-unused-variable,
-Wno-missing-field-initializers
])
if (0 != vend_str) {
for (x = 0x80000002; x <= 0x80000004; x++) { /* movl $0x80000002, %esi */
- CPU_STR(x, eax, ebx, ecx, edx); /* cmpl $0x80000004, %eax */
+ CPU_STR2(x, eax, ebx, ecx, edx); /* cmpl $0x80000004, %eax */
char vend_chars[17]; /* 12 + 4 */
for (z = 0; z < 4; z++) {
* llvm Host.cpp */
#define CPU_VENDOR(x, z) __asm__("cpuid": "=b" (z) : "a" (x))
#define CPU_FEATURE(x, z) __asm__("cpuid": "=a" (z) : "a" (x))
-#define CPU_STR(regizter, a, b, c, d) __asm__( \
+#define CPU_STR2(regizter, a, b, c, d) __asm__( \
"cpuid": \
"=a" (a), \
"=b" (b), \
{ NULL, 0, NULL, 0 }
};
- short int ch = 0;
+ int ch = 0;
while (0 < (ch = getopt_long(argc, argv, "McCIrspkvfmVthi:S:b:", options, NULL))) {
switch (ch) {
case 'M':