Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Matael/dotfiles
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
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 no | ||
|
||
# number of cpu samples to average | ||
# set to 1 to disable averaging | ||
cpu_avg_samples 2 | ||
|
||
# Stuff after 'TEXT' will be formatted on screen | ||
TEXT | ||
|
||
# JSON for i3bar | ||
|
||
[ | ||
{ "full_text" : "${execi 5 /home/matael/bin/mpd_state.sh}", "color": "\#ffffff"}, | ||
{ "full_text" : "${if_up enp3s0}${addr enp3s0}${else}Link Down${endif}", "color" : "\#ffffff"}, | ||
{ "full_text" : "/ ${fs_free /}" , "color" : "\#ffffff" }, | ||
{ "full_text" : "/home ${fs_free /home}" , "color" : "\#ffffff" }, | ||
{ "full_text" : "/storage ${fs_free /storage}" , "color" : "\#ffffff" }, | ||
# { "full_text" : "CPU ${cpu cpu0}_${cpu cpu1}_${cpu cpu2}_${cpu cpu3}_${cpu cpu4}_${cpu cpu5}_${cpu cpu6}_${cpu cpu7}" , "color" : "\#ffffff" }, | ||
{ "full_text" : "${loadavg}" , "color" : "\#ffffff" }, | ||
{ "full_text" : "RAM ${memperc}%" , "color" : | ||
${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} }, | ||
{ "full_text" : "${time %d/%m/%y - %H:%M}", "color" : "\#ffffff"}], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# Send the header so that i3bar knows we want to use JSON: | ||
echo '{"version":1}' | ||
|
||
# Begin the endless array. | ||
echo '[' | ||
|
||
# We send an empty first array of blocks to make the loop simpler: | ||
echo '[],' | ||
|
||
# Now send blocks with information forever: | ||
exec conky -c $HOME/.conkyrc |