Skip to content

Instantly share code, notes, and snippets.

@mbilski
Created December 13, 2015 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbilski/bf252615b4dfc2bc7dd9 to your computer and use it in GitHub Desktop.
Save mbilski/bf252615b4dfc2bc7dd9 to your computer and use it in GitHub Desktop.
<root>/powerline/config_files/config.json
{
"segments":{
"right":[
{
"function":"powerline.segments.common.net.network_load",
"priority":50
},
{
"function":"powerline.segments.common.sys.cpu_load_percent",
"priority":50
},
{
"function":"powerlinemem.mem_usage.mem_usage",
"priority":50
},
{
"function":"powerline.segments.common.bat.battery",
"priority":50
},
{
"function":"powerline.segments.common.wthr.weather",
"priority":50,
"args":{
"unit":"C",
"location_query":"wroclaw, poland"
}
},
{
"function":"powerline.segments.common.time.date"
},
{
"function":"powerline.segments.common.time.date",
"name":"time",
"args":{
"format":"%H:%M",
"istime":true
}
},
{
"function":"powerline.segments.common.net.hostname"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment