Skip to content

Commit

Permalink
Added hyprpicker as --color-picker
Browse files Browse the repository at this point in the history
A wlroots-compatible Wayland color picker that does not suck.
https://github.com/hyprwm/hyprpicker
  • Loading branch information
mrusme authored and sharkdp committed Sep 26, 2023
1 parent 736fdf2 commit 3d7c301
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ pub fn build_cli() -> Command<'static> {
- KColorChooser (https://kde.org/applications/graphics/org.kde.kcolorchooser)\n \
- zenity (https://wiki.gnome.org/Projects/Zenity)\n \
- yad (https://github.com/v1cont/yad)\n \
- hyprpicker (https://github.com/hyprwm/hyprpicker)\n \
- macOS built-in color picker")
.arg(
Arg::new("count")
Expand Down
7 changes: 7 additions & 0 deletions src/cli/colorpicker_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ pub static COLOR_PICKER_TOOLS: Lazy<Vec<ColorPickerTool>> = Lazy::new(|| {
version_output_starts_with: b"",
post_process: None,
},
ColorPickerTool {
command: "hyprpicker",
args: &[],
version_args: &["-h"],
version_output_starts_with: b"",
post_process: None,
},
#[cfg(target_os = "linux")]
ColorPickerTool {
command: "gdbus",
Expand Down

0 comments on commit 3d7c301

Please sign in to comment.