Skip to content

Instantly share code, notes, and snippets.

View rdschmidt's full-sized avatar

Bleys rdschmidt

  • Retired
  • Essen, Germany
  • 05:36 (UTC -12:00)
View GitHub Profile
@rdschmidt
rdschmidt / conkyrc
Last active February 11, 2024 10:14
Wetter Conky
--[[
lua_load Pfad anpassen an die eigenen Pfade
Adapt lua_load path to your own paths
]]
conky.config = {
-- — Conky settings
background = false,
update_interval = 1,
total_run_times = 0,
@rdschmidt
rdschmidt / conkyrc
Created November 3, 2023 21:29
Conky vertical 11.23
conky.config = {
-- — Conky settings
background = true,
update_interval = 1,
total_run_times = 0,
net_avg_samples = 2,
cpu_avg_samples = 1,
no_buffers = true,
imlib_cache_size = 0,
@rdschmidt
rdschmidt / net.lua
Created August 14, 2023 10:51
Network Chart
require 'cairo'
function rgb_to_rgba(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function add_network_traffic(iface, up, down, nzeiger)
nzeiger=nzeiger+1
if nzeiger == samples + 1 then nzeiger = 0 end
up[nzeiger] =tonumber(conky_parse(string.format('${%s %s}', 'upspeedf' , iface)))
@rdschmidt
rdschmidt / conkyrc
Last active July 20, 2023 15:40
concyrc and Lua Script Horizontal Conky Juli 23
conky.config = {
-- — Conky settings
background = true,
update_interval = 1,
total_run_times = 0,
net_avg_samples = 2,
cpu_avg_samples = 1,
no_buffers = true,
imlib_cache_size = 0,
@rdschmidt
rdschmidt / conkyrc
Created March 5, 2023 18:50
Horizontal Conky complete LUA
conky.config = {
-- — Conky settings
background = true,
update_interval = 1,
total_run_times = 0,
net_avg_samples = 2,
cpu_avg_samples = 1,
no_buffers = true,
imlib_cache_size = 0,
@rdschmidt
rdschmidt / conkyrc
Last active July 13, 2023 19:16
Minimal LUA zum Aufruf aus der conkyrc
conky.config = {
-- — Conky settings
background = false,
update_interval = 1,
total_run_times = 0,
no_buffers = true,
draw_graph_borders = true,
draw_outline = false,
@rdschmidt
rdschmidt / conkyrc
Last active February 22, 2024 09:54
Now Playing Conky, written in LUA
--[[
2024 Bleys
All scripts in the same directory!
Start the player via the player.sh script
]]
conky.config = {
-- — Conky settings
background = false,
@rdschmidt
rdschmidt / calendar.lua
Last active February 26, 2023 00:46
Conky LUA Calendar
--[[
2023 Bleys
Screenshot ist im ersten Kommentar.
Änderungen des Font (Ubuntu Mono) und/oder der Schriftgröße erfordern auch eine Anpassung der Berechnung der Hintergrund Berechnung!
Das sollte man nur machen wenn man weis was man tut...
Screenshot in first Comment
Changing the font (Ubuntu Mono) and font size also requires an adjustment of the background calculation for the current day!
Only change if you know what you are doing!
@rdschmidt
rdschmidt / conkyrc
Last active February 20, 2023 06:58
Conky Laustärke anzeigen
conky.config = {
-- — Conky settings
background = false,
update_interval = 1,
total_run_times = 0,
net_avg_samples = 2,
cpu_avg_samples = 1,
no_buffers = true,
imlib_cache_size = 0,
@rdschmidt
rdschmidt / conkyrc2
Last active January 26, 2023 16:01
conkyrc for vertical Conky
conky.config = {
-- — Conky settings
background = false,
update_interval = 1,
total_run_times = 0,
net_avg_samples = 2,
cpu_avg_samples = 1,
no_buffers = true,
imlib_cache_size = 0,