Commit Graph

58 Commits

Author SHA1 Message Date
Vaxry b6130e3901 core: implement more safety around cursor themes
fixes #38
2023-10-30 16:48:36 +00:00
Vaxry 8a7799ae20 core: support conversions from 10-bit formats
Fixes #16

Authored-by: niki-on-github <arch@local>
2023-10-28 17:31:18 +01:00
TheOnlyMrCat 94010d6b9a
events: Use xkbcommon for keyboard event handling (#43) 2023-10-11 11:24:10 +01:00
vaxerski 7e1765f9f3 internal: fix usage of execlp in clipboard::copy
fixes #42
2023-10-05 11:49:47 +01:00
Vaxry 5ba3268694 internal: use newBuf data for storage of the bitmap 2023-08-07 18:58:44 +02:00
vaxerski 03bc27be94 internal: transform received screencopy buffer 2023-08-04 20:41:30 +02:00
éclairevoyant 0889bd5f6f
use crosshair instead of left pointer as cursor (#37) 2023-06-27 13:33:46 +02:00
Vaxry 1d05cc3423 internal: include sys/types 2023-06-21 13:19:47 +02:00
vaxerski deaca6a4d8 core: avoid leaving garbage buffers on exit 2023-05-29 19:09:58 +02:00
Mihai Fufezan 0eea88367a
flake.lock: update nixpkgs 2023-05-16 22:27:51 +03:00
Mihai Fufezan 7d78a25fe1
CI: update nix install action 2023-05-03 23:40:19 +03:00
Vaxry 97c5134753
readme: include new options 2023-04-27 14:46:16 +01:00
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