aboutsummaryrefslogtreecommitdiff
path: root/system/.config
diff options
context:
space:
mode:
authorCamil Staps2021-01-31 10:39:08 +0100
committerCamil Staps2021-01-31 10:39:08 +0100
commit16b6e0a8514dc83c7751e66e3ee84fba2fd8aa8e (patch)
tree9e5087bb41115a1e733ff74fd5fe6284e679885a /system/.config
parentVim: light background color for bibtex files (diff)
Add powerline status line
Diffstat (limited to 'system/.config')
-rw-r--r--system/.config/powerline/config.json7
-rw-r--r--system/.config/powerline/themes/shell/custom.json42
2 files changed, 49 insertions, 0 deletions
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
+ }
+ ]
+ }
+}