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
|
||||
##############################################
|
||||
alignment top_right
|
||||
#background yes
|
||||
border_width 1
|
||||
color0 0077FF
|
||||
color1 991F00
|
||||
color2 0000FF
|
||||
color3 eb91df
|
||||
color4 f2c55a
|
||||
color5 a7f0e3
|
||||
cpu_avg_samples 2
|
||||
default_color white
|
||||
default_outline_color green
|
||||
default_shade_color red
|
||||
double_buffer yes
|
||||
draw_borders no
|
||||
draw_graph_borders yes
|
||||
draw_outline no
|
||||
draw_shades no
|
||||
gap_x -1920
|
||||
gap_y 0
|
||||
maximum_width 325
|
||||
minimum_height 1080
|
||||
no_buffers yes
|
||||
override_utf8_locale yes
|
||||
own_window yes
|
||||
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
||||
#own_window_transparent yes
|
||||
own_window_argb_visual yes
|
||||
own_window_argb_value 100
|
||||
own_window_type 'normal'
|
||||
#own_window_color 000000
|
||||
total_run_times 0
|
||||
update_interval 1
|
||||
uppercase no
|
||||
use_spacer right
|
||||
use_xft yes
|
||||
xftalpha 0.8
|
||||
xftfont Bitstream Vera Sans Mono:size=8
|
||||
--##############################################
|
||||
--# Settings
|
||||
--##############################################
|
||||
conky.config = {
|
||||
alignment = top_right,
|
||||
--background = true,
|
||||
border_width = 1,
|
||||
color0 = '0077FF',
|
||||
color1 = '991F00',
|
||||
color2 = '0000FF',
|
||||
color3 = 'eb91df',
|
||||
color4 = 'f2c55a',
|
||||
color5 = 'a7f0e3',
|
||||
cpu_avg_samples = 2,
|
||||
default_color = white,
|
||||
default_outline_color = green,
|
||||
default_shade_color = red,
|
||||
double_buffer = true,
|
||||
draw_borders = false,
|
||||
draw_graph_borders = true,
|
||||
draw_outline = false,
|
||||
draw_shades = false,
|
||||
gap_x = 3515,
|
||||
gap_y = 0,
|
||||
minimum_width = 325,
|
||||
maximum_width = 325,
|
||||
minimum_height = 1080,
|
||||
no_buffers = true,
|
||||
override_utf8_locale = true,
|
||||
own_window = true,
|
||||
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
||||
--own_window_transparent = true,
|
||||
own_window_argb_visual = true,
|
||||
own_window_argb_value = 100,
|
||||
own_window_type = 'normal',
|
||||
--own_window_color = 000000
|
||||
total_run_times = 0,
|
||||
update_interval = 1,
|
||||
uppercase = false,
|
||||
use_spacer = right,
|
||||
use_xft = true,
|
||||
xftalpha = 0.8,
|
||||
font = 'Bitstream Vera Sans Mono:size=8',
|
||||
}
|
||||
|
||||
TEXT
|
||||
conky.text = [[
|
||||
##############################################
|
||||
#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}%
|
||||
${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
|
||||
##############################################
|
||||
|
@ -131,13 +123,6 @@ Total: ${totaldown enp0s31f6} $alignr Total: ${totalup enp0s31f6}
|
|||
${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 25,160 ffcc00 ff0000}
|
||||
#${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
|
||||
|
@ -153,3 +138,4 @@ ${alignc}${exec cmus-remote -Q | grep 'position'| awk '{print strftime("%M:%S",
|
|||
${else}$alignc Nothing is playing at the moment.
|
||||
${endif}
|
||||
${color DimGray}${execi 120 fortune -a -n 500 -s | fold -s -w54}$color
|
||||
]]
|
||||
|
|
Loading…
Reference in a new issue