-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e3c7fe
commit c200808
Showing
3 changed files
with
132 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,27 @@ | ||
# Nixy Wallpapers | ||
|
||
A collection of wallpapers for | ||
[Nixy](https://github.com/anotherhadi/nixy). | ||
A collection of wallpapers for [Nixy](https://github.com/anotherhadi/nixy). | ||
See the [mobile readme (1 columns)](./docs/MOBILE-VIEW.md) | ||
|
||
| Preview | | ||
|-------------------------------------------------------------------------| | ||
| ![1131638.png](./1131638.png) 1131638.png | | ||
| ![1261770.png](./1261770.png) 1261770.png | | ||
| ![203540.png](./203540.png) 203540.png | | ||
| ![203553.png](./203553.png) 203553.png | | ||
| ![20.png](./20.png) 20.png | | ||
| ![2159155.png](./2159155.png) 2159155.png | | ||
| ![2629470.png](./2629470.png) 2629470.png | | ||
| ![astronaut.png](./astronaut.png) astronaut.png | | ||
| ![aurore.png](./aurore.png) aurore.png | | ||
| ![barcode.png](./barcode.png) barcode.png | | ||
| ![black-and-white.png](./black-and-white.png) black-and-white.png | | ||
| ![blurred-darker.png](./blurred-darker.png) blurred-darker.png | | ||
| ![blurred.png](./blurred.png) blurred.png | | ||
| ![cat-leaves.png](./cat-leaves.png) cat-leaves.png | | ||
| ![city.png](./city.png) city.png | | ||
| ![cloud.png](./cloud.png) cloud.png | | ||
| ![clouds-2.png](./clouds-2.png) clouds-2.png | | ||
| ![clouds2.png](./clouds2.png) clouds2.png | | ||
| ![clouds-3.png](./clouds-3.png) clouds-3.png | | ||
| ![clouds.png](./clouds.png) clouds.png | | ||
| ![coffee.png](./coffee.png) coffee.png | | ||
| ![crane.png](./crane.png) crane.png | | ||
| ![dark_cloud.png](./dark_cloud.png) dark_cloud.png | | ||
| ![dark-forest.png](./dark-forest.png) dark-forest.png | | ||
| ![dark.png](./dark.png) dark.png | | ||
| ![dark-waves.png](./dark-waves.png) dark-waves.png | | ||
| ![degirled.png](./degirled.png) degirled.png | | ||
| ![diner-lonely-road.png](./diner-lonely-road.png) diner-lonely-road.png | | ||
| ![fuji-dark.png](./fuji-dark.png) fuji-dark.png | | ||
| ![fuji-light.png](./fuji-light.png) fuji-light.png | | ||
| ![galaxy.png](./galaxy.png) galaxy.png | | ||
| ![horizon-2.png](./horizon-2.png) horizon-2.png | | ||
| ![house-cloud.png](./house-cloud.png) house-cloud.png | | ||
| ![key.png](./key.png) key.png | | ||
| ![lavender-cat.png](./lavender-cat.png) lavender-cat.png | | ||
| ![lofi-computer.png](./lofi-computer.png) lofi-computer.png | | ||
| ![lofi-urban.png](./lofi-urban.png) lofi-urban.png | | ||
| ![magma.png](./magma.png) magma.png | | ||
| ![mountains-black.png](./mountains-black.png) mountains-black.png | | ||
| ![mountains.png](./mountains.png) mountains.png | | ||
| ![nasa-japan-dark.png](./nasa-japan-dark.png) nasa-japan-dark.png | | ||
| ![nix.png](./nix.png) nix.png | | ||
| ![pixel-galaxy.png](./pixel-galaxy.png) pixel-galaxy.png | | ||
| ![problems.png](./problems.png) problems.png | | ||
| ![rains-dark.png](./rains-dark.png) rains-dark.png | | ||
| ![rocket-launch.png](./rocket-launch.png) rocket-launch.png | | ||
| ![sea2.png](./sea2.png) sea2.png | | ||
| ![sea.png](./sea.png) sea.png | | ||
| ![space2.png](./space2.png) space2.png | | ||
| ![space.png](./space.png) space.png | | ||
| ![street.png](./street.png) street.png | | ||
| ![sun.png](./sun.png) sun.png | | ||
| ![the-road-black.png](./the-road-black.png) the-road-black.png | | ||
| ![tokyo.png](./tokyo.png) tokyo.png | | ||
| ![train.png](./train.png) train.png | | ||
| ![windows.png](./windows.png) windows.png | | ||
| ![wp.png](./wp.png) wp.png | | ||
|
||
| Preview | | | | ||
| ------- | -- | -- | | ||
| ![1131638.png](./1131638.png) 1131638.png | ![1261770.png](./1261770.png) 1261770.png | ![203540.png](./203540.png) 203540.png | | ||
| ![203553.png](./203553.png) 203553.png | ![20.png](./20.png) 20.png | ![2159155.png](./2159155.png) 2159155.png | | ||
| ![2629470.png](./2629470.png) 2629470.png | ![astronaut.png](./astronaut.png) astronaut.png | ![aurore.png](./aurore.png) aurore.png | | ||
| ![barcode.png](./barcode.png) barcode.png | ![black-and-white.png](./black-and-white.png) black-and-white.png | ![blurred-darker.png](./blurred-darker.png) blurred-darker.png | | ||
| ![blurred.png](./blurred.png) blurred.png | ![cat-leaves.png](./cat-leaves.png) cat-leaves.png | ![city.png](./city.png) city.png | | ||
| ![cloud.png](./cloud.png) cloud.png | ![clouds-2.png](./clouds-2.png) clouds-2.png | ![clouds2.png](./clouds2.png) clouds2.png | | ||
| ![clouds-3.png](./clouds-3.png) clouds-3.png | ![clouds.png](./clouds.png) clouds.png | ![coffee.png](./coffee.png) coffee.png | | ||
| ![crane.png](./crane.png) crane.png | ![dark_cloud.png](./dark_cloud.png) dark_cloud.png | ![dark-forest.png](./dark-forest.png) dark-forest.png | | ||
| ![dark.png](./dark.png) dark.png | ![dark-waves.png](./dark-waves.png) dark-waves.png | ![degirled.png](./degirled.png) degirled.png | | ||
| ![diner-lonely-road.png](./diner-lonely-road.png) diner-lonely-road.png | ![fuji-dark.png](./fuji-dark.png) fuji-dark.png | ![fuji-light.png](./fuji-light.png) fuji-light.png | | ||
| ![galaxy.png](./galaxy.png) galaxy.png | ![horizon-2.png](./horizon-2.png) horizon-2.png | ![house-cloud.png](./house-cloud.png) house-cloud.png | | ||
| ![key.png](./key.png) key.png | ![lavender-cat.png](./lavender-cat.png) lavender-cat.png | ![lofi-computer.png](./lofi-computer.png) lofi-computer.png | | ||
| ![lofi-urban.png](./lofi-urban.png) lofi-urban.png | ![magma.png](./magma.png) magma.png | ![mountains-black.png](./mountains-black.png) mountains-black.png | | ||
| ![mountains.png](./mountains.png) mountains.png | ![nasa-japan-dark.png](./nasa-japan-dark.png) nasa-japan-dark.png | ![nix.png](./nix.png) nix.png | | ||
| ![pixel-galaxy.png](./pixel-galaxy.png) pixel-galaxy.png | ![problems.png](./problems.png) problems.png | ![rains-dark.png](./rains-dark.png) rains-dark.png | | ||
| ![rocket-launch.png](./rocket-launch.png) rocket-launch.png | ![sea2.png](./sea2.png) sea2.png | ![sea.png](./sea.png) sea.png | | ||
| ![space2.png](./space2.png) space2.png | ![space.png](./space.png) space.png | ![street.png](./street.png) street.png | | ||
| ![sun.png](./sun.png) sun.png | ![the-road-black.png](./the-road-black.png) the-road-black.png | ![tokyo.png](./tokyo.png) tokyo.png | | ||
| ![train.png](./train.png) train.png | ![windows.png](./windows.png) windows.png | ![wp.png](./wp.png) wp.png | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Nixy Wallpapers | ||
|
||
A collection of wallpapers for [Nixy](https://github.com/anotherhadi/nixy). | ||
See the [desktop readme (3 columns)](../README.md) | ||
|
||
|
||
| Preview | | ||
| ------- | | ||
| ![1131638.png](./1131638.png) 1131638.png | | ||
| ![1261770.png](./1261770.png) 1261770.png | | ||
| ![203540.png](./203540.png) 203540.png | | ||
| ![203553.png](./203553.png) 203553.png | | ||
| ![20.png](./20.png) 20.png | | ||
| ![2159155.png](./2159155.png) 2159155.png | | ||
| ![2629470.png](./2629470.png) 2629470.png | | ||
| ![astronaut.png](./astronaut.png) astronaut.png | | ||
| ![aurore.png](./aurore.png) aurore.png | | ||
| ![barcode.png](./barcode.png) barcode.png | | ||
| ![black-and-white.png](./black-and-white.png) black-and-white.png | | ||
| ![blurred-darker.png](./blurred-darker.png) blurred-darker.png | | ||
| ![blurred.png](./blurred.png) blurred.png | | ||
| ![cat-leaves.png](./cat-leaves.png) cat-leaves.png | | ||
| ![city.png](./city.png) city.png | | ||
| ![cloud.png](./cloud.png) cloud.png | | ||
| ![clouds-2.png](./clouds-2.png) clouds-2.png | | ||
| ![clouds2.png](./clouds2.png) clouds2.png | | ||
| ![clouds-3.png](./clouds-3.png) clouds-3.png | | ||
| ![clouds.png](./clouds.png) clouds.png | | ||
| ![coffee.png](./coffee.png) coffee.png | | ||
| ![crane.png](./crane.png) crane.png | | ||
| ![dark_cloud.png](./dark_cloud.png) dark_cloud.png | | ||
| ![dark-forest.png](./dark-forest.png) dark-forest.png | | ||
| ![dark.png](./dark.png) dark.png | | ||
| ![dark-waves.png](./dark-waves.png) dark-waves.png | | ||
| ![degirled.png](./degirled.png) degirled.png | | ||
| ![diner-lonely-road.png](./diner-lonely-road.png) diner-lonely-road.png | | ||
| ![fuji-dark.png](./fuji-dark.png) fuji-dark.png | | ||
| ![fuji-light.png](./fuji-light.png) fuji-light.png | | ||
| ![galaxy.png](./galaxy.png) galaxy.png | | ||
| ![horizon-2.png](./horizon-2.png) horizon-2.png | | ||
| ![house-cloud.png](./house-cloud.png) house-cloud.png | | ||
| ![key.png](./key.png) key.png | | ||
| ![lavender-cat.png](./lavender-cat.png) lavender-cat.png | | ||
| ![lofi-computer.png](./lofi-computer.png) lofi-computer.png | | ||
| ![lofi-urban.png](./lofi-urban.png) lofi-urban.png | | ||
| ![magma.png](./magma.png) magma.png | | ||
| ![mountains-black.png](./mountains-black.png) mountains-black.png | | ||
| ![mountains.png](./mountains.png) mountains.png | | ||
| ![nasa-japan-dark.png](./nasa-japan-dark.png) nasa-japan-dark.png | | ||
| ![nix.png](./nix.png) nix.png | | ||
| ![pixel-galaxy.png](./pixel-galaxy.png) pixel-galaxy.png | | ||
| ![problems.png](./problems.png) problems.png | | ||
| ![rains-dark.png](./rains-dark.png) rains-dark.png | | ||
| ![rocket-launch.png](./rocket-launch.png) rocket-launch.png | | ||
| ![sea2.png](./sea2.png) sea2.png | | ||
| ![sea.png](./sea.png) sea.png | | ||
| ![space2.png](./space2.png) space2.png | | ||
| ![space.png](./space.png) space.png | | ||
| ![street.png](./street.png) street.png | | ||
| ![sun.png](./sun.png) sun.png | | ||
| ![the-road-black.png](./the-road-black.png) the-road-black.png | | ||
| ![tokyo.png](./tokyo.png) tokyo.png | | ||
| ![train.png](./train.png) train.png | | ||
| ![windows.png](./windows.png) windows.png | | ||
| ![wp.png](./wp.png) wp.png | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,54 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Create WALLPAPERS.md to preview wallpapers in ./wallpapers | ||
|
||
# Desktop view (3 column) | ||
WALLPAPERS_FOLDER="." | ||
WALLPAPERS_MD="./README.md" | ||
[[ -d "$WALLPAPERS_FOLDER" ]] || (echo "Wallpapers folder not found" && exit 1) | ||
|
||
echo "# Nixy Wallpapers" >"$WALLPAPERS_MD" | ||
echo "" >>"$WALLPAPERS_MD" | ||
printf "A collection of wallpapers for [Nixy](https://github.com/anotherhadi/nixy)." >>"$WALLPAPERS_MD" | ||
echo "" >>"$WALLPAPERS_MD" | ||
echo "" >>"$WALLPAPERS_MD" | ||
echo "| Preview |" >>"$WALLPAPERS_MD" | ||
echo "| -- |" >>"$WALLPAPERS_MD" | ||
cat <<EOT >"$WALLPAPERS_MD" | ||
# Nixy Wallpapers | ||
A collection of wallpapers for [Nixy](https://github.com/anotherhadi/nixy). | ||
See the [mobile readme (1 columns)](./docs/MOBILE-VIEW.md) | ||
| Preview | | | | ||
| ------- | -- | -- | | ||
EOT | ||
|
||
# Put the wallpapers in 3 columns | ||
i=0 | ||
for file in "$WALLPAPERS_FOLDER"/*.png; do | ||
filename=$(basename "$file") | ||
echo "| ![$filename](./$filename) $filename |" >>"$WALLPAPERS_MD" | ||
printf "| ![$filename](./$filename) $filename " >>"$WALLPAPERS_MD" | ||
i=$((i + 1)) | ||
if [ "$i" -eq 3 ]; then | ||
echo "|" >>"$WALLPAPERS_MD" | ||
i=0 | ||
fi | ||
done | ||
if [ "$i" -ne 0 ]; then | ||
echo "|" >>"$WALLPAPERS_MD" | ||
fi | ||
|
||
# Mobile view (1 column) | ||
|
||
WALLPAPERS_FOLDER="." | ||
WALLPAPERS_MD="./docs/MOBILE-VIEW.md" | ||
[[ -d "$WALLPAPERS_FOLDER" ]] || (echo "Wallpapers folder not found" && exit 1) | ||
|
||
# Format | ||
pandoc -t commonmark_x "$WALLPAPERS_MD" -o "/tmp/wallpapers.md" | ||
mv "/tmp/wallpapers.md" "$WALLPAPERS_MD" | ||
cat <<EOT >"$WALLPAPERS_MD" | ||
# Nixy Wallpapers | ||
A collection of wallpapers for [Nixy](https://github.com/anotherhadi/nixy). | ||
See the [desktop readme (3 columns)](../README.md) | ||
| Preview | | ||
| ------- | | ||
EOT | ||
|
||
for file in "$WALLPAPERS_FOLDER"/*.png; do | ||
filename=$(basename "$file") | ||
echo "| ![$filename](./$filename) $filename |" >>"$WALLPAPERS_MD" | ||
done |