From dad11972841c50800d21292f5582e121faf294b5 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 12 Oct 2014 15:09:57 +0400 Subject: [PATCH] Add `"player"` segment data --- powerline/config_files/themes/ascii.json | 10 ++++++++++ powerline/config_files/themes/powerline.json | 10 ++++++++++ powerline/config_files/themes/unicode.json | 10 ++++++++++ powerline/config_files/themes/unicode_terminus.json | 10 ++++++++++ .../themes/unicode_terminus_condensed.json | 10 ++++++++++ 5 files changed, 50 insertions(+) diff --git a/powerline/config_files/themes/ascii.json b/powerline/config_files/themes/ascii.json index 7b49da21..80b2fcb7 100644 --- a/powerline/config_files/themes/ascii.json +++ b/powerline/config_files/themes/ascii.json @@ -20,6 +20,16 @@ "ellipsis": "..." } }, + "player": { + "args": { + "state_symbols": { + "fallback": "", + "play": ">", + "pause": "~", + "stop": "X" + } + } + }, "line_current_symbol": { "contents": "LN " diff --git a/powerline/config_files/themes/powerline.json b/powerline/config_files/themes/powerline.json index bba3b541..ddc6b60c 100644 --- a/powerline/config_files/themes/powerline.json +++ b/powerline/config_files/themes/powerline.json @@ -23,6 +23,16 @@ "line_current_symbol": { "contents": " " }, + "player": { + "args": { + "state_symbols": { + "fallback": "♫", + "play": "▶", + "pause": "▮▮", + "stop": "■" + } + } + }, "time": { "before": "⌚ " diff --git a/powerline/config_files/themes/unicode.json b/powerline/config_files/themes/unicode.json index de74c23b..d1461ee0 100644 --- a/powerline/config_files/themes/unicode.json +++ b/powerline/config_files/themes/unicode.json @@ -19,6 +19,16 @@ "ellipsis": "⋯" } }, + "player": { + "args": { + "state_symbols": { + "fallback": "♫", + "play": "▶", + "pause": "▮▮", + "stop": "■" + } + } + }, "line_current_symbol": { "contents": "␤ " diff --git a/powerline/config_files/themes/unicode_terminus.json b/powerline/config_files/themes/unicode_terminus.json index 33a06395..d4df1fdd 100644 --- a/powerline/config_files/themes/unicode_terminus.json +++ b/powerline/config_files/themes/unicode_terminus.json @@ -23,6 +23,16 @@ "line_current_symbol": { "contents": "␤ " }, + "player": { + "args": { + "state_symbols": { + "fallback": "♫", + "play": "▶", + "pause": "▮▮", + "stop": "■" + } + } + }, "time": { "before": "" diff --git a/powerline/config_files/themes/unicode_terminus_condensed.json b/powerline/config_files/themes/unicode_terminus_condensed.json index a386c7cd..e153a93c 100644 --- a/powerline/config_files/themes/unicode_terminus_condensed.json +++ b/powerline/config_files/themes/unicode_terminus_condensed.json @@ -24,6 +24,16 @@ "line_current_symbol": { "contents": "␤" }, + "player": { + "args": { + "state_symbols": { + "fallback": "♫", + "play": "▶", + "pause": "▮▮", + "stop": "■" + } + } + }, "time": { "before": ""