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 #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 #UP
#ADD DYNAMIC INTERFACE #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 #CPU
${if_match ${cpu cpu0} >= 80}\ ${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} ${else}
${if_match ${cpu cpu0} >= 50}\ ${if_match ${cpu cpu0} >= 50}\
{"full_text":" ${cpu cpu0}%","color":"\#E56C08","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\ {"full_text":" ${cpu cpu0}%","color":"\#E56C08","separator":false,"separator_block_width":6, "min_width": 65, "align": "left"},\
@ -69,7 +69,7 @@ $endif
#SYSTEM #SYSTEM
${if_match ${execi 60 df -h | grep universe-lvroot | awk '{print $5}' | cut -d"%" -f1} >= 95 }\ ${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} ${else}
${if_match ${execi 60 df -h | grep universe-lvroot | awk '{print $5}' | cut -d"%" -f1} >= 90 }\ ${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"},\ {"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 #HOME
${if_match ${execi 60 df -h | grep universe-lvhome | awk '{print $5}' | cut -d"%" -f1} >= 95 }\ ${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} ${else}
${if_match ${execi 60 df -h | grep universe-lvhome | awk '{print $5}' | cut -d"%" -f1} >= 90 }\ ${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"}\ {"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 #MPV
#${if_match "${exec xdotool search --class 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} #${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"}\ #{"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 #$endif
@ -101,7 +101,7 @@ $endif
#MUSIC #MUSIC
#${if_match "${exec mpc -f %artist% | head -n 1 | grep -v 'consume: off'| sed 's/\\n//g'}"==""}\ #${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} #${else}
# ${if_match "${exec mpc status | egrep 'paused|playing' | cut -d" " -f1}"=="[playing]"}\ # ${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"}\ # {"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 #PACMAN
${if_match "${execi 200 checkupdates | wc -l}"!="0"}\ ${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 #SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":6},\ {"full_text":" ","color":"\#037352","separator":false,"separator_block_width":6},\
$endif $endif
#AUR #AUR
${if_match "${execi 1900 cower -u | wc -l}"!="0"}\ ${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},\ {"full_text":" ${execi 1900 cower -u | wc -l}","color":"\#F15D25","separator":false,"separator_block_width":0},\
#SEPARATOR #SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\ {"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
$endif $endif
#WEATHER #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' ' -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' ' -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":" ${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 $endif
#VOLUME #VOLUME
${if_match "${exec amixer get 'Master' | grep '\[on\]' | grep Left | cut -d"[" -f2 | cut -d"%" -f1}" == "" }\ ${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} ${else}
${if_match ${exec amixer get 'Master' | grep '\[on\]' | grep Left | cut -d"[" -f2 | cut -d"%" -f1} >= 75 }\ ${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},\ {"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 #SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\ {"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
#BACKLIGHT #BACKLIGHT
{"full_text":"  ${exec xbacklight -get | cut -d"." -f1}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"full_text":"  ${exec xbacklight -get | cut -d"." -f1}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
#SEPARATOR #SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\ {"full_text":" ","color":"\#037352","separator":false,"separator_block_width":15},\
#WIRED #WIRED
${if_match "${addr br0}" != "No Address" }\ ${if_match "${addr br0}" != "No Address" }\
@ -103,10 +103,10 @@ $endif
${if_match "${wireless_essid wlp2s0}" != "off/any" }\ ${if_match "${wireless_essid wlp2s0}" != "off/any" }\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\
${if_match ${wireless_link_qual_perc wlp2s0} >= 75 }\ ${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} ${else}
${if_match ${wireless_link_qual_perc wlp2s0} <= 25 }\ ${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} ${else}
{"full_text":"${wireless_essid wlp2s0}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"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 $endif
#SEPARATOR #SEPARATOR
{"full_text":" ","color":"\#00AE58","separator":false,"separator_block_width":15},\ {"full_text":" ","color":"\#073642","separator":false,"separator_block_width":15},\
#BATTERY #BATTERY
@ -139,27 +139,27 @@ ${else}
${else} ${else}
${if_match ${battery_percent BAT0} >= 80}\ ${if_match ${battery_percent BAT0} >= 80}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"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_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\ {"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else} ${else}
${if_match ${battery_percent BAT0} >= 50}\ ${if_match ${battery_percent BAT0} >= 50}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"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_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\ {"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else} ${else}
${if_match ${battery_percent BAT0} >= 30}\ ${if_match ${battery_percent BAT0} >= 30}\
{"full_text":" ","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"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_percent BAT0}%","color":"\#073642","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#00AE58","separator":false,"separator_block_width":6},\ {"full_text":"[${battery_time BAT0}]","color":"\#073642","separator":false,"separator_block_width":6},\
${else} ${else}
${if_match ${battery_percent BAT0} >= 10}\ ${if_match ${battery_percent BAT0} >= 10}\
{"full_text":" ","color":"\#E56C08","separator":false,"separator_block_width":6},\ {"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_percent BAT0}%","color":"\#E56C08","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_time BAT0}]","color":"\#E56C08","separator":false,"separator_block_width":6},\ {"full_text":"[${battery_time BAT0}]","color":"\#E56C08","separator":false,"separator_block_width":6},\
${else} ${else}
{"full_text":" ","color":"\#D0151E","separator":false,"separator_block_width":6},\ {"full_text":" ","color":"\#dc322f","separator":false,"separator_block_width":6},\
{"full_text":"${battery_percent BAT0}%","color":"\#D0151E","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":"\#D0151E","separator":false,"separator_block_width":6},\ {"full_text":"[${battery_time BAT0}]","color":"\#dc322f","separator":false,"separator_block_width":6},\
$endif $endif
$endif $endif
@ -169,16 +169,16 @@ ${else}
$endif $endif
#DATE #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":"${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":"${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":"${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 #TIME
{"full_text":"${time %H:%M:%S}","color":"\#C5C5C5","separator":false,"separator_block_width":6},\ {"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}\
], ],