summaryrefslogtreecommitdiffstats
path: root/debian/local
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:39:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:39:32 +0000
commit001a1b5299cbdcccb7740cce5177d4f36e73281a (patch)
tree61dc94df0b5cfc8f12c1a4c8e14967af20fa4485 /debian/local
parentAdding upstream version 1.3.2. (diff)
downloadpowerline-gitstatus-001a1b5299cbdcccb7740cce5177d4f36e73281a.tar.xz
powerline-gitstatus-001a1b5299cbdcccb7740cce5177d4f36e73281a.zip
Adding debian version 1.3.2-0+deb11u1.debian/1.3.2-0+deb11u1debian
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
+ },
+ {