From 6de6aa158b4b0bf3689bdace2e1d0c1bcd17acc8 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 11 Dec 2015 09:09:49 +0100 Subject: [PATCH] Fix script on generating README when nothing changed. --- README.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ update.sh | 15 +++++++------- 2 files changed, 67 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 32768ac..d019ac0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,63 @@ # Rofi Themes: +# blor +## Screenshot +![Screenshot](./Screenshots/blor.png) +## XResources +``` +! ------------------------------------------------------------------------------ +! ROFI Color theme +! ------------------------------------------------------------------------------ +! Use extended color scheme +rofi.color-enabled: true +! Color scheme for normal row +rofi.color-normal: argb:00000000, #D8DEE9 , argb:00000000, #FAC863 , #1B2B34 +! Color scheme for urgent row +rofi.color-urgent: argb:00000000, #F99157 , argb:00000000, #F99157 , #1B2B34 +! Color scheme for active row +rofi.color-active: argb:00000000, #6699CC , argb:00000000, #6699CC , #1B2B34 +! Color scheme window +rofi.color-window: argb:ee222222, #FAC863 , #FAC863 +``` +# blue +## Screenshot +![Screenshot](./Screenshots/blue.png) +## XResources +``` +! ------------------------------------------------------------------------------ +! ROFI Color theme +! ------------------------------------------------------------------------------ +! Use extended color scheme +rofi.color-enabled: true +! Color scheme for normal row +rofi.color-normal: argb:00000000, #00b0ef, argb:00000000, #00b0ef,#0060a0 +! Color scheme for urgent row +rofi.color-urgent: argb:00000000, #ffa0a0, argb:00000000, #ffa0a0,#0060a0 +! Color scheme for active row +rofi.color-active: argb:00000000, #a0ffa0, argb:00000000, #a0ffa0,#0060a0 +! Color scheme window +rofi.color-window: argb:ee0060a0, #00b0ef,#00b0ef +``` +# lb +## Screenshot +![Screenshot](./Screenshots/lb.png) +## XResources +``` +! ------------------------------------------------------------------------------ +! ROFI Color theme +! ------------------------------------------------------------------------------ + +! Use extended color scheme +rofi.color-enabled: true +! Color scheme for normal row +rofi.color-normal: argb:00000000, #1aa, argb:11FFFFFF, #1aa,#333 +! Color scheme for urgent row +rofi.color-urgent: argb:00000000, #f99, argb:11FFFFFF, #f99,#333 +! Color scheme for active row +rofi.color-active: argb:00000000, #aa1, argb:11FFFFFF, #aa1,#333 +! Color scheme window +rofi.color-window: argb:ee333333, #1aa,#1aa +! Separator style (none, dash, solid) +rofi.separator-style: dash +``` diff --git a/update.sh b/update.sh index 5a40730..610c0cc 100755 --- a/update.sh +++ b/update.sh @@ -12,20 +12,19 @@ for a in *.theme do NAME=${a%.theme} IMAGE="Screenshots/${NAME}.png" + echo "# ${NAME}" >> README.md if [ ${a} -nt ${IMAGE} ] then - echo "# ${NAME}" >> README.md ./rofi/script/rofi-create-screenshot.sh "${a}" "${IMAGE}" - echo "## Screenshot" >> README.md - echo "![Screenshot](./${IMAGE})" >> README.md - echo "## XResources" >> README.md - echo "\`\`\`" >> README.md - cat "${a}" >> README.md - echo "\`\`\`" >> README.md - git add "${NAME}.png" git add "${a}" fi + echo "## Screenshot" >> README.md + echo "![Screenshot](./${IMAGE})" >> README.md + echo "## XResources" >> README.md + echo "\`\`\`" >> README.md + cat "${a}" >> README.md + echo "\`\`\`" >> README.md done