...für die Freunde des Conky.
conkyrc-- pkill -xf "conky -c /home/unklar/.conky/rumit/rumit_conky10" &
-- @unklar 2020-04-01
conky.config = {
background = true,
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
temperature_unit = 'celsius',
double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,
gap_x = 10,
gap_y = 10,
minimum_width = 240, minimum_height = 650,
maximum_width = 240,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',--sticky,
--own_window_colour 000000
own_window_argb_visual = true,
--own_window_argb_value = 200,
own_window_class = 'Conky',
--own_window_title = 'Grey Clock',
border_inner_margin = 0,
border_outer_margin = 0,
alignment = 'top_right',--tl
draw_shades = false,
-- default_shade_color = '000000',
draw_outline = false,
-- default_outline_color = '000000',
draw_borders = false,
draw_graph_borders = true, --false,
override_utf8_locale = true,
use_xft = true,
font = 'CaviarDreams:size=8',
xftalpha = 0.5,
uppercase = false,
default_color = 'ffffff',
color1 = 'ed2323',
--- LUA ---
-- lua_load = '~/.conky/rumit/scripts/clock_rings.lua',
-- lua_draw_hook_pre = 'clock_rings',
-- lua_load = '~/.conky/rumit/scripts/lua/conky_white_big.lua',
-- lua_draw_hook_post = 'main',
lua_load = '~/.conky/rumit/scripts/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg 15 0 0 0 0 0x000000 0.45',
};
conky.text = [[
${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f}
${voffset -15}${goto 20}${color6}${font conkyweather:size=40}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/curr_cond}${font monofur:size=25}${goto 150}${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°
${voffset -13}${goto 16}${color5}${font monofur:size=9}CURRENTLY: ${color6}${alignc}${texeci 600 sed -n '4p' $HOME/Accuweather_conky_script/curr_cond}
${goto 16}${color5}WIND: ${color6}${alignc}${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond} ${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}${goto 170}${voffset -10}${font ConkyWindNESW:size=30}${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/curr_cond}
${voffset -33}${goto 16}${color5}${font monofur:size=9}PRESSURE: ${color6}${alignc}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
${voffset 7}${goto 25}${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}${goto 170}${texeci 600 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}
${goto 30}${font conkyweather:size=20}${texeci 600 sed -n '107p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600 sed -n '108p' $HOME/Accuweather_conky_script/daily_forecast}${goto 170}${texeci 600 sed -n '109p' $HOME/Accuweather_conky_script/daily_forecast}
${voffset -15}${goto 45}${font monofur:size=9}${texeci 600 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}${goto 120}${texeci 600 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}${goto 190}${texeci 600 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}
${goto 20}${color5}${font monofur:size=10}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 100}${color6}${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 180}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}
${color1}${swapbar 0,210}${color}
${font Fira Mono:size=9}
${goto 16}Boot: ${alignr 15}${execi 86400 who -b | cut -c23-}
${goto 16}Ram: ${alignr 15}${mem} | ${memmax}
${goto 16}System: ${alignr 15}${cpu cpu1} | ${cpu cpu2} | ${cpu cpu3} | ${cpu cpu4}
${goto 16}Radeon: ${alignr 15}${hwmon 2 temp 1}° | HDD ${execi 600 /usr/sbin/hddtemp -n /dev/sdb}°
${goto 16}Load: ${alignr 15}${loadavg}
${voffset -8}
${alignc} ${execi 86400 cat `ls -atr /etc/*-release | tail -1` | grep "PRETTY_NAME" | cut -d= -f2}
${alignc} ${kernel} ${machine}
${voffset -8}
${alignc}speed ↓ ${downspeedf enp2s0}
${alignc}speed ↑ ${upspeedf enp2s0}${font monofur:size=9}${color}
${voffset -8}
${goto 10} Exchange rate: ${alignr 15}£ ${execi 1200 curl gbp.rate.sx/1eur?TFq -s | cut -c1-7} € ${execi 1200 curl eur.rate.sx/1gbp?TFq -s | cut -c1-7}
${alignc}${font monofur:size=10}S H O R T C U T K E Y S
${color1}${swapbar 0,210}${color}
${goto 16}Alt + F2${alignr 15}Run Dialog
${goto 16}Alt + F3${alignr 15}Alt Menu
${goto 16}Super${alignr 15}Main Menu
${goto 16}PrtSc${alignr 15}Screenshot${font}
${goto 5}${color}${font Hack:pixelsize=9}${execi 3 audtool current-song-tuple-data artist}
${goto 5}${font Hack:pixelsize=11}${execi 3 audtool current-song-tuple-data title}${execi 3 audtool current-song-tuple-data title > ~/.conky/audacious/artiste_titre.txt}
${goto 5}${font Hack:pixelsize=9}${execi 3 audtool current-song-tuple-data album}${color}
#${goto 5}${execi 1 audtool current-song-output-length} ${execi 1 audtool current-song-length}${color}
${alignc}${font Hack:pixelsize=12}updates: ${if_match ${execi 600 aptitude search "~U" | wc -l | tail}==0}${execi 600 aptitude search "~U" | wc -l | tail}${color}${else}${color red}${blink ${execi 600 aptitude search "~U" | wc -l | tail} updates}${font}${color}${endif}
]];
draw_bg.lua--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=15
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000
bg_alpha=0.45
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
Das
Accuweather ist hier zu beziehen.
Leider ist das Cover des gespielten Radiostreams seit längerer Zeit bei der "Tante" gestört und wir haben keine Lösung für das Problem gefunden.
Ansonsten ist das "neue" Plasma eine Show.