aboutsummaryrefslogtreecommitdiff
path: root/i3/conkyrc
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:07:07 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:07:07 +0200
commit215132eeb92a0e95cd6424de2fd9f9b9563557a7 (patch)
tree690c088258d0c19cd0b881bfbea1a1e72d40bf28 /i3/conkyrc
parentcf70c57848905d810541f454a6d272da6ed47b25 (diff)
downloaddotfiles-215132eeb92a0e95cd6424de2fd9f9b9563557a7.tar.gz
dotfiles-215132eeb92a0e95cd6424de2fd9f9b9563557a7.zip
changed .* to *;
Diffstat (limited to 'i3/conkyrc')
-rw-r--r--i3/conkyrc110
1 files changed, 110 insertions, 0 deletions
diff --git a/i3/conkyrc b/i3/conkyrc
new file mode 100644
index 0000000..f37098a
--- /dev/null
+++ b/i3/conkyrc
@@ -0,0 +1,110 @@
+background no
+out_to_x no
+out_to_console yes
+update_interval 1
+mpd_port 6601
+
+# Network interface must have an ip address to be considered up
+if_up_strictness address
+
+TEXT
+[
+ #{"name": "uptime", "color":"\#ffffff", "full_text":"${uptime_short} "},
+
+ ################## cpu #################
+
+ #{"name": "cpuTemperature", "full_text": "${exec sensors | grep -A 1 'temp1' | cut -c13-16 | sed '/^$/d'}C"},
+
+ {"name": "cpuStart", "color" : "\#ffffff", "full_text": "CPU: [", "separator": false},
+
+ {"name": "cpu1", "color": ${if_match ${cpu cpu1}<89}"\#ffffff"${else}"\#ff0000"${endif},
+ "full_text": "${cpu cpu1}%,", "separator": false},
+
+ {"name": "cpu2", "color": ${if_match ${cpu cpu2}<89}"\#ffffff"${else}"\#ff0000"${endif},
+
+ "full_text": "${cpu cpu2}%,", "separator": false},
+
+ {"name": "cpu3", "color": ${if_match ${cpu cpu3}<89}"\#ffffff"${else}"\#ff0000"${endif},
+ "full_text": "${cpu cpu3}%,", "separator": false},
+
+ {"name": "cpu4", "color": ${if_match ${cpu cpu4}<89}"\#ffffff"${else}"\#ff0000"${endif},
+ "full_text": "${cpu cpu4}%", "separator": false},
+
+ {"name": "cpuEnd", "color": "\#ffffff", "full_text": "]"},
+
+
+ ################ memory#########################
+
+ {"name": "memory", "color": ${if_match ${memperc}<80}"\#ffffff"${else}"\#ff0000"${endif},
+ "full_text": "RAM: ${memperc}% "},
+
+ #{"name": "disk", "color": "\#ffffff", "full_text": " ${fs_used_perc /}% "},
+
+
+ ############### music / mpd ###################
+
+ ${if_mpd_playing}
+ # {"name": "test status", "full_text":"${mpd_status}", "separator":false},
+
+ {"name": "statusSymbol", "color": "\#ffffff", "separator": false,
+ "full_text": ${if_match ${mpd_status}=="Playing"}"▶"${else}"▐▐"${endif}},
+
+ {"name": "music", "color": "\#ffffff", "full_text":"${mpd_title} ${mpd_bar}"},
+ ${else}
+ {"name": "nomusic", "color": "\#ffffff", "full_text": "no music"},
+ ${endif}
+
+
+ ########### networking ########################
+
+ ${if_up wlp2s0}
+ {"name":"wifi", "color": ${if_match ${wireless_link_qual_perc wlan0}>60}"\#339966"${else}"\#FF9200"${endif},
+ "full_text": "${addr wlp2s0} ${wireless_link_qual_perc wlp2s0}%"},
+ {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed wlp2s0}"},
+
+ ${else} ${if_up enp0s20u2}
+ {"name":"eth0", "color": "\#339966", "full_text": "IP: ${addr enp0s20u2} "},
+ {"name":"download", "color":"\#ffffff", "full_text": "⤋: ${downspeed enp0s20u2}"},
+
+ ${else}
+ {"name":"nonet", "full_text": "no connection" },
+ ${endif}
+ ${endif}
+
+
+ ################ Volume ########################
+
+ {"name": "symbol", "color": "\#ffffff", "full_text":
+ ${if_match ${exec amixer sget Master | grep Mono: |
+ sed -e 's/[ \t]* Mono: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}"M"${else}"U"${endif},
+ "separator": false},
+
+ {"name": "Volume", "color": "\#ffffff", "full_text":
+ "Volume: [${exec amixer sget Master | grep Mono: | sed -e 's/[ \t]*Mono: Playback [0-9]* \[\([0-9]*%\)\].*/\1/'}]"},
+
+
+
+ ################# Battery ####################
+
+ {"name": "battery","color":
+ ${if_match ${battery_percent}<50}
+ ${if_match ${battery_percent}<25}"\#ff0000"
+ ${else}"\#ff9200"
+ ${endif}
+ ${else}"\#ffffff"
+ ${endif}, "full_text": "${battery BAT0}"},
+
+ {"name": "battery","color":
+ ${if_match ${battery_percent}<50}
+ ${if_match ${battery_percent}<25}"\#ff0000"
+ ${else}"\#ff9200"
+ ${endif}
+ ${else}"\#ffffff"
+ ${endif}, "full_text": "${battery BAT1}"},
+
+
+ ############### Time ##################
+
+ {"name": "time", "color": "\#CFCFCF", "full_text": " ${time %d/%m/%y} ${time %H:%M}"}
+],
+