Commit Graph

46 Commits

Author SHA1 Message Date
vaxerski cc6b3234b2 clang-format, no-zoom and render-inactive 2023-03-31 17:41:40 +01:00
scorpion-26 234c2da51a
Add support for 24 bit formats (#29)
This was the missing puzzle-piece for support for NVidia-GPUs
2023-03-09 14:31:47 +00:00
vaxerski e4c267292a clear LSes at finish 2023-02-03 11:41:43 +00:00
vaxerski bec451ee84 disconnect from display on finish 2023-02-03 10:47:49 +00:00
vaxerski 7ae1d1dabd don't flush display after disconnect 2023-02-03 10:46:18 +00:00
lisuke fe4535a273
fix autocopy. (#26)
* fix autocopy.
2023-01-09 14:15:58 +01:00
Anton Samokhvalov ef6009f71c
fix clang build (#24) 2023-01-05 14:37:53 +01:00
Mihai Fufezan 6dc7f3321e
CI: update actions 2023-01-03 16:57:33 +02:00
Mihai Fufezan 7e21c0a087
Nix: push to Cachix 2023-01-03 16:52:33 +02:00
TheSunCat 422b36c125
Add keyboard listener and listen to escape to quit hyprpicker (#20)
* Add keyboard listener and listen to escape for quit
2023-01-02 19:32:11 +01:00
Stefan Römer aa3c2acd59
fix issue #17: hyprpicker stops working after a couple of uses (#18)
Hyprpicker stopped working after running several times when started
with option '-a'. The reason was that finish() has not been called after
wl-copy replaced the currently running process due to the call of
execlp() (execlp() never returns in that case).

To fix this issue finish now is called before the call of execlp()
when hyprpicker is running with option '-a'

Co-authored-by: Stefan Römer <sroemer@github.com>
2022-12-17 22:56:45 +00:00
Thomas Voss f6c24d90e3
Document the --autocopy flag (#15)
* Sort arguments alphabetically

* Document the --autocopy flag
2022-11-20 10:37:39 +00:00
Maksim 3255d91668
Add autocopy support for HSL, HSV, CMYK (#14) 2022-11-19 19:35:37 +00:00
Thomas Voss 7d2db8b232
Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12)
* use getopt_long(3) and support short options

Now instead of `--format`, `--no-fancy`, and `--help` you can also use
`-f`, `-n`, and `-h`.  Additionally instead of just being able to do
`--format <fmt>` you can now do the standard `--format=<fmt>`.

* remove initial space when m_bFancyOutput is true

* add the HSL format

* add the HSV format

* add a manual page

* silence compiler warning

* make all the default target, and add install rule

* add the CMYK format

* add new formats to the README
2022-11-19 17:02:11 +00:00
Maksim a82b20e979
Add autocopy option (#13)
* Add autocopy option

* Specify autocopy requirements
2022-11-19 14:53:05 +00:00
Vaxry 06be1c9348
Merge pull request #11 from LucaLumetti/main
Reset terminal color when using fancy outputting
2022-10-28 09:55:05 +01:00
Luca Lumetti b1543a3610 reset terminal color after cout 2022-10-28 01:08:57 +02:00
Vaxry 69dc644b9f
Merge pull request #6 from Kara-Zor-El/main
Add `--help` argument
2022-09-05 13:17:17 +02:00
Kara 4c9f899509 Added --help argument 2022-09-04 22:48:37 -04:00
Vaxry c9e6fa3c88
updated readme 2022-09-03 15:59:17 +02:00
Vaxry 4977496ba5
updated readme 2022-09-03 15:58:42 +02:00
vaxerski 4ee64a6d0f remove hyprpaper mention 2022-09-02 21:55:34 +02:00
Vaxry 03bcd2e129
use a gif in readme 2022-09-02 21:36:28 +02:00
vaxerski 1e0d37f13c suppress pointer arith warnings 2022-09-02 21:26:33 +02:00
vaxerski ceae5d7357 make LSes transparent on not-selecting displays 2022-09-02 21:24:01 +02:00
vaxerski a110c397e2 mention no fancy in readme 2022-09-02 21:15:22 +02:00
vaxerski db2aaa01de added fancy output 2022-09-02 21:14:44 +02:00
vaxerski 819195131b use # for color 2022-09-02 20:57:16 +02:00
vaxerski 1eb3e092ab fixed matrix transform on scaled 2022-09-02 20:53:41 +02:00
vaxerski fb56dc68ca added format 2022-09-02 20:44:47 +02:00
Mihai Fufezan b3bb8ea12e Workflows: add Nix CI 2022-09-02 21:38:14 +03:00
Mihai Fufezan 5f7977c6a4 Nix flake: init 2022-09-02 21:38:14 +03:00
vaxerski 1611dbc158 offset properly 2022-09-02 20:28:34 +02:00
vaxerski c9bdb79a90 fix preview color 2022-09-02 20:26:48 +02:00
vaxerski 0ecbeda12e offset the picker by 5px 2022-09-02 20:25:50 +02:00
Vaxry a82106df3c
Merge pull request #2 from ThatOneCalculator/patch-1
Update README.md
2022-09-02 19:46:24 +02:00
Vaxry 02011dd704
better image in readme 2022-09-02 19:43:00 +02:00
Kainoa Kanter ec40106cde
Update README.md 2022-09-02 10:42:07 -07:00
vaxerski 0fc1134119 added missing file 2022-09-02 19:39:59 +02:00
vaxerski 9a577dc2e0 some rendering reworks 2022-09-02 19:39:47 +02:00
vaxerski 02471970aa guard XCURSOR_SIZE 2022-09-02 18:34:04 +02:00
vaxerski 13865551f2 guard name 2022-09-02 18:19:24 +02:00
Vaxry d0ed94a52d
mention caveats 2022-09-02 18:15:51 +02:00
Vaxry ae69e6d5f2
added image 2022-09-02 18:07:53 +02:00
vaxerski 7d18b4816e initial commit 2022-09-02 18:06:00 +02:00
Vaxry 9da08f1896
Initial commit 2022-09-02 18:04:12 +02:00