You are not logged in.

#2041 2024-03-11 11:56:35

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

Re: Show us your conky

Time will tell, time will tell.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2042 2024-03-16 09:16:11

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

Re: Show us your conky

Today conky-all was updated in sid(uction).

Interestingly, the wayland support has been removed.

conky -v
conky 1.19.6 compiled 2024-03-15 for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * IRC
  * Curl
  * RSS
  * ICal
  * iconv
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * Mouse evenets

 Music detection:
  * Audacious
  * CMUS
  * MPD
  * MOC

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256

However, an updated changelog is still missiing.
https://packages.debian.org/search?keyw … ection=all

Offline

#2043 2024-03-16 14:04:34

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

Re: Show us your conky

unklar wrote:

Today conky-all was updated in sid(uction).

Interestingly, the wayland support has been removed.

Conky-all was updated but wayland isn't supporting it.

Now it's: get·out·of·my·wayland

smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2044 2024-03-20 16:51:00

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

Re: Show us your conky

If it doesn't work out with conky and wayland in the future (which it looks like it), then I'm already preparing for it with the weather.  2TWJHGl.png

GaLs58pt.png
It can only get better.

Offline

#2045 2024-03-20 18:10:35

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

Re: Show us your conky

unklar wrote:

If it doesn't work out with conky and wayland in the future (which it looks like it), then I'm already preparing for it with the weather.  https://i.imgur.com/2TWJHGl.png

https://i.imgur.com/GaLs58pt.png
It can only get better.

Looks good.

Yea, I've heard wayland will not mix.  Unless brandon comes up with a fix.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2046 2024-03-27 19:47:31

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

Re: Show us your conky

Most conky people will identify with this:
My-stapler.jpg
and you have my conky!

For those that don't, search for: The Trailer Park Boys! and hit images.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2047 2024-04-14 01:23:25

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Show us your conky

Another nice little conky hack.

conky bunsenlabs

The logo is using labwcmoon font. This font required for the logo and since I am posting this publicly, requires attribution (see code below). While on attribution, I would like to acknowledge the original author of the flame logo as discussed with @malm many moons ago. See the README.md

The 'bunsenlabs' text use Roboto bold and light but it would look just as effective in cantarell, nunito or whatever you like. Do you even need/want the text? smile

Here are the relevant parts of my `.conkyrc`


# labwcmoon - attribution
#This repository contains an icon font generated by the IcoMoon App 
#which I (01micko > micko01) named labwcmoon.
#The IcoMoon icons used in the font are dual licensed GPL / CC BY-SA 4.0
#so these can be legally distributed as long as attribution is given to
#the author. I emailed IcoMoon support for clarification - if anyone
#wants a copy of this correspondence don't hessitate to contact me
#via 01micko AT GMAIL dot COM .
#Thank you to IcoMoon and the author of the IcoMoon - Free icons, Keyamoon.

# add this to conky.config - change to suit yourself

	font1 = 'Roboto:size=10',
	font2 = 'Roboto:Thin:size=16',
	font4 = 'labwcmoon:size=17',
	font5 = 'Roboto:bold:size=16',

# add this to conky.text - again change to suit yourself
# adjust the spaces in the `printf` statement to line up the flame if using different font/size.

${color4}${alignc}${font4}${exec printf "    %b" "\\Ue900"}
${color4}${alignc}${font5}bunsen${font2}labs

