Put screenshot in subdir, update script to only update on change

This commit is contained in:
Dave Davenport 2015-12-11 09:08:12 +01:00
parent 462d92bdce
commit ad96526950
6 changed files with 14 additions and 70 deletions

View file

@ -1,63 +1,3 @@
# Rofi Themes:
# blor
## Screenshot
![Screenshot](./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](./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](./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
```

0
Screenshots/.gitkeep Normal file
View file

BIN
blor.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
blue.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
lb.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View file

@ -11,17 +11,21 @@ echo "" >> README.md
for a in *.theme
do
NAME=${a%.theme}
echo "# ${NAME}" >> README.md
./rofi/script/rofi-create-screenshot.sh "${a}" "${NAME}.png"
echo "## Screenshot" >> README.md
echo "![Screenshot](./${NAME}.png)" >> README.md
echo "## XResources" >> README.md
echo "\`\`\`" >> README.md
cat "${a}" >> README.md
echo "\`\`\`" >> README.md
IMAGE="Screenshots/${NAME}.png"
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}"
git add "${NAME}.png"
git add "${a}"
fi
done