summaryrefslogtreecommitdiffstats
path: root/debian/local
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:05:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:05:42 +0000
commit52506cce144537546ffd519c505a9d67d25b284b (patch)
tree04dae99a61727033fb475f415a1355fefda04641 /debian/local
parentAdding upstream version 1.3.1. (diff)
downloadpowerline-gitstatus-47dac16c136fa1cbfe72b95b7a4ed823dcdb93e0.tar.xz
powerline-gitstatus-47dac16c136fa1cbfe72b95b7a4ed823dcdb93e0.zip
Adding debian version 1.3.1-1.debian/1.3.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rw-r--r--debian/local/colorschemes-default.patch28
-rw-r--r--debian/local/themes-shell-default.patch17
-rw-r--r--debian/local/themes-shell-default_leftonly.patch15
3 files changed, 60 insertions, 0 deletions
diff --git a/debian/local/colorschemes-default.patch b/debian/local/colorschemes-default.patch
new file mode 100644
index 0000000..10e3972
--- /dev/null
+++ b/debian/local/colorschemes-default.patch
@@ -0,0 +1,28 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Adding powerline-gitstatus colors to default colorscheme.
+
+diff -Naurp powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/colorschemes/default.json powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/colorschemes/default.json
+--- powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/colorschemes/default.json
++++ powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/colorschemes/default.json
+@@ -51,6 +51,20 @@
+ "cwd:current_folder": "information:regular",
+ "cwd:divider": { "fg": "gray7", "bg": "gray4", "attrs": [] },
+ "virtualenv": { "fg": "white", "bg": "darkcyan", "attrs": [] },
+- "attached_clients": { "fg": "gray8", "bg": "gray0", "attrs": [] }
++ "attached_clients": { "fg": "gray8", "bg": "gray0", "attrs": [] },
++ "gitstatus": { "fg": "gray8", "bg": "gray2", "attrs": [] },
++ "gitstatus_branch": { "fg": "gray8", "bg": "gray2", "attrs": [] },
++ "gitstatus_branch_clean": { "fg": "green", "bg": "gray2", "attrs": [] },
++ "gitstatus_branch_dirty": { "fg": "gray8", "bg": "gray2", "attrs": [] },
++ "gitstatus_branch_detached": { "fg": "mediumpurple", "bg": "gray2", "attrs": [] },
++ "gitstatus_tag": { "fg": "darkcyan", "bg": "gray2", "attrs": [] },
++ "gitstatus_behind": { "fg": "gray10", "bg": "gray2", "attrs": [] },
++ "gitstatus_ahead": { "fg": "gray10", "bg": "gray2", "attrs": [] },
++ "gitstatus_staged": { "fg": "green", "bg": "gray2", "attrs": [] },
++ "gitstatus_unmerged": { "fg": "brightred", "bg": "gray2", "attrs": [] },
++ "gitstatus_changed": { "fg": "mediumorange", "bg": "gray2", "attrs": [] },
++ "gitstatus_untracked": { "fg": "brightestorange", "bg": "gray2", "attrs": [] },
++ "gitstatus_stashed": { "fg": "darkblue", "bg": "gray2", "attrs": [] },
++ "gitstatus:divider": { "fg": "gray8", "bg": "gray2", "attrs": [] }
+ }
+ }
diff --git a/debian/local/themes-shell-default.patch b/debian/local/themes-shell-default.patch
new file mode 100644
index 0000000..008bdb9
--- /dev/null
+++ b/debian/local/themes-shell-default.patch
@@ -0,0 +1,17 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Enabling powerline-gitstatus in default shell theme.
+
+diff -Naurp powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default.json powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default.json
+--- powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default.json
++++ powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default.json
+@@ -17,6 +17,10 @@
+ "priority": 50
+ },
+ {
++ "function": "powerline_gitstatus.gitstatus",
++ "priority": 40
++ },
++ {
+ "function": "powerline.segments.shell.cwd",
+ "priority": 10
+ },
diff --git a/debian/local/themes-shell-default_leftonly.patch b/debian/local/themes-shell-default_leftonly.patch
new file mode 100644
index 0000000..f800700
--- /dev/null
+++ b/debian/local/themes-shell-default_leftonly.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Enabling powerline-gitstatus in default_leftonly shell theme.
+
+diff -Naurp powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default_leftonly.json powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default_leftonly.json
+--- powerline-gitstatus.temp/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default_leftonly.json
++++ powerline-gitstatus/debian/powerline-gitstatus/usr/share/powerline/config_files/themes/shell/default_leftonly.json
+@@ -14,7 +14,7 @@
+ "priority": 50
+ },
+ {
+- "function": "powerline.segments.common.vcs.branch",
++ "function": "powerline_gitstatus.gitstatus",
+ "priority": 40
+ },
+ {