Skip to content

Commit f69ef3d

Browse files
committed
Use 6 digit hex colors for conky 1.18.3
See brndnmtthws/conky#1478
1 parent ecac1fe commit f69ef3d

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

conkyrc.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ conkyrc.config = {
5151
own_window_argb_visual = true,
5252
own_window_argb_value = 180,
5353
default_color = 'fafafa',
54-
color0 = '377', -- titles
55-
color1 = 'b9b9b7', -- secondary text color
54+
color0 = '337777', -- titles
55+
color1 = 'b9b9b7', -- secondary text color
56+
color2 = 'bb5544', -- high temperature warning color
5657

5758
-----------------
5859
--- templates ---
@@ -76,7 +77,7 @@ ${if_mounted \2}
7677
${template9}${offset 1}${font Ubuntu:pixelsize=11:bold}${color0}· \1 ·
7778
${voffset 8}#
7879
${template9}${color1}${font Ubuntu:pixelsize=10}${fs_used \2} / ${fs_size \2}#
79-
${if_match ${fs_used_perc \2}>=85}${color b54}$else$color$endif#
80+
${if_match ${fs_used_perc \2}>=85}${color2}$else$color$endif#
8081
${template8}${fs_used_perc \2}%$font$color
8182
$endif]],
8283

@@ -92,7 +93,7 @@ $endif]],
9293

9394
conkyrc.text = [[
9495
${voffset 30}#
95-
${font TeXGyreChorus:pixelsize=20:bold}${alignc}Linux ${color 4dd}Mint$color$font
96+
${font TeXGyreChorus:pixelsize=20:bold}${alignc}Linux ${color 44dddd}Mint$color$font
9697
9798
$color1#
9899
${alignc}${time %d.%m.%Y}
@@ -124,7 +125,7 @@ ${template3 3}
124125
### GPU ###
125126
${template1 gpu} ${nvidia gpufreq} MHz#
126127
${template8}#
127-
${if_match 75 <= ${nvidia temp}}${color b54}${font Ubuntu:pixelsize=10:bold}$endif#
128+
${if_match 75 <= ${nvidia temp}}${color2}${font Ubuntu:pixelsize=10:bold}$endif#
128129
${nvidia temp}°C$color
129130
${voffset 78}
130131

examples/columns.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ conkyrc.config = {
5858
own_window_argb_visual = true,
5959
own_window_argb_value = 180,
6060
default_color = 'fafafa',
61-
color0 = '488', -- titles
62-
color1 = 'b9b9b7', -- secondary text color
61+
color0 = '448888', -- titles
62+
color1 = 'b9b9b7', -- secondary text color
6363

6464

6565
-- drives: name dir --
@@ -79,10 +79,10 @@ $endif]],
7979
conkyrc.text = [[
8080
${voffset 10}#
8181
${alignc 312}${font TeXGyreChorus:pixelsize=20:bold}#
82-
${color fff}P${color dff}o${color bee}l${color 9ee}y#
83-
${color 7ee}c${color 5ee}o${color 4ee}r${color 3ee}e#
82+
${color ffffff}P${color ddffff}o${color bbeeee}l${color 99eeee}y#
83+
${color 77eeee}c${color 55eeee}o${color 44eeee}r${color 33eeee}e#
8484
$color$font
85-
#${alignc 320}${font Courier new:pixelsize=20}${color cff}Polycore${color}$font
85+
#${alignc 320}${font Courier new:pixelsize=20}${color ccffff}Polycore${color}$font
8686
${font Ubuntu:pixelsize=11:bold}${color0}#
8787
${voffset -14}${alignc 247}[ mem ]
8888
${voffset -14}${alignc 160}[ cpu ]

test/test_layout.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ conkyrc.config = {
1313
lua_load = script_dir .. "test_layout.lua",
1414
lua_draw_hook_post = "conky_update",
1515
total_run_times = 1,
16-
out_to_console = false,
16+
out_to_console = true, -- https://github.com/brndnmtthws/conky/issues/1479
1717
out_to_x = false,
1818
}
1919

0 commit comments

Comments
 (0)