diff options
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/colorschemes-default.patch | 28 | ||||
-rw-r--r-- | debian/local/themes-shell-default.patch | 17 | ||||
-rw-r--r-- | debian/local/themes-shell-default_leftonly.patch | 15 |
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..831ccad --- /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 +@@ -52,6 +52,20 @@ + "cwd:divider": { "fg": "gray7", "bg": "gray4", "attrs": [] }, + "virtualenv": { "fg": "white", "bg": "darkcyan", "attrs": [] }, + "attached_clients": { "fg": "gray8", "bg": "gray0", "attrs": [] }, +- "workspace": "information:regular" ++ "workspace": "information:regular", ++ "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 + }, + { |