From 16b6e0a8514dc83c7751e66e3ee84fba2fd8aa8e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 31 Jan 2021 10:39:08 +0100 Subject: Add powerline status line --- system/.config/powerline/config.json | 7 ++++ system/.config/powerline/themes/shell/custom.json | 42 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 system/.config/powerline/config.json create mode 100644 system/.config/powerline/themes/shell/custom.json (limited to 'system/.config') diff --git a/system/.config/powerline/config.json b/system/.config/powerline/config.json new file mode 100644 index 0000000..432a56d --- /dev/null +++ b/system/.config/powerline/config.json @@ -0,0 +1,7 @@ +{ + "ext": { + "shell": { + "theme": "custom" + } + } +} diff --git a/system/.config/powerline/themes/shell/custom.json b/system/.config/powerline/themes/shell/custom.json new file mode 100644 index 0000000..030de37 --- /dev/null +++ b/system/.config/powerline/themes/shell/custom.json @@ -0,0 +1,42 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.net.hostname", + "priority": 10 + }, + { + "function": "powerline.segments.common.env.user", + "args": { + "hide_user": "camil" + }, + "priority": 30 + }, + { + "function": "powerline.segments.shell.cwd", + "args": { + "dir_limit_depth": 3, + "dir_shorten_len": 4, + "use_path_separator": true + }, + "priority": 10 + }, + { + "function": "powerline.segments.common.vcs.branch", + "args": { + "status_colors": true, + "ignore_statuses": ["U"] + }, + "priority": 40 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + }, + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + } + ] + } +} -- cgit v1.2.3