Make --output parameter optional
This commit is contained in:
parent
fe4e18f3b5
commit
fd6ece0041
3 changed files with 16 additions and 17 deletions
18
README.md
18
README.md
|
@ -1,6 +1,7 @@
|
|||
# Sway Wallpaper
|
||||
|
||||
Display wallpapers on Sway, this is essentially a wrapper for `swaybg`.
|
||||
Display wallpapers on Sway, this is essentially a wrapper for `swaybg` and `swaylock`, they are
|
||||
required to run this utility.
|
||||
|
||||
## Features
|
||||
|
||||
|
@ -14,21 +15,22 @@ Display wallpapers on Sway, this is essentially a wrapper for `swaybg`.
|
|||
## Usage
|
||||
|
||||
```
|
||||
usage: sway-wallpaper [options] <path> <output>
|
||||
usage: sway-wallpaper [options] <path>
|
||||
|
||||
required:
|
||||
output The outputs as shown with the command `swaymsg -t get_outputs`
|
||||
path The path to the directory containing the wallpapers
|
||||
path The path to the directory containing the wallpapers
|
||||
|
||||
options:
|
||||
-h, --help Show help
|
||||
-i, --interval Specify the interval between wallpapers in seconds
|
||||
--never-random if set, wallpapers order is based on the names of the files
|
||||
-h, --help Show help
|
||||
-i, --interval Specify the interval between wallpapers in seconds
|
||||
--lock Lock the screen using swaylock instead of applying a wallpaper
|
||||
--never-random if set, wallpapers order is based on the names of the files
|
||||
-o, --output The outputs as shown with the command `swaymsg -t get_outputs`, by default the wallpaper will be applied to all outputs
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
`./sway-wallpaper /path/to/wallpapers -i 3600 DP-1`
|
||||
`./sway-wallpaper /path/to/wallpapers -i 3600 -o DP-1`
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue