You are not logged in.
Pages: 1
Hey all does anyone no a way to hve Conky show ur X.org version number? im on 1.6 btw
Offline
I guess technically you take the output of 'pacman -Qs xorg-server' and cut out the version number in between the spaces... But that's probably a hack around
Offline
iono if that will work since it would also display the xserver utils package to
Offline
${texeci interval pacman -Q xorg-server | awk '{print $2}'}
Offline
sorry Ronin-sage, ive got
TEXT
$alignc -- ${texeci interval pacman -Q xorg-server | awk '{print $2}'} | $nodename - $sysname $kernel on $machine | Ram:$color $mem/$memmax | Swap:$color $swap/$swapmax | Root: $color${fs_used /}/${fs_size /} --
as the line of code to display stuff and i added ur code infront of the kernel info but when i run conky it just shows ${texeci} | (rest of my conky info )
Offline
ok sorry for the double post i got the correct code
${exec pacman -Q xorg-server}
Offline
You have to actually change "interval" to whatever you want the...well, interval to be.
Offline
I know this is an old thread but here is an alternative code that I use:
${exec xdpyinfo | grep "X.Org version" | sed -n 's/.*: \([0-9.]*\)/\1/p'}
Pro: it is independent of distribution
Con: depends on xorg-xdpyinfo package
Offline
Pages: 1