Skip to content

Instantly share code, notes, and snippets.

@Harpo3
Last active February 16, 2020 23:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harpo3/0eeb4cf14058131d231eb5a5e22b739c to your computer and use it in GitHub Desktop.
Save Harpo3/0eeb4cf14058131d231eb5a5e22b739c to your computer and use it in GitHub Desktop.
Conky_config_399
-- 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-2010 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_right',
background = true,
border_width = 0,
cpu_avg_samples = 2,
default_color = 'grey',
default_outline_color = 'black',
default_shade_color = 'black',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Courier:size=9',
xftalpha = 0.8,
gap_x = -1918,
gap_y = 0,
minimum_height = 5,
minimum_width = 5,
maximum_width = 355,
maximum_height = 850,
net_avg_samples = 2,
no_buffers = true,
text_buffer_size = 4096,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_argb_value = 0,
own_window_argb_visual = false,
own_window_transparent = false,
own_window_type = normal,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager,below',
stippled_borders = 3,
update_interval = 2.5,
double_buffer = true,
uppercase = false,
use_spacer = 'left',
pad_percents = 3,
temperature_unit = 'celsius',
show_graph_scale = false,
show_graph_range = false,
override_utf8_locale = false,
}
conky.text = [[
${font Terminus:size=8:bold}${color 0077ff}Hardware ${color}$hr
${font Terminus:size=7}${color}Uptime:$color $uptime
${color}CPU Usage:$color $cpu% ${color 0077ff}${cpubar 4}
${color}CPU Temp: $color ${hwmon 0 temp 1}C
${color}Case Temp: $color ${hwmon 1 temp 1}C
${color}Case Fan Speed:$color ${hwmon 1 fan 1} RPM
${color}CPU Fan Speed:$color ${hwmon 1 fan 2} RPM
${color}RAM Usage:$color $mem${color 0077ff}/${color}$memmax - $memperc% ${color 0077ff}$membar
${color}Swap Usage:$color $swap${color 0077ff}/${color}$swapmax - $swapperc% ${color 0077ff} $swapbar
${font Terminus:size=8:bold}${color 0077ff}Processes ${color}$hr
${font Terminus:size=7}${color}Number Processes:$color $processes ${color grey}Currently Running:$color $running_processes
${font Terminus:size=7}${color 0077ff}Name PID CPU% MEM%
${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color white} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
$hr
${font Terminus:size=8:bold}${color 0077ff}Local Weather
${color grey}${font Terminus:size=8}${exec cat /home/lpc123/conkyscripts/weather/conkyweather.txt}
$hr
${font Terminus:size=8:bold}${color 0077ff}${exec audtool --current-song-tuple-data artist | fold -s -w 62} - ${color Grey}${font Terminus:size=8}${exec audtool --current-song-tuple-data album | fold -s -w 62} (${exec audtool --current-song-tuple-data year})
${font Terminus:size=8:bold}${color 0077ff}${exec audtool --current-song-tuple-data title | fold -s -w 62}
${color Grey}${font Terminus:size=8}Time: ${exec audtool --current-song-output-length}/${exec audtool --current-song-length} Bitrate:${exec audtool --current-song-bitrate-kbps} Rating:${exec cat /home/lpc123/data/mmdata/bashtmpfiles/currgpnum.txt} Art Size:${exec cat /home/lpc123/data/mmdata/bashtmpfiles/currartsize.txt}
${color Grey}${font Terminus:size=8}Song was last played on: ${exec cat /home/lpc123/data/mmdata/bashtmpfiles/lastplayed.txt}
${color Grey}${font Terminus:size=7}${exec audtool --current-song-tuple-data comment | fold -s -w 69 | head -n 8}
$hr
${font Terminus:size=7:bold}${color 0077ff}Reuters Top News Stories${color}
${font Terminus:size=7}${color grey}${rss http://feeds.reuters.com/reuters/topNews 10 item_titles 8}
$hr
${font Terminus:size=7:bold}${color 0077ff}Financial Markets${color}
${color grey}${font Terminus:size=7}${exec cat /home/lpc123/conkyscripts/stocks/mktreport2.txt}
$hr
${font Terminus:size=8:bold}${color 0077ff}Date & Time ${color}
${color grey}${time %e %B %Y %A %I:%M %p}
$hr
${image /home/lpc123/conkyscripts/audacious/folder.jpg -p 0,375 -s 255x255 -n -f1}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment