You are not logged in.
There are 81 entries in The Book of the Way - at least in the translation I'm using.
Nice I have a "few" more to look forward to.
Yea, "hwmon" is a big OOPS! in that respect and to the best of my knowledge "platform" doesn't work with Intel and ${exec(pi)}, bash script or not, is not minimal.
UPDATE - And I see while typing this you posted the Tao conky. How nice of you, Thank you.
Have a great day!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Cutting the system information to the bare essentials. Clock and battery handled by tint2:
https://cdn.scrot.moe/images/2017/04/28/scrot-shot-Thu_27_1493334825.th.png
Tao Te Ching conky set to a key binding.
If you dont mind me asking how do you do that conky with the Tao? I would like to do something similar but have a different medium, id like to do something with poetry in mind?
Nevermind im having a shocker with reading threads tonight. You answered a few posts up.
Last edited by Steve (2017-04-28 12:54:30)
Offline
^ Steve ... you and I are going to get along just fine. We do the same things. ]:D
Also I like how you edited your post. Being open about an OOPS! is ... well ... being open.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I think the HowTo for the Tao conky is gone
Yea I think it is gone. I could only find two references to "taoread", from your bash script, by searching your posts:
Using a LUA script: here and another reference where you mentioned the tao-te-ching-the-book-of-the-way that has a broken link.
Broken because: crunchbanglinux.org changed to crunchbang.org therefore changing the internal links.
CRUNCH!! BANG!! BOOM!! SNAP!! CRACKLE!! POP!! went the link.
So a really big thank you for re-posting it here.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
${exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
Looks like that command takes into account both monitors:
~$ xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"
3046x1050
Actual monitors are 1680x1050 and 1366x768
Offline
^ But I only have one monitor ...
29 Apr 17 @ 00:31:13 ~
$ xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"
1920x1080
29 Apr 17 @ 00:31:19 ~
$ xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"
1920x1080
... so I did it twice. O:)
But really, that a nice side affect.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Sector11 wrote:For me one of the bare essentials is CPU Temp, but then I burned one up
Always liked your "Tao" conky, I've read quite a few.
How many are there?There are 81 entries in The Book of the Way - at least in the translation I'm using.
I still have conkies with the CPU temps set up with key bindings, but on these intel chips the hwmon method doesn't always work - especially after a kernel upgrade. On a rolling release like Void that's sort of inconvenient. My options were to go back to using a bash script with awk to get the temps, or just take them out and go minimal.
This sounds very interesting to me. You may already have in the past, but would you mind sharing it with us (again)?
EDIT: I have a brain disorder. Major derpage. It's a few posts up.
Thanks for sharing it, this is awesome.
Last edited by Temetka (2017-04-29 04:45:36)
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
Sector11 wrote:${exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
Looks like that command takes into account both monitors:
~$ xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p" 3046x1050
Actual monitors are 1680x1050 and 1366x768
not sure if there's a problem?
maybe
xwininfo -root|grep geometry
would work better?
(i, too, only have 1 monitor so i'm just guessing)
Offline
OK, before people start thinking that I posted or worse created this line:
${exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
I was simply telling unklar that I liked that line from the antiX conky he posted.
Six for one, half a dozen to the other as which you want to use I guess:
xdpyinfo - display information utility for X
xwininfo - window information utility for X
Like ohnonot I can not test "dual monitor setup" as I have a single monitor
There is also:
29 Apr 17 @ 09:53:09 ~
$ xwininfo -root |egrep 'Width:|Height:'
Width: 1920
Height: 1080
29 Apr 17 @ 09:59:49 ~
$ xprop -root | grep _NET_DESKTOP_GEOMETRY -m 1
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1920, 1080
No since that shows the names of my desktops as well, that might do dual - triple monitors.
29 Apr 17 @ 10:01:16 ~
$ xprop -root | grep _NET_DESKTOP_NAMES -m 1
_NET_DESKTOP_NAMES(UTF8_STRING) = "SR-71", "SR-72", "SR-73", "SR-74", "SR-75"
It has a ton of stuff to grab run just xprop - click on a conky:
29 Apr 17 @ 10:05:55 ~
$ xprop
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _OB_WM_ACTION_UNDECORATE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ICON(CARDINAL) = Icon (48 x 48):
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒
▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒
▒ ▒
░ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
░ ▒
░ ▒
░ ░
░ ▒
▒ ▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
_OB_APP_TYPE(UTF8_STRING) = "normal"
_OB_APP_TITLE(UTF8_STRING) = "Email-Currency"
_OB_APP_GROUP_CLASS(UTF8_STRING) =
_OB_APP_GROUP_NAME(UTF8_STRING) =
_OB_APP_CLASS(UTF8_STRING) = "Conky"
_OB_APP_NAME(UTF8_STRING) = "Conky"
_OB_APP_ROLE(UTF8_STRING) =
_NET_WM_VISIBLE_ICON_NAME(UTF8_STRING) = "Email-Currency"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "Email-Currency"
_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_BELOW
_WIN_LAYER(CARDINAL) = 0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
WM_PROTOCOLS(ATOM): protocols
WM_NAME(STRING) = "Email-Currency"
WM_LOCALE_NAME(STRING) = "en_CA.UTF-8"
WM_CLASS(STRING) = "Conky", "Conky"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: False
Initial state is Normal State.
WM_CLIENT_MACHINE(STRING) = "bunsen"
WM_COMMAND(STRING) = { "conky", "-c", "/media/5/Conky/S11_Email_01.conky" }
29 Apr 17 @ 10:06:09 ~
$
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ yeah i'm not sure why miharkula's comment popped up there, and what the context was, just thought i'd mention it...
actually i've been using this snippet:
"$(xrandr|sed -n '/.*\*.*/p')"
in some scripts but i don't think it would work well for dual monitors, either.
just adding to the trove: "more than one way to skin a cat"
Offline
^ He quoted my post that was in reference to the AntiX conky unklar posted.
I'm just making sure that people don't think I created that gem.
Nice but it adds the 60.00*+ in there as well
$ xrandr|sed -n '/.*\*.*/p'
1920x1080 60.00*+
And along the lines of skinning a cat ... as I like to say "Linux: 1001 Ways to Do the Same Thing!"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ i don't use oneliners so much.
inside my script it actually continues like this:
screenres="$(xrandr|sed -n '/.*\*.*/p')"
screenwidth="${screenres%%x*}"
screenres="${screenres#*x}"
screenheight="${screenres%% *}"
unset screenres
i like to use bash builtins as much as possible.
Offline
Please don't say conky, dammit, now I said it !
Ah what's the use, installed conky a lil bit ago. Might be back to post summin here. In like 4 friggin days !
Conky flashbacks, if I can just move this thing 127.5 nanometers to the left and .35px up, it'll be perfect.
Last edited by BLizgreat! (2017-04-30 11:19:01)
Offline
@BLizgreat!
{you are dreaming of "the one-conky to rule all conkys" - The Blitz Conky}
sudo apt-get install bliz_align
and then:
${execi 3600 bliz_align 127.2 -upx .35}${next command}
bliz_align defaults to: nanometers moved to the right
Command line options are:
-l = left
-r = right (default)
-u = up
-d = down
--- combined with ---
-px = pixels
-pi = picas
-po = points
-pe = percentage
-in = inches
-cm = centimeters
-nm = nanometers (default)-rnm is the default and does not require being on the command line.
]:D ]:D ]:D ]:D
=== do not take seriously ===
My point is: If screenruler can have those bottom options, why not conky?
Or at least:
${align -r20} ${align -l20} ${align -u20} ${align -d20} -> replaces ${goto}
${align -or20} ${align -ol20} ${align -ou20} ${align -od20} -> replaces ${(v)offset}
One, existing, command ${alignc|r} - modified: gets rid of ${offset} ${voffset} & ${goto}
O:)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
My conky: S11_WTD.conky
World Time Date & Forecast - CCCC: S11, ragamatrix, Habitual & TeoBigusGeekus
Habitual wrote the daylight.sh script that gets the daylight/cloud cover image: /media/5/Conky/images/world_1600.jpg
- in 2010 - it's old, still works.
I found the a simple weather site in China (Today's Hi/Low, simple condition) and the 'data collection' script was done by Teo: majorcities
draw-bg.lua does the fake beveled edge.
conky ${tztime} gets the time for each location
${if_match} compares the date of each ${tztime [place] %d} with ${tztime NZ %d} (New Zealand) to display colour for the dates of the two days.
A whole bunch of ${goto xxx} commands with a few ${voffsets xx} to fine tune things
https://cdn.scrot.moe/images/2017/04/19/2017-04-18_221640_Scrot11.th.jpg
Hello,
If you are interested in this conky, find other configurations on this blog:
https://bitbucket.org/plikhari/conkywx_pub/wiki/Home
http://foreverquest.blogspot.it/
And arch linux repo and is called conkywx
best regards
edit thank for the great job!
Last edited by ector1935 (2017-05-03 17:03:07)
Offline
If you are interested in this conky, find other configurations on this blog:
https://bitbucket.org/plikhari/conkywx_pub/wiki/Homehttp://foreverquest.blogspot.it/
And arch linux repo and is called conkywx
best regards
edit thank for the great job!
OH MY! That looks really interesting.
Unfortunately the .deb file is an Ubuntu build, but I grabbed the StandAlone version (conkywx_6.0.0_sa.tar.xz) to have a look at.
Very nice indeed. Thank you.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ ector1935
Many Thanks!
I should try again ... conkywx that was in March 2015
My last attempts under arch-linux failed, because I simply did not manage with conky V1.10.
Last edited by unklar (2017-05-03 19:28:50)
Offline
FOR ANYONE RUNNING CONKY v1.10+
Debian Stretch conky = v1.10.6-1
Parrot conky rev#1 conky v1.10+
#Parrot OS Conky tweaked by: mrneilypops rev#1 conky v1.10+
conky.config = {
background = true,
update_interval = 2.0,
total_run_times = 0,
net_avg_samples = 2,
override_utf8_locale = true,
double_buffer= true,
no_buffers = true,
text_buffer_size = 512,
imlib_cache_size = 512,
temperature_unit = celsius,
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = undecorated,sticky,skip_taskbar,skip_pager,
border_inner_margin = 0,
border_outer_margin = 0,
minimum_width = 248,
maximum_width = 280,
alignment = 'top_right',
gap_x = 10,
gap_y = 50,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
use_xft = true,
font = 'Future:size=4',
xftalpha = 0.6,
default_color = 'D4ECF4',
default_gauge_height = 50,
default_gauge_width = 25,
uppercase = false,
use_spacer = none,
color0 = 'white',
color1 = 'orange',
color2 = 'green',
if_up_strictness = link,
lua_load = '~/parrot-conky/etc/conky/rings.lua',
lua_draw_hook_pre = 'main_rings',
}
conky.text = [[
${image ~/parrot-conky/etc/conky/parrot.png -p 0,0 -s 247x621}
${voffset 12} ${goto 20} ${font Future:size=9}${color #008080}OS: GNU/${sysname}
${voffset 1} ${goto 16} ${font Future:size=9}${color #008080}Distro: ${exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"}
${voffset 1} ${goto 16} ${font Future:size=9}${color #008080}Kernel: ${kernel}
${voffset 1} ${goto 16} ${font Future:size=9}${color #008080}Env: ${execp env | grep DESKTOP_SESSION= |cut -c 17-}
${voffset 180} ${goto 15} ${font Future:size=10}${color #008080}RAM: ${font Future:size=9}${memmax}
${voffset 0} ${goto 15} ${font Future:size=10}${color #008080}Used RAM: ${font Future:size=9}${memperc}% - ${font Future:size=9}${mem}
${voffset 0} ${goto 15} ${font Future:size=10}${color #008080}Free RAM: ${font Future:size=9}${memfree}
${voffset 0} ${goto 15} ${font Future:size=10}${color #009090}Procs/Threads: ${font Future:size=9}${processes} - ${threads}
${voffset 67} ${goto 40} ${font Future:size=9}${color #008080}wifi
${voffset -14} ${goto 111} ${font Future:size=9}${color #008080}up
${voffset -14} ${goto 182} ${font Future:size=9}${color #008080}down
${voffset 2} ${goto 12} ${font Future:size=9}${color #008080}UP:${voffset -10}${if_up wlan0}${upspeedgraph wlan0 25,100 008080 aa0000 0 -t -l}${endif}${if_up wlan1}${upspeedgraph wlan1 25,100 008080 aa0000 0 -t -l}${endif}${if_up eth0}${upspeedgraph enp5s0 25,100 008080 aa0000 0 -t -l}${endif}${if_up enp5s0}${upspeedgraph eth0 25,100 008080 aa0000 0 -t -l}${endif}
${voffset 11} ${goto 12} ${font Future:size=9}${color #008080}DL:${voffset -10}${if_up wlan0}${downspeedgraph wlan0 25,100 008080 00aa00 0 -t -l}${endif}${if_up wlan1}${downspeedgraph wlan1 25,100 008080 00aa00 0 -t -l}${endif}${if_up eth0}${downspeedgraph eth0 25,100 008080 00aa00 0 -t -l}${endif}${if_up eth0}${downspeedgraph eth0 25,100 008080 00aa00 0 -t -l}${endif}
${voffset 50} ${goto 51} ${font Future:size=10}${color #008080}/root
${voffset -16} ${goto 155} ${font Future:size=10}${color #008080}/home
#${voffset 34} ${goto 30} ${font Future:size=11}${color #00a0a0}dmesg
#${voffset -6} ${goto 2} ${font mono:size=6}${color #30ff50}${execi 1 sudo dmesg -t | tail -20 | tac}
]]
I hope this helps with the change of syntax on conky v1.10+
https://github.com/brndnmtthws/conky/wi … n-Settings
https://github.com/brndnmtthws/conky/wi … -Variables
https://github.com/brndnmtthws/conky/bl … conky.conf
and my blog;
https://mrneilypops.io/parrot-conky-tweak-conky-v1-10/
running this conky.conf on Ubuntu and Void linux - no errors.
Last edited by mrneilypops (2017-05-05 13:48:58)
Offline
Awesome - I do like that conky.
And those links are priceless. Thank you!
Another thing for Conky v1.10 - it comes with "convert.lua" that does a fairly decent conversion of conky v1.9 to v1.10. I copied it to /media/5/Conky/convert-lua/convert.lua
From the file:
#! /usr/bin/lua
local usage = [[
Usage: convert.lua old_conkyrc [new_conkyrc]
Tries to convert conkyrc from the old v1.x format to the new, lua-based format.
Keep in mind that there is no guarantee that the output will work correctly
with conky, or that it will be able to convert every conkyrc. However, it
should provide a good starting point.
Altough you can use this script with only 1 arg and let it overwrite the old
config, it's suggested to use 2 args so that the new config is written in a new
file (so that you have backup if something went wrong).
For more information about the new format, read the wiki page
<http://wiki.conky.be/index.php?title=conky2rc_format>
]];
And if I may, a suggestion to help the script:
- - Strip all non-essential lines out of the old conky before converting.
Also; bash does not understand:
$ convert.lua old.test.conky test.10.conky
therefore tell it you are using lua:
$ lua convert.lua old.test.conky test.10.conky
That command gave me: test.10.conky
conky.config = {
--# pkill -xf "conky -c /media/5/Conky/test.conky" &
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'skip_taskbar,skip_pager,undecorated,below',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = [[
Sector11's Test Conky]],
--own_window_argb_visual yes
--own_window_argb_value 80
gap_x = 90,-- l|r
gap_y = 90,-- u|d
minimum_width = 356, minimum_height = 500,
maximum_width = 356,
alignment = 'top_left',
--# ---------- End Window Settings
--# ---------- Font Settings
override_utf8_locale = true,
use_xft = true,
font = 'Fira Mono:bold:size=10',
xftalpha = 1.0,
--# --------- End Font Settings
--# --------- Color Settings
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#DCDCDC',--Gainsboro
color0 = '#C0C0C0',--Silver
color1 = '#778899',--LightSlateGray
color2 = '#FAEBD7',--AntiqueWhite
color3 = '#87CEFA',--LightSkyBlue
color4 = '#48D1CC',--MediumTurquoise
color5 = '#FFDEAD',--NavajoWhite
color6 = '#00BFFF',--DeepSkyBlue
color7 = '#B0E0E6',--PowderBlue
color8 = '#FFD700',--Gold
color9 = '#CD5C5C',--IndianRed
--# ---------- End Color Settings
--# ---------- Begin Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 5,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = true,--# no
--# ---------- End Borders Secton
--# ---------- Begin Miscellaneous Section
background = true,
use_spacer = 'none',
no_buffers = true,
short_units = true,
imlib_cache_size = 0,
double_buffer = true,
top_name_width = 8,
--# ---------- End Miscellaneous Section
update_interval = 1,
};
conky.text = [[
${time %T}${alignr}${time %x}
${voffset -15}${alignc}${color6}UTC:${color} ${utime %H:%M} ${color6}${execi 1 /media/5/Conky/scripts/swatch.sh}${color}
${alignc}${color2}Boot:${color} ${pre_exec who -b | cut -c23-} ${color2}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color0}CPU Total${color} ${if_match ${cpu cpu0}<10}··${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}·${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
${alignr}${color0}Test Conky${color} v${conky_version}
${alignc}${color9}${swapbar 0,30}${color} ↓ test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
${color3}${alignc}antiX
${color8}$alignc${font DejaVu Sans:size=12}${tztime Europe/Berlin %a.%d.%b %Y} $font
${color}${alignc}${time %a. %d. %b}
${color3}${alignc}${pre_exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
${color3}${alignc}${pre_exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${color3}${alignc}$kernel
${color3}${alignc}Uptime: $uptime
Env: ${pre_exec env | grep DESKTOP_SESSION= |cut -c 17-}
U=${time %U} V=${time %V} W=${time %W}
${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,15}${color} ↑ between lines ↑ ${color9}${swapbar 0,15}${color}]];
Works quit well of the less complicated conkys.
NOTE:
Conky v1.9 command ${pre_exec} does not exist in v1.10
Use: ${execi xxxx} a LARGE number - I use 86400 (1 day)
Example from above conky:
${color3}${alignc}${pre_exec disp=${DISPLAY#:}; {blah blah}
change to:
${color3}${alignc}${execi 86400 disp=${DISPLAY#:}; {blah blah}
It's not like my screen size is going to change every 15 minutes.
Thank you mrneilypops
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ and thanks to you Sector11, some more useful information for conky v.1.10+
Offline