You are not logged in.

#2741 Yesterday 00:58:06

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,995

Re: Show us your conky

WizardofCOR wrote:

Ok, a few quick script-mods and MX-CoreBlue is up on my laptop.

https://i.postimg.cc/QKHcHtpq/Laptop-Desktop.png

I'll be expanding the code a bit for my primary workstation, but so far I gotta say I'm happy with the layout.  cool

PS:  If/when Audacious is up and playing, a conky status for it shows on the left as well - bonus!

PPS:  Just noticed the "Total Up" needed color adjustment - fixed - not worth uploading another screenie, but done nonetheless.  Consistency.  lolz

MX-Coreblue is my favorite conky and I kept it stock except for anything MX Linux specific. To get it to work properly with (X)Wayland I also added "require cairo_xlib" to the clockrings.luas script that accompanies this conky. Tightened up the spacing to allow it to display on my old HP laptop that has rather low resolution.


Real Men Use Linux

Offline

#2742 Yesterday 11:18:38

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 3,075

Re: Show us your conky

Sector11 wrote:
unklar wrote:

I've checked the output data several times now. It's fine for my location. There are no errors.
The apparent 'messiness' of the alignment based on the colon is, in my opinion, unrelated. wink

Does it clear up if you remove the colon?

No, there is no change.

Offline

#2743 Yesterday 14:00:50

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,365

Re: Show us your conky

unklar wrote:

No, there is no change.

Let's try something since there was a change in the remind file regarding $Latitude and $Longitude.
Edit the applicable lines in ~/.reminders.sun.v.unklar

## 50°45'48"N = 50.756389 N
## 12°37'48"E = 12.63 E
## Lichtenstein SA Germany

## $Latitude can range from "-90.0" to "90.0"
##   positive numbers = north of the equator
##   negative numbers = south of the equator
## $Longitude can range from "-180.0" to "180.0"
##   positive numbers = east of the Greenwich Meridian
##   negative numbers = west of the Greenwich Meridian

SET $Latitude "50.756389"
SET $Longitude "12.63"

##  SUN STUFF ##

FSET tomins(t) (hour(t) * 60) + minute(t)
FSET frommins(i) time(i / 60, i % 60)
FSET noon_solar(dt) sunrise(dt)+(sunset(dt)-sunrise(dt)) / 2
FSET _light_len(date) MAX(SUNSET(date)-SUNRISE(date), 0)
FSET _dark_len(date) 1440-_light_len(date)


MSG     50.756389 N  12.63 E
MSG     Lichtenstein Germany
MSG       Dämmerung [dawn()]
MSG   Sonnenaufgang [sunrise()]
MSG    Mittagssonne [noon_solar($T)]
MSG Sonnenuntergang [sunset()]
MSG  Abenddämmerung [dusk()]
MSG  
MSG   Tageslicht [_light_len($T)] Min
MSG   Nachtlicht [_dark_len($T)] Min

And from my test.conky:

TEXT
${alignc}↓ TEST CODE ↓
${color9}${swapbar 0}${color}
##---------------------------
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}

##---------------------------
${font}${color9}${swapbar 0}${color}
${alignc}↑ BETWEEN LINES ↑

NOTE the ending of the first line:

>~/.rsvu}

I'm also wondering is it's something in the sed part that might have changed upline:

 | sed -e "/.*(today):/d" -e '/^$/d'

That's Martain to me.

Running in a terminal I get no errors:

 2026·09·11 @ 10:54:50 ~
   $ conky -q -c /media/5/Conky/test.conky &
[1] 88095
 
 2026·09·11 @ 10:55:26 ~
   $ pkill -xf "conky -q -c /media/5/Conky/test.conky" &
[2] 89047
 
 2026·09·11 @ 10:55:55 ~
   $ 

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2744 Yesterday 16:07:08

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 3,075

Re: Show us your conky

^^You shouldn't!  big_smile big_smile

no change  sad
.rsvu

    50.756389 N  12.63 E
    Lichtenstein Germany
      Dämmerung 06:04
  Sonnenaufgang 06:38
   Mittagssonne 13:05
Sonnenuntergang 19:33
 Abenddämmerung 20:06
 
  Tageslicht 775 Min
  Nachtlicht 665 Min

q42NkTjt.png

with a double punctuation mark

    50.756389 N  12.63 E
    Lichtenstein Germany
      Dämmerung: 06:04
  Sonnenaufgang: 06:38
   Mittagssonne: 13:05
Sonnenuntergang: 19:33
 Abenddämmerung: 20:06
 			   ·
	  Tageslicht: 775 Min
	  Nachtlicht: 665 Min

OuddMy3t.png

Offline

#2745 Yesterday 16:21:19

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 3,075

Re: Show us your conky

^It's not that important! I'll arrange the alignment in left-hand conky anyway.

If necessary, I can also ask my friend @marens, because it's definitely possible to use sed to center-align not only the first line but also the following lines from the file.

Offline

#2746 Yesterday 16:57:52

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,365

Re: Show us your conky

unklar wrote:

^^You shouldn't!  big_smile big_smile

You're kidding.  I learn something I pass it on!

unklar wrote:

no change  sad

Well I tried.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2747 Yesterday 18:04:44

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,365

Re: Show us your conky

I revived an OLD conky ... old enough it had eth0 in the top two lines and vnstat in a terminal told me the database for enp5s0 didn't exist.
Deleted vnstat and reinstalled and it was using enp6s0 as it should be.

It will be 5 months before it's filled out.
Added it to my three windowed conkys that I call up read and close as needed.
SEE: VNSTAT Conky


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2748 Yesterday 18:40:08

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,336

Re: Show us your conky

On the topic of old Conky

https://github.com/gvoze32/Mainte


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#2749 Yesterday 21:17:06

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,365

Re: Show us your conky

Döbbie03 wrote:

On the topic of old Conky

https://github.com/gvoze32/Mainte

Nice one.  It looks familiar.  But never owning a laptop .... I chose a Space Station - Starbase !#-10

768881050_starbase_-10.webp


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2750 Yesterday 21:24:51

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,336

Re: Show us your conky

Ah yes. I like that one.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#2751 Today 03:12:19

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,294

Re: Show us your conky

Sector11 wrote:

And from my test.conky:

TEXT
${alignc}↓ TEST CODE ↓
${color9}${swapbar 0}${color}
##---------------------------
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}

##---------------------------
${font}${color9}${swapbar 0}${color}
${alignc}↑ BETWEEN LINES ↑

The ~/.rsvu file has whitespace at the beginning of each line:

    50.756389 N  12.63 E
    Lichtenstein Germany
      Dämmerung 06:04
  Sonnenaufgang 06:38
   Mittagssonne 13:05
Sonnenuntergang 19:33
 Abenddämmerung 20:06
 
  Tageslicht 775 Min
  Nachtlicht 665 Min

That should be removed, and a new file ~/.rsvu_left_aligned created:

$ cat ~/.rsvu | sed 's/^[ \t]*//'
50.756389 N  12.63 E
Lichtenstein Germany
Dämmerung 06:04
Sonnenaufgang 06:38
Mittagssonne 13:05
Sonnenuntergang 19:33
Abenddämmerung 20:06

Tageslicht 775 Min
Nachtlicht 665 Min

In test conky, it looks like this:

##---------------------------
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 cat ~/.rsvu | sed 's/^[ \t]*//' > ~/.rsvu_left_aligned}

It is now possible to center every line in Conky using  ${alignc}  and the  ~/.rsvu_left_aligned   file.


EDIT
It might be enough to simply change the `remind` command to:

${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d' -e '/^[ \t]*//'>~/.rsvu}\

If that works, the  ~/.rsvu_left_aligned   file is not needed.
Just add the lines to Conky in the usual way using ${alignc}, instead of:

${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}

Note *
I don't have the  remind   installed and can't test it.

Last edited by marens (Today 04:08:20)


If people would know how little brain is ruling the world, they would die of fear.

Offline

Board footer

Powered by FluxBB