You are not logged in.
Hello El Conkystador,
Hello, my good friend Sector11,
I'm playing with Conky and lithium. I have the ingenious script of mobilediesel and your configuration in use
This is the result so far:
Unfortunately I can't find in the script where you can change the color of today's day 21. Do you have a tip for me?
conky.config = {
-- To use #! in a conky use: ${exec echo '#!'}
-- by Sector11 - 14 Aug 2011
-- killall conky && conky -c ~/Conky/S11_Cal_br.conky &
background = true,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
own_window_title = 'S11-Cal-br',
own_window_class = 'S11-Cal-br',
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
own_window_argb_visual = true,
--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value = 140,
double_buffer = true,
use_spacer = 'right',
uppercase = false,
stippled_borders = 0,
border_width = 0,
default_outline_color = '000000',
default_shade_color = '000000',
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
border_inner_margin = 5,
border_outer_margin = 0,
default_color = 'DCDCDC',--220 220 220 Gainsboro
color0 = '8FBC8F',--143 188 143 DarkSeaGreen
color1 = '778899',--119 136 153 LightSlateGray
color2 = 'FF8C00',--255 140 0 DarkOrange
color3 = '7FFF00',--127 255 0 Chartreuse
color4 = 'FFA07A',--255 160 122 LightSalmon
color5 = 'FFDEAD',--255 222 173 NavajoWhite
color6 = '00BFFF',-- 0 191 255 DeepSkyBlue
color7 = '00FFFF',-- 0 255 255 Cyan
color8 = 'FFFF00',--255 255 0 Yellow
color9 = 'ed2323',--bunsen-red B22222',--178 34 34 FireBrick
text_buffer_size = 510,-- 256 is minimum
no_buffers = true,
short_units = true,
pad_percents = 2,
imlib_cache_size = 0,
gap_x = 20,--# left &right
gap_y = 55,--# up & down
minimum_width = 280, minimum_height = 0,--# width, height
maximum_width = 280,--# make this equal to minimum size width
alignment = 'bottom_right', --left',
use_xft = true,
font = 'Droid Sans Mono:bold:size=7',
--xftfont Santana:bold:size=8
--xftfont WenQuanYi Macro Hei Mono:bold:size=8
--xftfont WenQuanYi Zen Hei Mono:bold:size=8
xftalpha = 1.0,
override_utf8_locale = true,
--LUA Settings ###########################################################
--lua_load ~/Conky/LUA/draw-bg.lua
--${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
-- ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
--lua_load ~/LUA/draw-bg.lua
--lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.4
--###################################################### End LUA Settings ###
update_interval = 4,--3200 ## 12 hours
};
conky.text = [[
${voffset 5}${image /home/unklar/Logos/BL-Orb-Flame.png -p 0,0 -s 40x40}${voffset -10}\
${goto 50}${color9}${font Birdman:size=14}bunsenlabs lithium${color}${font}\
${voffset 3}${goto 60}${execp /home/unklar/S11_and_mobildiesel/week_2.sh}\
${voffset -5}${goto 5}${font Birdman:size=25}${color9}${time %a}${goto 190}${time %b}${color}${font}\
${font digitalk:bold:size=12}${goto 65}${color9}${time %C}${goto 165}${time %y}${color}${font}${voffset -10}
]];
#!/bin/bash
# by: mobilediesel
font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color 00FFFF}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
color=("" "" "" "\${color}" "" "" "")
for i in $(seq -3 3); do
echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
done
Last edited by unklar (2020-08-21 13:43:29)
Offline
Hi unklar
- the first "colour" command in the script controls the colour for "today"
- I use ${color FFDEAD} = NavajoWhite
- yours looks like you want ${color BA2729} there.
- the second place controls the 3 days before and after today.
- - mine is set to use "default color" = ${color}
#!/bin/bash
# By: mobilediesel
# week_2.shfont=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color FFDEAD}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
color=("" "" "" "\${color}" "" "" "")for i in $(seq -3 3); do
echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
done
Mine changed to the colour you want: BA2729 vs 00FFFF
font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color BA2729}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
Last edited by Sector11 (2020-08-21 17:22:56)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Offline
- the first "colour" command in the script controls the colour for "today"
Oh man, I really didn't see that, and it's starting to jump out at me!
Glad you helped me again.
I had tomatoes on my eyes.
Thank you very much (and, that you served me first).
"The funny thing" is a really cool composition, in the usual quality. I like it very much - and, the weather in Greece... [duck and run]
Offline
Unklar - sometimes we look so hard for something we fail to see the obvious.
Ask me - I know from experience it usually ends with a :8 and or, in my case:
"I knew that, I just forgot I knew that!"
ΚΑΙΡΟΣ | WETTER is to honour my two friends.
I know it's "Weather"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Unklar - sometimes we look so hard for something we fail to see the obvious.
^Exactly, instead of reading over the lines 7 times like a blind man, I could have just used Linux/Mousepad and the search function. But, no, why simple when it's complicated
In any case, "I have finished", as Giovanni Trapattoni said at the time about Bayern Munich.
Offline
WOW! That looks good! Well done!
You're not finished you'll do another one.
Conky that is.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
In any case, "I have finished", as Giovanni Trapattoni said at the time about Bayern Munich.
![]()
So that's where that comes from - and how long it's been around already!
Your english translation is grammatically correct. How about "I has finished" or a Yoda-like "Finished I have"?
BTW, your weather conky has style!
I'm still looking for a good way to (automatically) adapt a few key colors to the current GTK theme...
Offline
WOW! That looks good! Well done!
You're not finished you'll do another one.
Conky that is.
Thanks, my friend.
This is all thanks to you! O:)
Did I ever tell you that I followed you and Conky across the planet in one of my life crises?
Last edited by unklar (2020-08-23 13:17:15)
Offline
unklar wrote:In any case, "I have finished", as Giovanni Trapattoni said at the time about Bayern Munich.
![]()
So that's where that comes from - and how long it's been around already!
Your english translation is grammatically correct. How about "I has finished" or a Yoda-like "Finished I have"?
^^No.
I phrased it wrong.
Trapattoni literally said, "Ich habe fertig" ("I have finished")
In Germany, Giovanni Trapattoni's main connection with the game is a press conference held on 10 March 1998, two days after a 1-0 defeat by FC Schalke 04. As FC Bayern Munich coach, he criticised - grammatically incorrect but extremely emotional - the performance of some players, in particular Mehmet Scholls and Mario Baslers, as well as the frequent absence of Thomas Strunz due to injury. The sentence constructions that emerged in the heated, three-and-a-half minute speech[8][9] ("What do Strunz allow", "... were' weak as a bottle empty" and "I have finished") found their way into German usage; in particular the final sentence "I have finished" became a winged word.[10]
https://www.youtube.com/watch?v=yU5bqG9Fx8g
BTW, your weather conky has style!
Thanks! My wife got me into the habit.
I'm still looking for a good way to (automatically) adapt a few key colors to the current GTK theme...
I know even less about that
Offline
Sector11 wrote:WOW! That looks good! Well done!
You're not finished you'll do another one.
Conky that is.Thanks, my friend.
This is all thanks to you! O:)
Did I ever tell you that I followed you and Conky across the planet in one of my life crises?![]()
Yes we talk about it in PMs . I am very glad we met.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
HI manuel. NICE conkys ... Is that Rivendell?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
yes my friend the lord of the rings......
Offline
Thought I recognized it.
I'm a fan
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^^No.
I phrased it wrong.![]()
![]()
Trapattoni literally said, "Ich habe fertig" ("I have finished")
I know. Heard it said many times with a fake italian accent.
I said that your english translation should also be grammatically wrong, but it isn't!
Offline
Just wanted to say thank you for this code. Works really nice. I added a couple of filesystem types and changed the output a bit from the original. It lines up fairly well.
#!/bin/dash
## Use df -h --output to find the filesystem types.
df -h -t ext4 -t vfat -t exfat -t xfs -t fuseblk -t ntfs -t udf -t fuse.sshfs --output=source,pcent,avail | grep -v "boot"
Offline
Dark, cold, wet, windy day ... needed something to do.
Took my clock:
Made a background from another image:
It's not semi-transparent, but because I am using it with:
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 00
It looks like it is and changes as the background changes:
Complete code (v1.9)
## pkill -xf "conky -c /media/5/Conky/time.conky" &
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints skip_taskbar,skip_pager,below,undecorated
own_window_class Conky
own_window_title Sector11's Time Conky
own_window_argb_visual yes
own_window_argb_value 00
gap_x 00 ## ← →
gap_y 00 ## ↑ ↓
minimum_size 346 121
maximum_width 346
alignment tm
# Borders Section
draw_borders no
stippled_borders 5
border_inner_margin 0
border_outer_margin 0
border_width 2
#draw_graph_borders yes
# End Borders Section
override_utf8_locale yes
use_xft yes
xftfont LED_mono:size=60
xftalpha 1.0
draw_shades yes
default_shade_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
background no
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes
update_interval 1
TEXT
${image /media/5/Conky/images/c-346.png}\
${voffset 19}${goto 11}${color 000000}${swapbar 0,320}${color}\
${voffset 1}${goto 13}${color ffffff}88:88:88${goto 13}${color 778899}${time %T}${color5}
Now to revert it back to my clock:
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 60
...
...
update_interval 1
TEXT
${goto 13}${color1}88:88:88${goto 13}${color2}${time %T}${color5}
Be Safe people.
Wearing a mask isn't about your rights!
It's about your intelligence.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^^WOW, that's cool!
Here in conkyVersion1.10
digitalrc10
conky.config = {
--# pkill -xf "conky -c /media/5/Conky/time.conky" &
own_window = true,
own_window_type = 'normal',
own_window_transparent = false,
own_window_hints = 'skip_taskbar,skip_pager,below,undecorated',
own_window_class = 'Conky',
own_window_title = 'Sector11s Time Conky',
own_window_argb_visual = true,
own_window_argb_value = 00,
gap_x = 00,--# ← →
gap_y = 10,--# ↑ ↓
minimum_width = 346, minimum_height = 121,
maximum_width = 346,
alignment = 'top_middle',
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 0,
border_outer_margin = 0,
border_width = 2,
--draw_graph_borders yes
-- End Borders Section
override_utf8_locale = true,
use_xft = true,
font = 'LED_mono:size=60',
xftalpha = 1.0,
draw_shades = true,
default_shade_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
background = false,
use_spacer = 'none',
no_buffers = true,
imlib_cache_size = 0,
double_buffer = true,
update_interval = 1,
};
conky.text = [[
${image $HOME/S11/images/c-346.png}\
${voffset 19}${goto 11}${color 000000}${swapbar 0,320}${color}\
${voffset 1}${goto 13}${color ffffff}88:88:88${goto 13}${color 778899}${time %T}${color5}
]];
Many thanks to you!
Offline
^^WOW, that's cool!
Here in conkyVersion1.10![]()
![]()
Many thanks to you!
Glad you liked it.
Did not expect anyone to even respond it's such a simple thing.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline