aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-17 13:25:39 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-17 13:25:39 +0200
commit638fed0941419b866bdd3bc070d1258b40d1b846 (patch)
tree24a58b76c752113feed849931c7aa369d477f54e
parent146959d20a1a79378a5da0207108bf9105ac4a90 (diff)
downloaddotfiles-638fed0941419b866bdd3bc070d1258b40d1b846.tar.gz
powerline
-rw-r--r--powerline/themes/shell/default.json21
-rw-r--r--powerline/themes/wm/default.json23
2 files changed, 25 insertions, 19 deletions
diff --git a/powerline/themes/shell/default.json b/powerline/themes/shell/default.json
index a15c5ef..42e6c3b 100644
--- a/powerline/themes/shell/default.json
+++ b/powerline/themes/shell/default.json
@@ -2,27 +2,22 @@
"segments": {
"left": [
{
- "function": "powerline.segments.shell.mode"
+ "function": "powerline.segments.common.env.user"
},
{
- "function": "powerline.segments.common.net.hostname",
- "priority": 10
- },
- {
- "function": "powerline.segments.common.env.user",
- "priority": 30
+ "function": "powerline.segments.common.env.virtualenv"
},
{
- "function": "powerline.segments.common.env.virtualenv",
- "priority": 50
+ "function": "powerline.segments.shell.cwd",
+ "args" : {
+ "dir_shorten_len" : 1
+ }
},
{
- "function": "powerline.segments.shell.cwd",
- "priority": 10
+ "function": "powerline.segments.shell.jobnum"
},
{
- "function": "powerline.segments.shell.jobnum",
- "priority": 20
+ "function" : "powerline.segments.shell.last_status"
},
{
"function" : "powerline.segments.common.vcs.branch"
diff --git a/powerline/themes/wm/default.json b/powerline/themes/wm/default.json
index 43de99b..1c49e43 100644
--- a/powerline/themes/wm/default.json
+++ b/powerline/themes/wm/default.json
@@ -2,9 +2,20 @@
"segments": {
"right": [
{
- "function": "powerline.segments.common.time.date",
+ "function" : "powerline.segments.common.players.spotify",
+ "name" : "player",
"args" : {
- "format" : "%d.%m.%Y"
+ "format" : "{state_symbol} {artist} - {title} ({elapsed})"
+ }
+ },
+ {
+ "function" : "powerline.segments.common.net.network_load"
+ },
+ {
+ "function" : "powerline.segments.common.sys.system_load",
+ "name" : "load",
+ "args" : {
+ "short" : true
}
},
{
@@ -16,10 +27,10 @@
}
},
{
- "function" : "powerline.segments.common.sys.system_load"
- },
- {
- "function" : "powerline.segments.common.net.network_load"
+ "function": "powerline.segments.common.time.date",
+ "args" : {
+ "format" : "%d.%m.%Y"
+ }
},
{
"function" : "powerline.segments.common.bat.battery",