Change to lua
This commit is contained in:
parent
ebbfaa23a9
commit
2c4416695e
1 changed files with 46 additions and 60 deletions
|
@ -1,49 +1,49 @@
|
||||||
# For ideas about how to modify the conky conf, please see:
|
--##############################################
|
||||||
# https://github.com/Toory/Conky-config
|
--# Settings
|
||||||
#
|
--##############################################
|
||||||
##############################################
|
conky.config = {
|
||||||
# Settings
|
alignment = top_right,
|
||||||
##############################################
|
--background = true,
|
||||||
alignment top_right
|
border_width = 1,
|
||||||
#background yes
|
color0 = '0077FF',
|
||||||
border_width 1
|
color1 = '991F00',
|
||||||
color0 0077FF
|
color2 = '0000FF',
|
||||||
color1 991F00
|
color3 = 'eb91df',
|
||||||
color2 0000FF
|
color4 = 'f2c55a',
|
||||||
color3 eb91df
|
color5 = 'a7f0e3',
|
||||||
color4 f2c55a
|
cpu_avg_samples = 2,
|
||||||
color5 a7f0e3
|
default_color = white,
|
||||||
cpu_avg_samples 2
|
default_outline_color = green,
|
||||||
default_color white
|
default_shade_color = red,
|
||||||
default_outline_color green
|
double_buffer = true,
|
||||||
default_shade_color red
|
draw_borders = false,
|
||||||
double_buffer yes
|
draw_graph_borders = true,
|
||||||
draw_borders no
|
draw_outline = false,
|
||||||
draw_graph_borders yes
|
draw_shades = false,
|
||||||
draw_outline no
|
gap_x = 3515,
|
||||||
draw_shades no
|
gap_y = 0,
|
||||||
gap_x -1920
|
minimum_width = 325,
|
||||||
gap_y 0
|
maximum_width = 325,
|
||||||
maximum_width 325
|
minimum_height = 1080,
|
||||||
minimum_height 1080
|
no_buffers = true,
|
||||||
no_buffers yes
|
override_utf8_locale = true,
|
||||||
override_utf8_locale yes
|
own_window = true,
|
||||||
own_window yes
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
||||||
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
--own_window_transparent = true,
|
||||||
#own_window_transparent yes
|
own_window_argb_visual = true,
|
||||||
own_window_argb_visual yes
|
own_window_argb_value = 100,
|
||||||
own_window_argb_value 100
|
own_window_type = 'normal',
|
||||||
own_window_type 'normal'
|
--own_window_color = 000000
|
||||||
#own_window_color 000000
|
total_run_times = 0,
|
||||||
total_run_times 0
|
update_interval = 1,
|
||||||
update_interval 1
|
uppercase = false,
|
||||||
uppercase no
|
use_spacer = right,
|
||||||
use_spacer right
|
use_xft = true,
|
||||||
use_xft yes
|
xftalpha = 0.8,
|
||||||
xftalpha 0.8
|
font = 'Bitstream Vera Sans Mono:size=8',
|
||||||
xftfont Bitstream Vera Sans Mono:size=8
|
}
|
||||||
|
|
||||||
TEXT
|
conky.text = [[
|
||||||
##############################################
|
##############################################
|
||||||
#DATE
|
#DATE
|
||||||
##############################################
|
##############################################
|
||||||
|
@ -111,14 +111,6 @@ ${fs_bar /media/HDD3/}
|
||||||
${font sans-serif:normal:size=8} /RAGNAS $alignc ${fs_used /media/ragnas/music/} / ${fs_size /media/ragnas/music/} $alignr ${fs_used_perc /media/ragnas/music}%
|
${font sans-serif:normal:size=8} /RAGNAS $alignc ${fs_used /media/ragnas/music/} / ${fs_size /media/ragnas/music/} $alignr ${fs_used_perc /media/ragnas/music}%
|
||||||
${fs_bar /media/ragnas/music/}
|
${fs_bar /media/ragnas/music/}
|
||||||
|
|
||||||
#${voffset 2}${font sans-serif:normal:size=8}| Read of /: ${font}${font Liberation Sans:size=8}$alignr${diskio_read sda}
|
|
||||||
#${font sans-serif:normal:size=8}|----${offset 5}${color3}${diskiograph_read sda 7,000 1793d0 ffffff}${font}${color}
|
|
||||||
#${voffset 0}${font sans-serif:normal:size=8}| Write of /: ${font}${font Liberation Sans:size=8}$alignr${diskio_write sda}
|
|
||||||
#${font sans-serif:normal:size=8}|----${offset 5}${color3}${diskiograph_write sda 7,000 1793d0 ffffff}${font}${color}
|
|
||||||
#${color4}${font sans-serif:normal:size=8} Disk D $alignc ${fs_used /run/media/giux/DISCO D/} / ${fs_size /run/media/giux/DISCO D/} $alignr ${fs_used_perc /run/media/giux/DISCO D/}%
|
|
||||||
#${fs_bar /run/media/giux/DISCO D/}$color
|
|
||||||
#${color5}${font sans-serif:normal:size=8} Disk E $alignc ${fs_used /run/media/giux/DISCO E/} / ${fs_size /run/media/giux/DISCO E/} $alignr ${fs_used_perc /run/media/giux/DISCO E/}%
|
|
||||||
#${fs_bar /run/media/giux/DISCO E/}$color
|
|
||||||
##############################################
|
##############################################
|
||||||
#NETWORK
|
#NETWORK
|
||||||
##############################################
|
##############################################
|
||||||
|
@ -131,13 +123,6 @@ Total: ${totaldown enp0s31f6} $alignr Total: ${totalup enp0s31f6}
|
||||||
${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 25,160 ffcc00 ff0000}
|
${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 25,160 ffcc00 ff0000}
|
||||||
#${color0}${font sans-serif:bold:size=8}GEOIP ${hr 2}$color
|
#${color0}${font sans-serif:bold:size=8}GEOIP ${hr 2}$color
|
||||||
##############################################
|
##############################################
|
||||||
#GEOIP
|
|
||||||
##############################################
|
|
||||||
#${font sans-serif:normal:size=8}Ping: $alignr${execi 450 ping www.google.com -c 1 | grep time= | rev | cut -c -6 | rev}
|
|
||||||
#${font sans-serif:normal:size=8}country $alignr${execi 450 curl ipinfo.io/country}
|
|
||||||
#${font sans-serif:normal:size=8}region $alignr${execi 450 curl ipinfo.io/region}
|
|
||||||
#${font sans-serif:normal:size=8}city $alignr${execi 450 curl ipinfo.io/city}
|
|
||||||
#${font sans-serif:normal:size=8}coords $alignr${execi 450 curl ipinfo.io/loc}
|
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
#MUSIC
|
#MUSIC
|
||||||
|
@ -153,3 +138,4 @@ ${alignc}${exec cmus-remote -Q | grep 'position'| awk '{print strftime("%M:%S",
|
||||||
${else}$alignc Nothing is playing at the moment.
|
${else}$alignc Nothing is playing at the moment.
|
||||||
${endif}
|
${endif}
|
||||||
${color DimGray}${execi 120 fortune -a -n 500 -s | fold -s -w54}$color
|
${color DimGray}${execi 120 fortune -a -n 500 -s | fold -s -w54}$color
|
||||||
|
]]
|
||||||
|
|
Loading…
Reference in a new issue