If you want to use the other unicode characters in the font (it's fairly extensive and can be a good replacement for Fontawesome) I suggest to download the whole `labwc-artwork` repository so you get all the files to open up `demo.html` in your browser which contains all the unicode for all the chars.

Have fun!

Last edited by micko01 (2024-04-14 01:27:19)


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#2048 2024-04-19 07:31:02

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

My new conky like HTC

Capture-d-cran-2024-04-19-09-27-38.png

Blinked temp in blue under 15°

conky.config = {
background = true,  
	use_xft = true,
	font = 'Liberation Sans:size=8',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = false,  
        own_window_argb_visual = true,
        own_window_argb_value = 0,     -- 0 transparent 255 plein  
	own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,',
	double_buffer = true,
	minimum_width = 280, minimum_height = 760,
        maximum_width = 280,
	text_buffer_size = 2048,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'white',
	default_outline_color = 'white',
	alignment = 'top_left',
	gap_x = 50,
	gap_y = 50,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,
        imlib_cache_flush_interval = 60,
	imlib_cache_size = 10000,
	stippled_borders = 5,
        default_shade_color = '#333333',
	default_outline_color = 'black',

lua_load = '~/.conky/lua/image.lua',


color1 = 'F5B800',
color2 = '00f5ff',
color3 = '828200',
color4 = '323200',
color5 = 'fdb72e',
color7 = '6495ee',
color9 = 'red',
	};

conky.text = [[
#### Lancement du script récupérant les données météo #####
 ${execi 1800 bash $HOME/conky-openmeteo/Suisse/suisse.sh}${execi 1500 bash $HOME/Moongiant_conky_script/moongiant}
#### Premier cadre ####
##### Heure #####
${voffset -2}${font LED_mono :style=Medium:size=52}${color 434343}${goto 31}${time %H}${goto 141}${time %M}${font LED_mono :size=25:style=Medium}${color 808080}${goto 235}${time %S}
##### Date #####
${voffset -2}${color yellow}${font URW Chancery L:style=Bold:size=18}${alignc}${execi 600 date "+%A %d %B %Y"|sed 's/^.\| [a-z]/\U&/g'}
##### ville #####
${goto 5}${color ffe595}Folpersviller
##### température actuelle #####
${goto 15}${voffset -6}${font URW Chancery L:style=Bold:size=30}${if_match ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}<15}${color 6495ee}${blink ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}°}${else}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}°${endif}
##### Affichage conditions météo #####
${voffset -2}${font URW Chancery L:style=Bold:size=12}${color white}${alignc}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.condition'}
##### Affichage infos ######
${voffset -38}${color ffe595}${font Helvetica LT Std:style=Bold:size=10}${goto 220}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.wnd_dir'}            
${color ffe595}${font Helvetica LT Std:style=Bold:size=10}${goto 220}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.wnd_spd'} km/h
${voffset -34}${goto 10}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.humidity'} %          
${color ffe595}${goto 10}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.pressure'} mb
#### Second cadre ####
##### Affichage aujourd'hui jour + nuit #####
${voffset 5}${font Ubuntu :style=Bold:size=22}
${goto 50}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."12H00".TMP2m' | awk '{printf("%d\n",$1)}'}°\
${goto 240}${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."23H00".TMP2m' | awk '{printf("%d\n",$1)}'}°${voffset -2}
${font Ubuntu :style=Bold:size=10}${color white}${goto 25}vent: ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."12H00".WNDDIRCARD10'}${goto 220}vent: ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."22H00".WNDDIRCARD10'}
${goto 25}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."12H00".WNDSPD10m'} km/h${goto 220}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."22H00".WNDSPD10m'} km/h
${alignc -10}${voffset -9}${execi 600 sed -n '11p' $HOME/Moongiant_conky_script/raw}
 #### troisieme cadre ####
##### Affichage température #####
${voffset 40}${font Ubuntu :size=10:style=bold}
 ${goto 30}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."4H00".TMP2m' | awk '{printf("%d\n",$1)}'}°\
${goto 105}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."10H00".TMP2m' | awk '{printf("%d\n",$1)}'}°\
${goto 175}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."16H00".TMP2m' | awk '{printf("%d\n",$1)}'}°\
${goto 250}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."22H00".TMP2m' | awk '{printf("%d\n",$1)}'}°
##### Affichage vent #####
${voffset 4}${font Ubuntu :size=7:style=bold}${color ffe595}
 ${goto 30}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."4H00".WNDSPD10m'}km/h\
${goto 105}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."10H00".WNDSPD10m'}km/h\
${goto 175}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."16H00".WNDSPD10m'}km/h\
${goto 250}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."22H00".WNDSPD10m'}km/h
##### Affichage Heure #####
${voffset -16}${font Ubuntu :size=10:style=bold}${color ffffff}
 ${goto 20}04:00\
 ${goto 95}10:00\
