Paste #228364 |
pasted on 20.10.2021 14:04
- Edit to this paste
- Raw
- The following pastes replied to this paste: # 274226
- Show paste tree
-
Compare with paste
#
Text paste
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | conky.config = { --test --Default Fonts use_xft = true, font = 'DejaVu Sans:size=8', override_utf8_locale = true, -- Performance Settings update_interval = 1, total_run_times = 0, double_buffer = true, -- no_buffers = true, net_avg_samples = 2, text_buffer_size = 2048, -- if_up_strichness = 'addres', -- Window Settings own_window = true, own_window_transparent = true, own_window_class = 'Conky', -- own_window_type = 'normal', -- own_window_type = 'desktop', own_window_type = 'dock', -- own_window_type = 'panel', -- own_window_type = 'override', -- own_window_type = 'conky', own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', -- own_window_hints = 'undecorate,above,sticky,skip_taskbar,skip_pager', -- own_window_argb_value = 150, -- xcompmgr own_window_argb_visual = true, -- own_window_argb_visual = false, -- Window border border_width = 0, draw_borders = false, draw_shades = false, draw_outline = false, draw_graph_borders = false, -- Default Color default_color = '#E0DFDE', color1 = '#0097E3', --blue color2 = '#E0DFDE', --grey color3 = '#FF5A45', --red color4 = '#E0DFDE', --grey -- Color Title. color0 = '#0097E3', -- Size and position --minimum_size 210 200 minimum_width = 1, gap_x = 2, gap_y = 5, -- alignment = 'top_right', -- alignment = 'top_left', -- alignment = 'middle_right', -- alignment = 'bottom_right', maximum_width = 126, }; conky.text = [[ ${font DejaVu Sans Mono:size=8}${execpi 6000 DJS=`date +%_d`; cal | sed s/"\(^\|[^0-9]\)$DJS"'\b'/'\1${color 0097E3}'"$DJS"'$color'/} #${color2}${font DejaVu Sans Mono:size=8}${execpi 6000 cal |sed '/\(20[0-9][0-9]\)/!s/^.*$/${font DejaVu Sans Mono:size=8}${color4} &/;/\(20[0-9][0-9]\)/!s/.\{8\}$/${color3}&/;s/${color3}'"`date +%_d`"'/${color1}'"`date +%_d`"'${color3}/;/color1/!s/'"`date +%_d`"'$c/${color1}'"`date +%_d`"'$c/;/color1/!s/'"`date +%_d`"'/${color1}'"`date +%_d`"'${color2}/'}${color} ${GOTO 3}${font DejaVu Sans:bold:size=9}System${font}${alignr}${machine} ]]; |