From 85a30fa8d2545cd333f3e0c21aaa5634cd56fe0d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 19 May 2011 00:23:29 +0000 Subject: [PATCH] added comments, updated help to show desktop for S --- inxi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 0e98e78..419e2b0 100755 --- a/inxi +++ b/inxi @@ -741,7 +741,9 @@ check_script_depends() local app_name='' app_path='' # bc removed from deps for now local depends="df free gawk grep hostname lspci ps readlink tr uname uptime wc" - local x_apps="xrandr xdpyinfo glxinfo" + # no need to add xprop because it will just give N/A if not there, but if we expand use of xprop, + # should add that here as a test, then use the B_SHOW_X_DATA flag to trigger the tests in de function + local x_apps="xrandr xdpyinfo glxinfo" if [[ $B_RUNNING_IN_X == 'true' ]];then for app_name in $x_apps @@ -1676,7 +1678,7 @@ show_options() print_screen_output "-r Show distro repository data. Currently supported repo types: APT; PACMAN; PISI; YUM." print_screen_output "-s Show sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds." print_screen_output " Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens." - print_screen_output "-S Show System information: host name, kernel, distro" + print_screen_output "-S Show System information: host name, kernel, desktop environment (if in X), distro" print_screen_output "-t Show processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20," print_screen_output " shows that number of processes for each type (default: $PS_COUNT; if in irc, max: 5): -t cm10" print_screen_output " Make sure to have no space between letters and numbers (-t cm10 -right, -t cm 10 -wrong)."