${goto 165}16:00\
${goto 240}22:00
#### quatrième cadre ####
##### Affichage temperature #####
${voffset 44}${font Ubuntu :size=10:style=bold}
 ${goto 27}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_1.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_1.tmin'}°\
 ${goto 97}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_2.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_2.tmin'}°\
${goto 167}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_3.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_3.tmin'}°\
${goto 237}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_4.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_4.tmin'}°
##### Affichage vent #####
#${voffset -14}${font Ubuntu :size=9:style=bold}${color ffe595}
 ${goto 30}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_1.hourly_data."4H00".WNDDIRCARD10'}\
${goto 105}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_2.hourly_data."10H00".WNDDIRCARD10'}\
${goto 175}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_3.hourly_data."16H00".WNDDIRCARD10'}\
${goto 250}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_4.hourly_data."22H00".WNDDIRCARD10'}
##### Affichage Date #####
${voffset -18}${font Ubuntu :size=10:style=bold}${color ffffff}
 ${goto 20}${execi 3600 echo `date --date="1 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="1 day" | awk '{print $2}'`}\
 ${goto 95}${execi 3600 echo `date --date="2 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="2 day" | awk '{print $2}'`}\
${goto 165}${execi 3600 echo `date --date="3 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="3 day" | awk '{print $2}'`}\
${goto 240}${execi 3600 echo `date --date="4 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="4 day" | awk '{print $2}'`}
##### Heure mise à jour #####
${color ffe595}${font URW Chancery L:style=Bold:size=16}${alignc}Dernière mise à jour : ${execpi 600 sed -n '1p' $HOME/conky-openmeteo/Suisse/actualisation | cut -c1-5}

${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp' > $HOME/conky-openmeteo/Suisse/barographe/temp}
${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.pressure' | cut -d'.' -f1 > $HOME/conky-openmeteo/Suisse/barographe/pression}
#### Affichage des cadres utilisés dans le conky ####
#### premier cadre ####
${lua fDrawImage $HOME/Accuweather_conky_script/fond/base5.png 0 40 290 170}
${lua fDrawImage $HOME/Accuweather_conky_script/fond/flip_bg.png 24 10 100 100}
${lua fDrawImage $HOME/Accuweather_conky_script/fond/flip_bg.png 134 10 100 100}
#### Second cadre ####
${lua fDrawImage $HOME/Accuweather_conky_script/fond/base5.png 0 230 290 100}
#### troisième cadre ####
${lua fDrawImage $HOME/Accuweather_conky_script/fond/base5.png 0 350 290 100}
#### quatrieme cadre ####
${lua fDrawImage $HOME/Accuweather_conky_script/fond/base5.png 0 470 290 100}
#### icônes premier cadre ####
${lua fDrawImage $HOME/conky-openmeteo/Suisse/now.png 75 110 140 100}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/Wind1.png 200 100 90 90}
#### icônes Second cadre ####
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h8.png  -10 215 135 96}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h22.png 150 215 135 96}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/lune.png 115 215 80 80}
#### icônes troisième cadre ####
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h4.png     000 350 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h10.png    068 350 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h16.png    133 350 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/h22.png    200 350 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/Wind4.png  000 390 50 50}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/Wind10.png 075 390 50 50}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/Wind16.png 145 390 50 50}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/Wind22.png 220 390 50 50}
#### icônes quatrième cadre ####
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d1.png  000 460 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d2.png  068 460 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d3.png  133 460 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d4.png  200 460 86 54}

${voffset -1000}
]];

Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2049 2024-04-19 11:14:47

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Show us your conky

