Skip to content

Instantly share code, notes, and snippets.

@lowercasename
Created November 22, 2020 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lowercasename/3addb23bc61e5b3a4778d8c3c6ee7b67 to your computer and use it in GitHub Desktop.
Save lowercasename/3addb23bc61e5b3a4778d8c3c6ee7b67 to your computer and use it in GitHub Desktop.
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_left',
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'Iosevka:size=12',
gap_x = 30,
gap_y = 30,
minimum_height = 5,
minimum_width = 400,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_hints = 'below',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 128,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 10.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${font Iosevka:size=14}${execp ~/bin/greet.sh}${font}
${color 6b61b6}${hr 2}${color}
${font Iosevka:style:bold}London ${font} ${time %H:%M} ${color grey}${execpi 600 ~/bin/weather.py -l London -c}$color
${font Iosevka:style:bold}Canberra ${font} ${tztime Australia/Canberra %H:%M} ${color grey}${execpi 600 ~/bin/weather.py -l Canberra -c}$color
${font Iosevka:style:bold}Moon ${font} ${execpi 600 ~/bin/moonphase.py}
${color 6b61b6}${hr 2}${color}
${execp ~/bin/t-conky.py}
${color 6b61b6}${hr 2}${color}
${color grey}Up$color $uptime_short ${color grey}CPU$color ${execi 60 sensors | grep temp1 | cut -c 16-19}°C ${color grey}GPU$color ${execi 60 sensors | grep Tdie: | cut -c 16-19}°C
${color grey}RAM$color $memperc%${goto 75}${voffset 2}${color 8c84c6}${membar 8}$color
${color grey}CPU$color $cpu%${goto 75}${voffset 2}${color 8c84c6}${cpubar 8}$color
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment