summaryrefslogtreecommitdiff
path: root/.i3/conkyrc
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-05-30 17:49:19 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-05-30 17:49:19 +0200
commitd749ee8ac4e6a828281387be79fb4ee93649b844 (patch)
tree20a23c11bc2111eefbbe13a17f120b709ba30ddc /.i3/conkyrc
parenta9ff14668077e8e90c007f8025cfee80cf527f61 (diff)
downloaddotfiles-d749ee8ac4e6a828281387be79fb4ee93649b844.tar.gz
dotfiles-d749ee8ac4e6a828281387be79fb4ee93649b844.tar.bz2
dotfiles-d749ee8ac4e6a828281387be79fb4ee93649b844.zip
I3 Config
Diffstat (limited to '.i3/conkyrc')
-rw-r--r--.i3/conkyrc72
1 files changed, 72 insertions, 0 deletions
diff --git a/.i3/conkyrc b/.i3/conkyrc
new file mode 100644
index 0000000..f64b3e4
--- /dev/null
+++ b/.i3/conkyrc
@@ -0,0 +1,72 @@
+out_to_x no
+own_window no
+out_to_console yes
+background no
+max_text_width 0
+
+# Update interval in seconds
+update_interval 2.0
+
+# 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/json_escape.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"
+ }
+],