-
Notifications
You must be signed in to change notification settings - Fork 0
3. Usage Guide
WallWiz is a versatile wallpaper manager with a variety of options for customizing your desktop's appearance. Below is a detailed guide to its usage, along with examples to help you get started.
Option | Shortcut | Default | Description |
---|---|---|---|
--wall-dir |
-d |
Current directory |
Wallpaper directory path. Can also be set using the WALLPAPER_DIR environment variable. |
--random |
-r |
false |
Apply a random wallpaper from the specified directory. |
--img-size |
-s |
100x30 |
Image size in cell. Format: WIDTHxHEIGHT . |
--light-theme |
-l |
false |
Enables light theme mode. |
--padding |
-p |
1x1 |
Container padding in cells. Format: VERTICLExHORIZONTAL . |
--enable-pagination |
-e |
false |
Display wallpapers in a fixed-size grid. Remaining wallpapers will be displayed in the next grid upon navigation. |
--grid-size |
-g |
4x4 |
Wallpaper grid size. Format: WIDTHxHEIGHT . |
--theme-extensions |
-t |
false |
Download theme extension scripts. |
--color-backend |
-c |
magick {} -format %c -define histogram:method=kmeans -colors 16 histogram:info: |
Set color extraction command. |
--wallpaper-handler |
-w |
false |
Download wallpaper handler script. |
--browse |
-b |
false |
Browse wallpapers online. |
--repo-url |
-u |
https://github.com/5hubham5ingh/WallWiz/tree/wallpapers |
Wallpaper repository GitHub URL(s). Can also be set using the WALLPAPER_REPO_URLS environment variable. |
--api-key |
-k |
None |
GitHub API key for increasing API's rate limit. Can also be set using the GITHUB_API_KEY environment variable. |
--show-keymap |
-m |
false |
Print keymaps for the user interface. |
--disable-notification |
-n |
false |
Disable desktop notifications. |
--disable-autoscaling |
-a |
false |
Disable auto scaling terminal size to fit all images. |
--set-interval |
-v |
disabled |
Apply random wallpaper periodically at set interval. |
--set-interval-callback |
-f |
none |
Inject JS to modify the arguments at setInterval. |
--hold |
-o |
flase |
Hold application open even after the wallpaper has been applied. |
--plimit |
-x |
auto |
Number of execution threads used. |
--help |
-h |
false |
Print help. |
--version |
Print the program version. |
Specifies the directory containing your wallpapers. You can also set this using the WALLPAPER_DIR
environment variable.
Example:
WallWiz -d ~/Pictures/wallpapers
Applies a random wallpaper from the specified directory.
Example:
WallWiz -r -d ~/Pictures/wallpapers
Defines the display size of images in cells. Format: WIDTHxHEIGHT
.
Example:
WallWiz -s 150x40 -d ~/Pictures/wallpapers
Enables light theme mode.
Example:
WallWiz -l -d ~/Pictures
Sets the container padding in cells. Format: VERTICLExHORIZONTAL
.
Example:
WallWiz -p 2x2 -d ~/Pictures
Enables grid pagination for wallpaper display.
Example:
WallWiz -e -g 5x5 -d ~/Pictures
Defines the size of the wallpaper grid. Format: WIDTHxHEIGHT
.
Example:
WallWiz -g 3x3 -d ~/Pictures
Downloads theme extension scripts.
Example:
WallWiz -t -d ~/Pictures
Define color extraction command.
Example:
WallWiz -c "matugen image {} -j hex"
Downloads the wallpaper handler script.
Example:
WallWiz -w -d ~/Pictures
Browse and download wallpapers online.
Example:
WallWiz -b -u https://github.com/5hubham5ingh/WallWiz/tree/wallpapers
Specifies a wallpaper repository URL. Supports multiple URLs separated by semicolons (;
).
Example:
WallWiz -u https://github.com/D3Ext/aesthetic-wallpapers/tree/main/images;https://github.com/5hubham5ingh/WallWiz/tree/wallpapers
Sets a GitHub API key to increase API rate limits. You can also use the GITHUB_API_KEY
environment variable.
Example:
WallWiz -k YOUR_API_KEY -b -u https://github.com/5hubham5ingh/WallWiz/tree/wallpapers
Displays the user interface key mappings.
Example:
WallWiz -m
Disables desktop notifications.
Example:
WallWiz -n -d ~/Pictures
Disables auto-scaling of the terminal size to fit all images.
Example:
WallWiz -a -d ~/Pictures
Applies a random wallpaper periodically at the specified interval (in milliseconds).
Example:
WallWiz -v 3600000 -d ~/Pictures
Injects a JavaScript snippet to modify user arguments at setInterval
.
Example:
WallWiz -v 3600000 -c "(globalThis.USER_ARGUMENTS ??= {})['enableLightTheme'] = ((h) => h >= 6 && h < 18)(new Date().getHours())"
Keeps the application open even after the wallpaper has been applied.
Example:
WallWiz -o -d ~/Pictures
Sets the number of execution threads to use.
Example:
WallWiz -x 4 -d ~/Pictures
Displays the help menu.
Example:
WallWiz -h
Displays the program version.
Example:
WallWiz --version
-
Download Theme Extensions and Apply Light Theme:
WallWiz -t -l -d ~/Pictures
-
Enable Grid View with Pagination and Disable Autoscaling:
WallWiz -e -a -g 4x4 -d ~/Pictures
-
Set Wallpapers Based on the time:
WallWiz -v 3600000 -c "(globalThis.USER_ARGUMENTS ??= {})['wallpapersDirectory'] = ((h) => h >= 6 && h < 18 ? '~/pics/nature/' : '~/pics/anime/')(new Date().getHours())"
-
Browse Wallpapers from Multiple Repositories:
WallWiz -b -u https://github.com/D3Ext/aesthetic-wallpapers/tree/main/images;https://github.com/5hubham5ingh/WallWiz/tree/wallpapers
For more information or query, check out the FAQ.