Skip to content

Commit

Permalink
Use systemd unit file for startup
Browse files Browse the repository at this point in the history
- bugfix: fix crash on gnome < 42.
  • Loading branch information
jkotra committed Jun 11, 2022
1 parent 3eda7c4 commit ac7afd8
Show file tree
Hide file tree
Showing 7 changed files with 207 additions and 87 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.5.0

---

* [**NEW**] use systemd unit for startup on linux.
* [**FIX**] crash on gnome-shell < 42.

# 1.4.0

---
Expand Down
157 changes: 102 additions & 55 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wpc"
version = "1.4.1"
version = "1.5.0"
authors = ["Jagadeesh Kotra <[email protected]>"]
edition = "2021"

Expand All @@ -11,6 +11,7 @@ edition = "2021"
log = "0.4.14"
env_logger = "0.9.0"
serde = { version="1.0", features=["derive"] }
serde-xml-rs = "0.5.1"
serde_json = "1.0"
reqwest = { version = "0.11", features = ["json"] }
clap = {version = "2.33", features = ["yaml"]}
Expand All @@ -20,7 +21,7 @@ enquote = "1.0.3"
dirs = "2.0.2"
image = "0.23.12"
notify = "4.0.17"
tokio = { version = "1", features = ["full"] }
tokio = { version = "1.8.4", features = ["full"] }

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,14 @@ The program will run setup wizard if `wallhaven.json` file is not found.enter yo

### Reddit.com

`./wpc -d . --reddit {subreddit_name} --reddit-n {quantity} --reddit-sort {hot|new|rising|top} --reddit-min-width 1920 --reddit-min-height 1080`

```
./wpc -d . --reddit {subreddit_name} --reddit-n {quantity} --reddit-sort {hot|new|rising|top} --reddit-min-width 1920 --reddit-min-height 1080
```
- Reddit example:

`./wpc -d . --reddit art --reddit-n 10 --reddit-sort top --reddit-min-width 1920 --reddit-min-height 1080`

```
./wpc -d . --reddit art --reddit-n 10 --reddit-sort top --reddit-min-width 1920 --reddit-min-height 1080
```

---

Expand Down
Loading

0 comments on commit ac7afd8

Please sign in to comment.