1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

solarized conky colors

This commit is contained in:
eoli3n 2016-03-30 01:01:01 +02:00
parent 258c78a761
commit 7153364718
2 changed files with 31 additions and 31 deletions

@ -42,18 +42,18 @@ TEXT
#ADD DYNAMIC INTERFACE
{"full_text":" ${downspeed wlp2s0}","color":"\#00AE58","separator":false,"separator_block_width":15, "min_width": 65, "align": "left"},\
{"full_text":" ${downspeed wlp2s0}","color":"\#037352","separator":false,"separator_block_width":15, "min_width": 65, "align": "left"},\
#UP
#ADD DYNAMIC INTERFACE
{"full_text":" ${upspeed wlp2s0}","color":"\#D0151E","separator":false,"separator_block_width":15, "min_width": 65, "align": "left"},\
{"full_text":" ${upspeed wlp2s0}","color":"\#dc322f","separator":false,"separator_block_width":15, "min_width": 65, "align": "left"},\
#CPU
${if_match ${cpu cpu0} >= 80}\
{"full_text":" ${cpu cpu0}%","color":"\#D0151E","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
{"full_text":" ${cpu cpu0}%","color":"\#dc322f","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
${else}
${if_match ${cpu cpu0} >= 50}\
{"full_text":" ${cpu cpu0}%","color":"\#E56C08","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
@ -69,7 +69,7 @@ $endif
#SYSTEM
${if_match ${execi 60 df -h | grep universe-lvroot | awk '{print $5}' | cut -d"%" -f1} >= 95 }\
{"full_text":" ${execi 60 df -h | grep universe-lvroot | awk '{print $5}'}","color":"\#D0151E","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
{"full_text":" ${execi 60 df -h | grep universe-lvroot | awk '{print $5}'}","color":"\#dc322f","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
${else}
${if_match ${execi 60 df -h | grep universe-lvroot | awk '{print $5}' | cut -d"%" -f1} >= 90 }\
{"full_text":" ${execi 60 df -h | grep universe-lvroot | awk '{print $5}'}","color":"\#F15D25","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
@ -81,7 +81,7 @@ $endif
#HOME
${if_match ${execi 60 df -h | grep universe-lvhome | awk '{print $5}' | cut -d"%" -f1} >= 95 }\
{"full_text":" ${execi 60 df -h | grep universe-lvhome | awk '{print $5}'}","color":"\#D0151E","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"}\
{"full_text":" ${execi 60 df -h | grep universe-lvhome | awk '{print $5}'}","color":"\#dc322f","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"}\
${else}
${if_match ${execi 60 df -h | grep universe-lvhome | awk '{print $5}' | cut -d"%" -f1} >= 90 }\
{"full_text":" ${execi 60 df -h | grep universe-lvhome | awk '{print $5}'}","color":"\#F15D25","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"}\
@ -93,7 +93,7 @@ $endif
#MPV
#${if_match "${exec xdotool search --class mpv}"==""}\
#{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6, "min_width": 570, "align": "right"},\
#{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":6, "min_width": 570, "align": "right"},\
#${else}
#{"full_text": " ${exec xprop -id $(xdotool search --class mpv) | grep 'NET_WM_NAME(UTF8_STRING)' | cut -d'"' -f2} ","color":"\#C5C5C5","separator":false,"separator_block_width":6, "min_width":570 , "align": "right"}\
#$endif
@ -101,7 +101,7 @@ $endif
#MUSIC
#${if_match "${exec mpc -f %artist% | head -n 1 | grep -v 'consume: off'| sed 's/\\n//g'}"==""}\
#{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6, "min_width": 600, "align": "left"}\
#{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":6, "min_width": 600, "align": "left"}\
#${else}
# ${if_match "${exec mpc status | egrep 'paused|playing' | cut -d" " -f1}"=="[playing]"}\
# {"full_text": " ${exec echo $(mpc -f "%artist%" | head -n 1 | head -c 40 | cut -d"%" -f1) - $(mpc -f "%title%" | head -n 1 | head -c 40 | cut -d"%" -f1)} ","color":"\#C5C5C5","separator":false,"separator_block_width":6, "min_width": 600, "align": "right"}\

@ -45,29 +45,29 @@ ${if_match "${execi 120 ping -q -w 2 -c 1 176.34.135.167 > /dev/null && echo ok}
#PACMAN
${if_match "${execi 200 checkupdates | wc -l}"!="0"}\
{"full_text":" ${execi 200 checkupdates | wc -l}","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":" ${execi 200 checkupdates | wc -l}","color":"\#dc322f","separator":false,"separator_block_width":6},\
#SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":6},\
$endif
#AUR
${if_match "${execi 1900 cower -u | wc -l}"!="0"}\
{"full_text":" ${execi 1900 cower -u | wc -l}","color":"\#F15D25","separator":false,"separator_block_width":0},\
#SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\
{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
$endif
#WEATHER
{"full_text":"${execi 1800 ~/.i3/weather.sh | cut -d' ' -f1} ","color":"\#C5C5C5","separator":false,"separator_block_width":0},\
{"full_text":" ${execi 1800 ~/.i3/weather.sh | cut -d' ' -f2}","color":"\#4285F4","separator":false,"separator_block_width":0},\
{"full_text":" ${execi 1800 ~/.i3/weather.sh | cut -d' ' -f3}","color":"\#C5C5C5","separator":false,"separator_block_width":0},\
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":20},\
{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":20},\
$endif
#VOLUME
${if_match "${exec amixer get 'Master' | grep '\[on\]' | grep Left | cut -d"[" -f2 | cut -d"%" -f1}" == "" }\
{"full_text":" ","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#dc322f","separator":false,"separator_block_width":6},\
${else}
${if_match ${exec amixer get 'Master' | grep '\[on\]' | grep Left | cut -d"[" -f2 | cut -d"%" -f1} >= 75 }\
{"full_text":"  ${exec amixer get 'Master' | grep '\[on\]' | grep Left | cut -d"[" -f2 | cut -d"%" -f1}%","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
@ -82,13 +82,13 @@ $endif
#SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\
{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
#BACKLIGHT
{"full_text":"  ${exec xbacklight -get | cut -d"." -f1}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
#SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\
{"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
#WIRED
${if_match "${addr br0}" != "No Address" }\
@ -103,10 +103,10 @@ $endif
${if_match "${wireless_essid wlp2s0}" != "off/any" }\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
${if_match ${wireless_link_qual_perc wlp2s0} >= 75 }\
{"full_text":"${wireless_essid wlp2s0}","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"${wireless_essid wlp2s0}","color":"\#037352","separator":false,"separator_block_width":6},\
${else}
${if_match ${wireless_link_qual_perc wlp2s0} <= 25 }\
{"full_text":"${wireless_essid wlp2s0}","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":"${wireless_essid wlp2s0}","color":"\#dc322f","separator":false,"separator_block_width":6},\
${else}
{"full_text":"${wireless_essid wlp2s0}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
@ -125,7 +125,7 @@ ${if_match "${exec systemctl status tor | grep 'active (running)'}" != "" }\
$endif
#SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\
{"full_text":" ","color":"\#073642","separator":false,"separator_block_width":15},\
#BATTERY
@ -139,27 +139,27 @@ ${else}
${else}
${if_match ${battery_percent BAT0} >= 80}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else}
${if_match ${battery_percent BAT0} >= 50}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else}
${if_match ${battery_percent BAT0} >= 30}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else}
${if_match ${battery_percent BAT0} >= 10}\
{"full_text":" ","color":"\#E56C08","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#E56C08","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#E56C08","separator":false,"separator_block_width":6},\
${else}
{"full_text":" ","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#D0151E","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#dc322f","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#dc322f","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#dc322f","separator":false,"separator_block_width":6},\
$endif
$endif
@ -169,16 +169,16 @@ ${else}
$endif
#DATE
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"${time %d}","color":"\#C5C5C5","separator":false,"separator_block_width":0},\
{"full_text":"/","color":"\#00AE58","separator":false,"separator_block_width":0},\
{"full_text":"/","color":"\#073642","separator":false,"separator_block_width":0},\
{"full_text":"${time %m}","color":"\#C5C5C5","separator":false,"separator_block_width":0},\
{"full_text":"/","color":"\#00AE58","separator":false,"separator_block_width":0},\
{"full_text":"/","color":"\#073642","separator":false,"separator_block_width":0},\
{"full_text":"${time %Y}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#073642","separator":false,"separator_block_width":6},\
#TIME
{"full_text":"${time %H:%M:%S}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6}\
{"full_text":" ","color":"\#073642","separator":false,"separator_block_width":6}\
],