summaryrefslogtreecommitdiff
path: root/.i3/conkyrc
blob: f7e4a3c388c919696b3f5db9d348a4de7920657d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
double_buffer no

# Update interval in seconds
update_interval 2.5

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes

# How strict should if_up be when testing an interface for being up?
# The value is one of up, link or address, to check for the interface
# being solely up, being up and having link or being up, having link
# and an assigned IP address. 
if_up_strictness address

# Add spaces to keep things from moving about?  This only affects certain objects.
# use_spacer should have an argument of left, right, or none
use_spacer left

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

lua_load $HOME/.i3/scripts/conky_helpers.lua

template0 "$HOME/.i3/icons/\1.xbm"

# Stuff after 'TEXT' will be formatted on screen
TEXT

# JSON for i3bar
[ \
    ${if_mpd_playing}{
        "full_text" : "${lua json ${mpd_smart}}",\
        "icon" : ${if_match "${mpd_status}"=="Paused"}${template0 pause}${else}${template0 mpd}${endif} \
    },${endif}\
    {\
        "full_text" : "${cpu}%",\
        "icon" : ${template0 cpu},\
        "min_width" : "99%",\
        "align" : "right"\
    },\
    {\
        "full_text" : " ${mem}",\
        "icon" : ${template0 load},\
        "min_width" : " 1000M",\
        "color" : "\#${if_match ${memperc}<90}ffffff${else}ff0000${endif}"\
    },\
    {\
        "full_text" : "${platform coretemp.0 temp 2}°C${platform f71882fg.2560 temp 2}°C ${execi 30 nvidia-settings -query GPUCoreTemp | perl -n -e'/Attribute.*: (.*).$/ && print $1'}°C",\
        "icon" : ${template0 temp}\
    },\
    {\
        "full_text" : " ${if_up eth0}${addr}${else}(down)${endif}",\
        "icon" : ${template0 net-wired},\
        "color" : "\#${if_up eth0}ffffff${else}ff0000${endif}"\
    },\
    {\
        "full_text" : "${time %a, %d. %b %R}",\
        "color" : "\#40B5D6"\
    } \
],
necoro | 2008-01-14 23:48:24 +0100Necoro3-1/+4 2008-01-14 r632@Devoty: necoro | 2008-01-14 23:44:52 +0100Necoro3-175/+181 2008-01-14(no commit message)Necoro10-758/+1014 2008-01-14 r621@Devoty: necoro | 2008-01-14 20:21:40 +0100Necoro2-21/+61 2008-01-14 r618@Devoty: necoro | 2008-01-14 20:19:05 +0100Necoro2-35/+57 2008-01-14 r617@Devoty: necoro | 2008-01-14 19:12:59 +0100Necoro2-10/+10 2008-01-14 r609@Devoty: necoro | 2008-01-14 17:04:38 +0100Necoro9-394/+477 2008-01-14 r605@Devoty: necoro | 2008-01-14 11:43:34 +0100Necoro2-26/+129 2008-01-14 r603@Devoty: necoro | 2008-01-14 11:30:26 +0100Necoro4-26/+38 2008-01-11 r598@Devoty: necoro | 2008-01-10 16:36:29 +0100Necoro4-10/+50 2008-01-11 r597@Devoty: necoro | 2008-01-10 14:12:35 +0100Necoro1-3/+3 2008-01-10 r595@Devoty: necoro | 2008-01-10 04:04:15 +0100Necoro1-52/+3 2008-01-09 r586@Devoty: necoro | 2008-01-09 14:54:18 +0100Necoro1-1/+1 2007-12-06 r577@Devoty: necoro | 2007-12-06 20:37:36 +0100Necoro1-1/+1 2007-12-06 r572@Devoty: necoro | 2007-11-28 08:48:15 +0100Necoro1-0/+1 2007-11-27 r570@Devoty: necoro | 2007-11-27 02:08:21 +0100Necoro3-84/+108