Somebar related setup updates
This commit is contained in:
23
user.conkyrc
23
user.conkyrc
@@ -36,20 +36,25 @@ conky.config = {
|
||||
use_spacer = 'left',
|
||||
}
|
||||
|
||||
--[[ For Somebar ]]
|
||||
conky.text = [[
|
||||
${if_existing /usr/local/bin/somebar}status${endif} \
|
||||
💻 ${cpu}% | \
|
||||
💾 ${memperc}% | \
|
||||
${if_existing /sys/class/net/enp3s0/operstate up}🌐 ${addr enp3s0}${else}\
|
||||
💻 ${cpu}% \
|
||||
💾 ${memperc}% \
|
||||
${if_existing /sys/class/net/enp3s0/operstate up}🌎 ${addr enp3s0}${else}\
|
||||
${if_existing /sys/class/net/wlp4s0/operstate up}📶 ${addr wlp4s0}${else}\
|
||||
${if_up eth0}🌐 ${addr eth0}${else}\
|
||||
network down ${endif}${endif}${endif} | \
|
||||
${execi 600 curl wttr.in/~45.54,-122.83?format="%c%t"} | \
|
||||
🔊 ${execi 10 amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/'} | \
|
||||
🔋 ${battery_percent}% | \
|
||||
${time %Y %h %d %I:%M%p %Z}
|
||||
${if_up eth0}🌎 ${addr eth0}${else}\
|
||||
network down ${endif}${endif}${endif} \
|
||||
${execi 600 curl wttr.in/~45.54,-122.83?format="%c%t"} \
|
||||
🔊 ${execi 10 amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/'} \
|
||||
🔋 ${battery_percent}% \
|
||||
📅 ${time %Y %h %d} \
|
||||
🕑 ${time %I:%M%p %Z}
|
||||
]]
|
||||
--[[
|
||||
Reference
|
||||
|
||||
|
||||
🌡 ${execi 600 weather fips4105192520 | grep Tempera | awk '{print $2}'}°F | \
|
||||
${execi 1 cat /tmp/dwl.tags.out} | \
|
||||
🌦 ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KHIO temperature 10} | \
|
||||
|
Reference in New Issue
Block a user