aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-22 09:07:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-22 09:07:16 -0300
commit3b9854a63352e177cbe1cee290caae3528e1ad9c (patch)
treedc9952188b9ac7e81140d4e3a750cac618ca84aa
parent20f31af275244aa4018f822686290d1377eae29a (diff)
downloadprofile-3b9854a63352e177cbe1cee290caae3528e1ad9c.tar.gz
profile-3b9854a63352e177cbe1cee290caae3528e1ad9c.tar.bz2
Adds powerline shell config with taskwarrior segments
-rw-r--r--config.dot/powerline.link/themes/shell/default.json51
-rw-r--r--dependencies/debian1
2 files changed, 52 insertions, 0 deletions
diff --git a/config.dot/powerline.link/themes/shell/default.json b/config.dot/powerline.link/themes/shell/default.json
new file mode 100644
index 0000000..1ddeac6
--- /dev/null
+++ b/config.dot/powerline.link/themes/shell/default.json
@@ -0,0 +1,51 @@
+{
+ "segments": {
+ "left": [
+ {
+ "function": "powerline.segments.shell.mode"
+ },
+ {
+ "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
+ },
+ {
+ "function": "powerline.segments.shell.jobnum",
+ "priority": 20
+ }
+ ],
+ "right": [
+ {
+ "function": "powerline.segments.shell.last_pipe_status",
+ "priority": 10
+ },
+ {
+ "function": "powerline.segments.common.vcs.stash",
+ "priority": 50
+ },
+ {
+ "function": "powerline.segments.common.vcs.branch",
+ "priority": 40
+ },
+ {
+ "function": "powerline_taskwarrior.context",
+ "priority": 70
+ },
+ {
+ "function": "powerline_taskwarrior.active_task",
+ "priority": 70
+ }
+ ]
+ }
+}
diff --git a/dependencies/debian b/dependencies/debian
index e31a361..f70de53 100644
--- a/dependencies/debian
+++ b/dependencies/debian
@@ -6,6 +6,7 @@ tmux
screen
bash-completion
powerline
+powerline-taskwarrior
#
# Optional