diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 21:09:27 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 21:09:28 +0200 |
commit | d99cee2efeafc32581147424e31cfdce9531dc9d (patch) | |
tree | e1b4186fef3cf3362d4ac9780a9f6bb98ad13fc1 /.i3/conkyrc | |
parent | 4e8992266f11ce8008f5fce460cc64110b15c99b (diff) | |
download | dotfiles-d99cee2efeafc32581147424e31cfdce9531dc9d.tar.gz dotfiles-d99cee2efeafc32581147424e31cfdce9531dc9d.tar.bz2 dotfiles-d99cee2efeafc32581147424e31cfdce9531dc9d.zip |
[i3] Replace icons by font awesome
Diffstat (limited to '')
-rw-r--r-- | .i3/conkyrc | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/.i3/conkyrc b/.i3/conkyrc index b955ae8..ce5ef17 100644 --- a/.i3/conkyrc +++ b/.i3/conkyrc @@ -34,37 +34,31 @@ conky.config = { cpu_avg_samples = 2, lua_load = '$HOME/.i3/scripts/conky_helpers.lua', - - template0 = [["$HOME/.i3/icons/\1.xbm"]], }; conky.text = [[ [ \ - ${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" : " ${if_match ${cpu}<10} ${endif}${cpu}%"\ },\ {\ - "full_text" : " ${mem}",\ - "icon" : ${template0 load},\ - "min_width" : " 1000M",\ + "full_text" : " ${mem}",\ + "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_existing /sys/class/power_supply/AC0/online 1}${else}${endif} ${battery_percent BAT0}${if_existing /sys/class/power_supply/AC0/online 0} ${lua utime ${battery_time BAT0}}${endif}"\ },\ {\ - "full_text" : " ${if_up eth0}${addr}${else}(down)${endif}",\ - "icon" : ${template0 net-wired},\ - "color" : "\#${if_up eth0}ffffff${else}ff0000${endif}"\ + "full_text" : " ${platform coretemp.0 temp 2}°C"\ },\ + ${if_up eth0}{\ + "full_text" : "⑆ ${addr eth0}"\ + },${endif}\ + ${if_up wlan0}{\ + "full_text" : " ${addr wlan0} (${wireless_essid wlan0})",\ + "color" : "\#${if_match ${wireless_link_qual_perc wlan0}<80}${if_match ${wireless_link_qual_perc wlan0}>50}ffff00${else}ff0000${endif}${else}ffffff${endif}"\ + },${endif}\ {\ "full_text" : "${time %a, %d. %b %R}",\ "color" : "\#40B5D6"\ |