summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Holman <dholman@gymli.org>2018-10-22 23:13:39 -0500
committerDaniel Holman <dholman@gymli.org>2018-10-22 23:13:39 -0500
commitf932548159af5a26a755b399a6a455e34805f39b (patch)
tree4ef24d37036b58afc84a57cf6c8ef62898c35184
parent98f79f5bb74ffd9d180f76dd20ce5616dda582d0 (diff)
parent3d754b36ae97c27232e657a8d7770891b77ea29a (diff)
Merge branch 'master' of git.gymli.org:dotfiles
-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