Skip to content

Commit

Permalink
Update dependencies and add new screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Soft committed Aug 17, 2021
1 parent f23338a commit eb7a57e
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 30 deletions.
53 changes: 29 additions & 24 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ keywords = ["color", "utility", "color-picker", "x11"]
homepage = "https://github.com/Soft/xcolor"
repository = "https://github.com/Soft/xcolor"
build = "build.rs"
exclude = ["docker/*", "_config.yml"]
exclude = ["_config.yml"]
edition = "2018"

[dependencies]
anyhow = "1.0"
nom = "6.0"
nom = "6.2"
clap = "2.33"
nix = "0.17"
nix = "0.22"
lazy_static = "1.4"

[dependencies.x11]
version = "2.3"
version = "2.18"
features = ["xlib", "xcursor"]

[dependencies.xcb]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![dependency status](https://deps.rs/repo/github/soft/xcolor/status.svg)](https://deps.rs/repo/github/soft/xcolor)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

<img align="right" src="https://raw.githubusercontent.com/Soft/xcolor/master/extra/screenshot.png">
<img align="right" width="250" src="https://raw.githubusercontent.com/Soft/xcolor/master/extra/screenshot.png">

Lightweight color picker for X11. Use mouse to select colors visible anywhere on
the screen to get their RGB representation.
Expand Down
Binary file modified extra/screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use xcb::xproto;
use crate::atoms;

pub fn into_daemon() -> Result<ForkResult> {
match fork()? {
match unsafe {fork()}? {
parent @ ForkResult::Parent { .. } => Ok(parent),
child @ ForkResult::Child => {
unistd::setsid()?;
Expand Down

0 comments on commit eb7a57e

Please sign in to comment.