new file format

This commit is contained in:
n 2017-05-19 23:25:36 +02:00
parent 7f1c5a01b3
commit 831b9106da

View file

@ -1,113 +1,116 @@
conky.config = {
# GonKyrellM
#
# Conky, GKrellM style - with "invisible" theme (well, sort of)
#
# based on http://sen7.deviantart.com/art/Conky-Mira-100078939
# and https://www.gnome-look.org/content/show.php/Conky+Box?content=81894
-- GonKyrellM
--
-- Conky, GKrellM style - with "invisible" theme (well, sort of)
--
-- based on http://sen7.deviantart.com/art/Conky-Mira-100078939
-- and https://www.gnome-look.org/content/show.php/Conky+Box?content=81894
# Use Xft?
use_xft yes
xftfont cure:size=8
-- Use Xft?
use_xft = true,
font = 'cure:size=8',
background yes
double_buffer yes
background = true,
double_buffer = true,
# Update interval in seconds
update_interval 0.5
-- Update interval in seconds
update_interval = 0.5,
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
total_run_times = 0,
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual no
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_transparent = true,
own_window_type = 'override',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = false,
draw_graph_borders false
#default_bar_size 99 2
draw_graph_borders = false,
--default_bar_size 99 2
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
# Minimum size of text area
#minimum_size 280 5
-- Minimum size of text area
--minimum_size 280 5
maximum_width 97
maximum_width = 97,
# Draw shades?
draw_shades yes
-- Draw shades?
draw_shades = true,
# Draw outlines?
draw_outline no
-- Draw outlines?
draw_outline = false,
# Draw borders around text
draw_borders no
-- Draw borders around text
draw_borders = false,
# Stippled borders?
stippled_borders 0
-- Stippled borders?
stippled_borders = 0,
# border margins
# border_margin 5
-- border margins
-- border_margin 5
# border width
border_width 0
-- border width
border_width = 0,
# Default colors and also border colors
#default_color 303030
#default_color ffffff
#default_shade_color white
#default_outline_color black
#own_window_colour 292C36
-- Default colors and also border colors
--default_color 303030
--default_color ffffff
--default_shade_color white
--default_outline_color black
--own_window_colour 292C36
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
-- Text alignment, other possible values are commented
alignment = 'top_left',
--alignment top_right
--alignment bottom_left
--alignment bottom_right
# Subtract file system buffers from used memory?
no_buffers yes
-- Subtract file system buffers from used memory?
no_buffers = true,
# set to yes if you want all text to be in uppercase
uppercase no
-- set to yes if you want all text to be in uppercase
uppercase = false,
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
-- number of net samples to average
-- set to 1 to disable averaging
net_avg_samples = 2,
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
-- Force UTF8? note that UTF8 support required XFT
override_utf8_locale = true,
# Add spaces to keep things from moving about? This only affects certain objects.
#use_spacer left
-- Add spaces to keep things from moving about? This only affects certain objects.
--use_spacer left
# Useful shortenings #
short_units yes
format_human_readable yes
pad_percents 0
top_name_width 12
-- Useful shortenings #
short_units = true,
format_human_readable = true,
pad_percents = 0,
top_name_width = 12,
# Color scheme
color1 668ABF
color2 FFFFFF
-- Color scheme
color1 = '#668ABF',
color2 = '#FFFFFF',
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 0
-- Gap between borders of screen and text
-- same thing as passing -x at command line
gap_x = 0,
gap_y = 0,
temperature_unit celsius
temperature_unit = 'celsius',
TEXT
};
conky.text = [[
# cpu
${color2}${alignc}${font DotMatrix:size=10}${time %a} ${font DotMatrix:size=11}${time %d} ${font DotMatrix:size=10}${time %b}
${color2}${alignc}${font DotMatrix:size=12}${time %H:%M} ${font DotMatrix:size=10}${time %S}${font}
@ -161,3 +164,4 @@ ${color1}${fs_bar 5,100 /nfs/tmp}
#
${color2}Batt ${alignr}${battery_short}
${color1}${battery_bar 5,100}
]];