Skip to content

Commit d95299e

Browse files
author
Rehan Ali Rana
committed
Fixed minor config file formatting issues
1 parent 9b8f16d commit d95299e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dyn-wall-rs"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
authors = ["RAR27"]
55
edition = "2018"
66
license = "GPL-3.0-or-later"

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub mod time_track;
3232
fn main() {
3333
let mut program = Arc::new(None);
3434
let matches = App::new("dyn-wall-rs")
35-
.version("1.0")
35+
.version("1.0.1")
3636
.author("Rehan Rana <[email protected]>")
3737
.about("Helps user set a dynamic wallpaper and lockscreen. Make sure the wallpapers are named in numerical order based on the order you want. For more info and help, go to https://github.com/RAR27/dyn-wall-rs")
3838
.setting(AppSettings::ArgRequiredElseHelp)
@@ -164,7 +164,7 @@ fn create_config() -> Result<(), Box<dyn Error>> {
164164
config_dir.to_str().unwrap()
165165
))?;
166166
let default_test = "# Write down the times at which you want the wallpaper to change below\n\
167-
# The times must be in chronological order
167+
# The times must be in chronological order\n\
168168
# The number of images and the number of times should be equal\n\
169169
# ex:\n\
170170
# 00:00\n\
@@ -179,8 +179,8 @@ fn create_config() -> Result<(), Box<dyn Error>> {
179179
# 18:00\n\
180180
# 20:00\n\
181181
# 22:00\n\
182-
# The times are linked to the files in numerical order. This means that in the example above,
183-
# 1.png will be your wallpaper at 00:00, 2.png will be your wallpaper at 02:00, etc.
182+
# The times are linked to the files in numerical order. This means that in the example above,\n\
183+
# 1.png will be your wallpaper at 00:00, 2.png will be your wallpaper at 02:00, etc.\n\
184184
# The directory would need 12 images for this example to work, since there are 12 times stated";
185185

186186
config_file.write_all(default_test.as_bytes())?;

0 commit comments

Comments
 (0)