ArchLinux wallpaper that applies a mask effect with text listing installed packages on the system
- Shell 100%
|
|
||
|---|---|---|
| .gitignore | Add .gitignore | |
| base_wallpaper.png | Initial commit | |
| example.png | Add missing example.png image | |
| LICENSE | Initial commit | |
| pacpaper | Use magick instead of depracated convert | |
| README.md | Better readability | |
Example of an wallpaper generated by this script
Installation
With your favourite AUR helper, example:
paru pacpaper-git
Manually:
git clone https://codeberg.org/Didek/pacpaper.git
makepkg -si
Usage
Call pacpaper command, it would generate wallpaper in the current directory.
Tweak the options like font size or input image to best match your liking, monitor resolution and configuration.
Script comes with prebundled hires base image.
Options:
-h, --help
Show help
-o, --output
Specity the path to generate masked image into, default: result.png
It would be at the same resolution as input
-i, --input
Specify the path to base image to generate from
-n, --noice
Apply additional grayscale noice on the mask to make more complex images more readable. Image generation would take longer
-f, --font
Specify font, default: NimbusMonoPS-Regular
-fs, --font-size
Specify font size, default: 20
-y, --yes
Overwrite file if exists
-v, --verbose
Verbose output
Automatic generation
- Uncomment in
/etc/pacman.conf:
HookDir = /etc/pacman.d/hooks/
- Create a file
/etc/pacman.d/hooks/pacpaper.hook:
[Trigger]
Operation = Remove
Operation = Install
Operation = Upgrade
Type = Package
Target = *
[Action]
Description = Update the pacpaper wallpaper
When = PostTransaction
Exec = /usr/bin/pacpaper -y -o /var/local/pacpaper.png
- Test by updating/installing a package, result should be at
/var/local/pacpaper.png