Refering to my post above to show the "bunsanlabs" text with flame logo above I coded this:

${color4}${alignc}${font4}${exec printf "    %b" "\\Ue900"}

to render the bunsenlabs logo in your conky, however after installing a Boron VM (qemu) I note that it fails, but it can work with the following:

${color0}${alignc}${font4}${exec $HOME/.config/conky/scripts/icon.sh}

depending on the `icon.sh` script which has this:

#!/bin/bash

printf "%7b" "\\Ue900"

I was running a later version of conky in the previous post but this will work in the version that comes with stock bunsenlabs Boron.


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#2050 2024-04-20 02:47:27

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

Re: Show us your conky

loutch wrote:

Hello
Blinked temp in blue under 15°

VERY NICE!  Especially like that ↑↑↑ part


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2051 2024-04-20 07:04:37

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

@ S11

many tanks


I think i have it

Capture-d-cran-2024-04-20-09-03-38.png

@+

Last edited by loutch (2024-04-20 07:05:11)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2052 2024-04-21 00:14:01

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

^ Very nice as always.

Awesome VClouds icons and wind rose from ACS.

Too bad it's just a local weather service.
Your conky would be on the must have list if most people could use it.

I'm not sure which of my MoonGiant script plugins you use to display the moon image?

Old:
https://forums.bunsenlabs.org/viewtopic … 17#p126817

Or

Moongiant conky script  -  Illumination Angle and Visibility in Real Time:
https://forums.bunsenlabs.org/viewtopic … 46#p128546

Anyway, great job!


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

Offline

#2053 2024-04-21 06:18:27

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Tank you .

no idea the script has been changed so many times .

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2054 2024-04-25 17:20:37

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

Parole Media Player - Conky

I stopped using Windows (XP) over ten years ago.
Since then my name cannot be found in the same sentence with M$.

However, a few things remain (like a large collection of music I recorded from Radio Sure).

I love Parole media player with the excellent MPRIS2 plugin.
VLC and Audacious don't work properly (for me) and I can't see the album art.

parole-media-pleyer.png

Today I tried to make a conky that will only show the album cover.

I found the image used by the Parole media player in the /tmp folder.
It looks something like this: parole-art-EHKSM2.jpg.

Then I created an mpris file (script) and made it executable:

#!/usr/bin/env bash

cd /tmp

file=$(ls | grep parole-art)

if [ -f "$file" ]; then

cp -u $file $HOME/.conky/Parole/parole-art.jpg

else

rsync -aq $HOME/.conky/Parole/headphone.png $HOME/.conky/Parole/parole-art.jpg

fi


####   Conky - ParoleArt   #### 

#alignment top_left

#gap_x 100
#gap_y 100

#minimum_size 128 128

#use_xft yes
#xftfont Open Sans:size=10

#own_window yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_value 0
#own_window_transparent no
#own_window_argb_visual no
#own_window_colour 202020

#double_buffer yes

#imlib_cache_size 0

#TEXT
#${texeci 10 bash $HOME/.conky/Parole/mpris}\
#${image $HOME/.conky/Parole/parole-art.jpg -p 0,0 -s 128x128}


## Artist + Song commands ##
  
#pacmd list-sink-inputs | grep media.artist | awk -F'"' '{print $2}'
#Big Maceo

#pacmd list-sink-inputs | grep media.title | awk -F'"' '{print $2}'
#I Got the Blues

At the end of the script I left instructions on how to make a conky (for those who want to try it).
You will need the headphone.png image (when Parole is not running):
https://i.postimg.cc/KvHTC9Kq/headphone.png

This is the result:
parole-conky.png

EDIT

Or minimum_size 400 80 and with text:

TEXT
${texeci 10 bash $HOME/.conky/Parole/mpris}\
${if_match "${texeci 10 pacmd list-sink-inputs | grep media.artist}" != ""}\
${goto 100}${color 0098FF}Parole Media Player\
${if_match ${texeci 10 pacmd list-sink-inputs | grep media.artist | awk -F'"' '{print $2}' | awk '{print length($0)}'}<44}\
${voffset 25}${goto 100}${color FF8080}${texeci 10 pacmd list-sink-inputs | grep media.artist | awk -F'"' '{print $2}'}\
${else}\
${voffset 25}${goto 100}${color FF8080}${texeci 10 pacmd list-sink-inputs | grep media.artist | awk -F'"' '{print $2}' | cut -c1-42} ...\
${endif}
${if_match ${texeci 10 pacmd list-sink-inputs | grep media.title | awk -F'"' '{print $2}' | awk '{print length($0)}'}<44}\
${goto 100}${color E4E4E4}${texeci 10 pacmd list-sink-inputs | grep media.title | awk -F'"' '{print $2}'}\
${else}\
${goto 100}${color E4E4E4}${texeci 10 pacmd list-sink-inputs | grep media.title | awk -F'"' '{print $2}' | cut -c1-42} ...\
${endif}\
${else}\
${goto 100}${color 0098FF}Parole Media Player\
${voffset 25}${goto 100}${color FF8080}Waiting ...
${goto 100}${color E4E4E4}New Song\
${endif}\
${image $HOME/.conky/Parole/parole-art.jpg -p 0,0 -s 80x80}

Looks like this:

parole.png

parole2.png

Last edited by marens (2024-04-28 12:52:21)


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

Offline

#2055 2024-05-03 16:34:38

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

We've already seen that the trans command can be useful for conky.
https://forums.bunsenlabs.org/viewtopic … 64#p134264

Here is another example.

Radiotray-NG always works for me and I played around a bit with the terminal.
This command gives the name of the song:

$ pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}' | awk -F' - ' '{print $2}'
It's Too Late

With trans command:

French

$ pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}' | awk -F' - ' '{print $2}' | trans -brief :fr
C'est trop tard

German

$ pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}' | awk -F' - ' '{print $2}' | trans -brief :de
Es ist zu spät

It can be easily implemented in conky.

EDIT

Replaced command:

trans --brief

with:

trans -brief

Last edited by marens (2024-05-05 20:03:59)


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

Offline

#2056 2024-05-05 08:55:19

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello guys

I need your help, I have a syntax error but I can't find it

conky.config = {
background = true,  
	use_xft = true,
	font = 'Helvetica LT Std:size=8',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = false,  
        own_window_argb_visual = true,
        own_window_argb_value = 0,     -- 0 transparent 255 plein  
	own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,',
	double_buffer = true,
	minimum_width = 1210, minimum_height = 140,
        maximum_width = 1210,
	text_buffer_size = 2048,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'white',
	default_outline_color = 'white',
	alignment = 'top_middle',
	gap_x = 00,
	gap_y = 50,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,
        imlib_cache_flush_interval = 60,
	imlib_cache_size = 10000,
	stippled_borders = 5,
        default_shade_color = '#333333',
	default_outline_color = 'black',

lua_load = '~/conky-openmeteo/Suisse/configs/loader.lua',
 lua_draw_hook_pre = 'loader_lua',



color1 = 'F5B800',
color2 = '00f5ff',
color3 = '828200',
color4 = '323200',
color5 = 'fdb72e',
color7 = '6495ee',
color9 = 'red',
	};

conky.text = [[
${execi 1800 bash $HOME/conky-openmeteo/Suisse/suisse.sh}
${lua conky_draw_bg  10  0 20  1200 80 0x000000 0.3}
${goto 180}${voffset -6}${font font Helvetica LT Std:size=30}${if_match ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}<15}${color 6495ee}${blink ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}°}${else}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.tmp'}°${endif}$color$font
${voffset -36}${goto 320} Humidité        ${alignr 690}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.humidity'} % 
              ${goto 320} Pression        ${alignr 690}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.pressure'} mb
              ${goto 320} Vent            ${alignr 690}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.wnd_dir'} @ ${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.wnd_spd'} km/h
              ${goto 320}Aujourd'hui St : ${alignr 690}${texeci 1000 wget -O - -q  http://fetedujour.fr/  --user-agent="Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0" | grep h2 | head -1 | cut -d">" -f2 | cut -d"<" -f1 | cut -d":" -f2 }
${goto 10}Folpersviller: ${font Helvetica LT Std:size=8}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.current_condition.condition'}
${voffset -68}${goto 990}${time %A}${font Helvetica LT Std:size=22}
${voffset -20}${goto 1000}${time %d}$font
              ${goto 990}${time %B %Y}${font Helvetica LT Std:size=8}
${voffset -50}
${goto 570}${execi 3600 echo `date --date="0 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="0 day" | awk '{print $2}'`}\
${goto 650}${execi 3600 echo `date --date="1 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="1 day" | awk '{print $2}'`}\
${goto 730}${execi 3600 echo `date --date="2 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="2 day" | awk '{print $2}'`}\
${goto 810}${execi 3600 echo `date --date="3 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="3 day" | awk '{print $2}'`}\
${goto 890}${execi 3600 echo `date --date="4 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="4 day" | awk '{print $2}'`}
${voffset 1}
${goto 570}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.tmin'}°\
${goto 650}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_1.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_1.tmin'}°\
${goto 730}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_2.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_2.tmin'}°\
${goto 810}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_3.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_3.tmin'}°\
${goto 890}${color red}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_4.tmax'}°${color white}/${color 6495ee}${execi 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_4.tmin'}°$color${voffset 46}
${lua fDrawImage $HOME/.conky/time/clock.png 1100 30 60 60}
${lua fDrawImage $HOME/.conky/time/separator-v.png 540 030 002 64}
${lua fDrawImage $HOME/.conky/time/separator-v.png 950 030 002 64}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/now.png 0 00 110 80}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d0.png  540 0 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d1.png  620 0 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d2.png  700 0 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d3.png  780 0 86 54}
${lua fDrawImage $HOME/conky-openmeteo/Suisse/d4.png  860 0 86 54}
${voffset -1000}
]];

konsole

loutch@RogStrix:~$ conky -c ~/.conky/time/conkyrc
conky: desktop window (e00044) is subwindow of root window (19d)
conky: window type - normal
conky: drawing to created window (0x6600002)
conky: drawing to double buffer
conky: forked to background, pid is 25036
loutch@RogStrix:~$ 
Redirection de la sortie vers ‘wget-log.1’.
(standard_in) 1: syntax error

Capture-d-cran-2024-05-05-10-54-35.png

tanks for looking.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2057 2024-05-05 12:43:06

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: Show us your conky

Try with -D debug:   
conky -D -c ~/.conky/time/conkyrc

I can't test this missing directory content
~/conky-openmeteo/Suisse/configs/
drew with no data only


...Welcome to the family...

Offline

#2058 2024-05-05 12:59:04

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

loutch wrote:

I need your help, I have a syntax error but I can't find it

own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,',

Comma (",") may not be needed after skip_pager.

own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

I have a similar conky (7 day forecast) and I made a keyboard shortcut Ctrl+Alt+7  to enable/disable.


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

Offline

#2059 2024-05-05 13:17:04

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Re

many tanks it work great , no error.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2060 2024-05-05 16:37:38

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

^ Yes.
Usually you get a syntax error  due to a typo.

It happens to everyone.

I also made a similar mistake with the trans command, but everything works as it should.
I have edited my above post about Radiotray-NG.
https://forums.bunsenlabs.org/viewtopic … 01#p134301

$ man trans
  ...
       -b, -brief
              Brief mode.
  ...            

It is necessary to replace:

trans --brief

with:

trans -brief

or (shorter):

trans -b

Last edited by marens (2024-05-05 22:36:40)


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

Offline

Board footer

Powered by FluxBB