summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/powerline/themes/shell/default.json46
-rw-r--r--.tmux.conf2
2 files changed, 48 insertions, 0 deletions
diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json
new file mode 100644
index 0000000..9fceca6
--- /dev/null
+++ b/.config/powerline/themes/shell/default.json
@@ -0,0 +1,46 @@
+{
+ "segments": {
+ "left": [
+ {
+ "function": "powerline.segments.shell.last_pipe_status",
+ "priority": 10
+ },
+ {
+ "function": "powerline.segments.common.net.hostname",
+ "priority": 10
+ },
+ {
+ "function": "powerline.segments.common.env.user",
+ "priority": 30
+ },
+ {
+ "function": "powerline.segments.common.env.virtualenv",
+ "priority": 50
+ },
+ {
+ "function": "powerline.segments.shell.cwd",
+ "priority": 10,
+ "args": {
+ "dir_limit_depth": 2
+ }
+ },
+ {
+ "function": "powerline.segments.common.vcs.branch",
+ "priority": 40,
+ "args": {
+ "status_colors": true
+ }
+ },
+ {
+ "function": "powerline.segments.shell.jobnum",
+ "priority": 20
+ }
+ ],
+ "right": [
+ {
+ "function": "powerline.segments.common.vcs.stash",
+ "priority": 50
+ }
+ ]
+ }
+}
diff --git a/.tmux.conf b/.tmux.conf
index 5e82cbf..71897c6 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,3 +1,5 @@
set -g default-terminal "tmux-256color"
set -g terminal-overrides ",xterm-termite:Tc"
set -g mouse on
+
+source /usr/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf