Put screenshot in subdir, update script to only update on change
This commit is contained in:
parent
462d92bdce
commit
ad96526950
6 changed files with 14 additions and 70 deletions
60
README.md
60
README.md
|
@ -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
0
Screenshots/.gitkeep
Normal file
BIN
blor.png
BIN
blor.png
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
BIN
blue.png
BIN
blue.png
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
BIN
lb.png
BIN
lb.png
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
|
@ -11,10 +11,13 @@ echo "" >> README.md
|
|||
for a in *.theme
|
||||
do
|
||||
NAME=${a%.theme}
|
||||
IMAGE="Screenshots/${NAME}.png"
|
||||
if [ ${a} -nt ${IMAGE} ]
|
||||
then
|
||||
echo "# ${NAME}" >> README.md
|
||||
./rofi/script/rofi-create-screenshot.sh "${a}" "${NAME}.png"
|
||||
./rofi/script/rofi-create-screenshot.sh "${a}" "${IMAGE}"
|
||||
echo "## Screenshot" >> README.md
|
||||
echo "![Screenshot](./${NAME}.png)" >> README.md
|
||||
echo "![Screenshot](./${IMAGE})" >> README.md
|
||||
echo "## XResources" >> README.md
|
||||
echo "\`\`\`" >> README.md
|
||||
cat "${a}" >> README.md
|
||||
|
@ -22,6 +25,7 @@ do
|
|||
|
||||
git add "${NAME}.png"
|
||||
git add "${a}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue