update
This commit is contained in:
parent
ba9dde2c1a
commit
81574fd7bc
@ -9,5 +9,11 @@ The process is straight-forward.
|
||||
- Write your changes (new theme, bug fixes, task in to-do, ...).
|
||||
- Create a Pull Request against the main branch of Nixy.
|
||||
|
||||
> [!WARNING]
|
||||
> Don't push your host's files, secrets, or home configuration
|
||||
> [!TIP]
|
||||
> When wallpapers are added, run `./docs/scripts/compress_png.sh` and `./docs/scripts/create_preview_wallpapers.sh`
|
||||
|
||||
> [!TIP]
|
||||
> To update the README, change the `./docs/src/README_template.md` and run `./docs/scripts/create_readme.sh`
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Don't push your host's folder
|
||||
|
@ -6,7 +6,6 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
|
||||
- [~] Installation script ([install.sh](./scripts/install.sh) to test on a fresh install)
|
||||
- [~] Variables-template with defaults
|
||||
- [ ] Themes
|
||||
- [ ] Upload new wallpapers
|
||||
- [ ] macOS theme
|
||||
- [ ] Tofi (Wofi, but terminal based)
|
||||
- [ ] Add Vim Keybindings to KEYBINDINGS.md
|
||||
|
39
docs/WALLPAPERS.md
Normal file
39
docs/WALLPAPERS.md
Normal file
@ -0,0 +1,39 @@
|
||||
# Wallpapers
|
||||
|
||||
Wallpapers can be found in the ./home/wallpapers folder.
|
||||
|
||||
| Name | Preview |
|
||||
| -- | -- |
|
||||
| 146.png |  |
|
||||
| 147.png |  |
|
||||
| astronaut.png |  |
|
||||
| aurore.png |  |
|
||||
| barcode.png |  |
|
||||
| cat-leaves.png |  |
|
||||
| cloud.png |  |
|
||||
| clouds.png |  |
|
||||
| clouds2.png |  |
|
||||
| coffee.png |  |
|
||||
| dark.png |  |
|
||||
| dark_cloud.png |  |
|
||||
| fuji-dark.png |  |
|
||||
| fuji-light.png |  |
|
||||
| galaxy.png |  |
|
||||
| house-cloud.png |  |
|
||||
| key.png |  |
|
||||
| lavender-cat.png |  |
|
||||
| lofi-computer.png |  |
|
||||
| lofi-urban.png |  |
|
||||
| magma.png |  |
|
||||
| mountains-black.png |  |
|
||||
| mountains.png |  |
|
||||
| nix.png |  |
|
||||
| problems.png |  |
|
||||
| sea.png |  |
|
||||
| space.png |  |
|
||||
| space2.png |  |
|
||||
| street.png |  |
|
||||
| sun.png |  |
|
||||
| tokyo.png |  |
|
||||
| train.png |  |
|
||||
| windows.png |  |
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Compress png files in ./docs/src
|
||||
# Compress png files in ./docs/src and ./home/wallpapers
|
||||
|
||||
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
|
||||
|
||||
@ -14,6 +14,7 @@ for file in ./docs/src/*/*.png; do
|
||||
optipng "$file"
|
||||
done
|
||||
|
||||
# Wallpapers
|
||||
for file in ./home/wallpapers/*.png; do
|
||||
optipng "$file"
|
||||
done
|
||||
|
22
docs/scripts/create_preview_wallpapers.sh
Normal file
22
docs/scripts/create_preview_wallpapers.sh
Normal file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Create WALLPAPERS.md to preview wallpapers in ./home/wallpapers
|
||||
|
||||
WALLPAPERS_FOLDER="./home/wallpapers"
|
||||
WALLPAPERS_MD="./docs/WALLPAPERS.md"
|
||||
[[ -d "$WALLPAPERS_FOLDER" ]] || (echo "Wallpapers folder not found" && exit 1)
|
||||
|
||||
echo "# Wallpapers" >"$WALLPAPERS_MD"
|
||||
echo "" >>"$WALLPAPERS_MD"
|
||||
echo "Wallpapers can be found in the ./home/wallpapers folder." >>"$WALLPAPERS_MD"
|
||||
echo "" >>"$WALLPAPERS_MD"
|
||||
echo "| Name | Preview |" >>"$WALLPAPERS_MD"
|
||||
echo "| -- | -- |" >>"$WALLPAPERS_MD"
|
||||
|
||||
for file in $WALLPAPERS_FOLDER/*.png; do
|
||||
|
||||
echo "| $(basename $file) |  |" >>"$WALLPAPERS_MD"
|
||||
done
|
||||
|
||||
pandoc -t commonmark_x "$WALLPAPERS_MD" -o "/tmp/wallpapers.md"
|
||||
mv "/tmp/wallpapers.md" "$WALLPAPERS_MD"
|
@ -49,6 +49,7 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
|
||||
- [APPS.md](docs/APPS.md): Which apps are installed
|
||||
- [SCRIPTS.md](docs/SCRIPTS.md): Scripts that are available
|
||||
- [KEYBINDINGS.md](docs/KEYBINDINGS.md): Keybindings available in Hyprland
|
||||
- [WALLPAPERS.md](docs/WALLPAPERS.md): Preview of every wallpapers available
|
||||
|
||||
- [TODO.md](docs/TODO.md): What's next (feel free to contribute)
|
||||
- [CONTRIBUTING.md](docs/CONTRIBUTING.md): How to contribute
|
||||
|
Loading…
Reference in New Issue
Block a user