summaryrefslogtreecommitdiffstats
path: root/.i3/conkyrc-perl
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-12-12 00:44:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-12-12 00:44:24 +0100
commit75827353b4ece85cb4e1e927404692f136b270b8 (patch)
tree02ed358fc2dd17c1d8c69e263e9f66105f41faa2 /.i3/conkyrc-perl
parent1f005773df11ea43d886476e922b8fefe9f2a6a1 (diff)
downloaddotfiles-75827353b4ece85cb4e1e927404692f136b270b8.tar.gz
dotfiles-75827353b4ece85cb4e1e927404692f136b270b8.tar.xz
i3: Rewrite conky wrapper in perl
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.i3/conkyrc-perl')
-rw-r--r--.i3/conkyrc-perl56
1 files changed, 56 insertions, 0 deletions
diff --git a/.i3/conkyrc-perl b/.i3/conkyrc-perl
new file mode 100644
index 0000000..e743f09
--- /dev/null
+++ b/.i3/conkyrc-perl
@@ -0,0 +1,56 @@
+out_to_x no
+own_window no
+out_to_console yes
+background no
+max_text_width 0
+update_interval 0.5
+total_run_times 0
+short_units yes
+if_up_strictness link
+use_spacer none
+override_utf8_locale no
+cpu_avg_samples 6
+net_avg_samples 6
+
+mpd_host localhost
+mpd_port 6600
+
+TEXT
+
+${if_match "${mpd_status}" == "Playing"}
+COLOR: \#d466138
+FULLTEXT: ${mpd_artist} - ${mpd_title} (${mpd_vol}%)
+${endif}
+
+COLOR: \#00FF00
+FULLTEXT: intern0 ${upspeed intern0}↑ ${downspeed intern0}↓
+
+${if_up guest0}
+COLOR: \#FF0000
+FULLTEXT: guest0 ${upspeed guest0}↑ ${downspeed guest0}↓
+${endif}
+
+${if_up usb0}
+COLOR: \#FF0000
+FULLTEXT: usb0 ${upspeed usb0}↑ ${downspeed usb0}↓
+${endif}
+
+# { "full_text" : "IO ${diskio_read}↑ ${diskio_write}↓"},
+FULLTEXT: PA ${pa_sink_volume}%
+
+FULLTEXT: / ${fs_free /}
+FULLTEXT: /home ${fs_free /home}
+
+COLOR: \#55ff55
+FULLTEXT: CPU ${cpu cpu}%
+
+COLOR: ${if_match ${memperc}<80}\#55ff55${else}\#ff0000${endif}
+FULLTEXT: RAM ${mem} (${memperc}%)
+
+FULLTEXT: ${loadavg} ${running_threads}/${processes}
+FULLTEXT: Up ${uptime}
+
+SHORTTEXT: ${time %F %H:%M:%S}
+FULLTEXT: ${time %a %F %H:%M:%S
+
+END_BLOCK