Commit graph

48 commits

Author SHA1 Message Date
Vaxry
c9238d39f6
core: move to hyprwayland-scanner (#88)
* core: move to hyprwayland-scanner

* Nix: add hw-s, bump flake

* CMake: fix wl-client -> wl-scanner

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-09-26 12:58:43 +01:00
cbd963e103 events: use enter coords 2024-08-06 17:10:40 +02:00
2da9a6071e core: minor log cleanups 2024-08-06 17:01:36 +02:00
cffd2ca3f8 core: migrate to hyprutils for utils 2024-07-17 17:08:10 +02:00
Dylan Laduranty
8791f717ef
core: remove unneeded GLES headers (#82)
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-07-15 16:35:24 +02:00
Lennart Klebl
67e0f34e27
core: fix segfault when cursor_shape is not supported (#76)
Co-authored-by: alcubierre-drive <alcubierre-drive>
2024-06-11 17:18:23 +02:00
bvr-yr
e2472f499d
output: colorize BG instead of FG (#70) 2024-04-15 16:49:59 +01:00
Félix Dorn
be7a0e82c4
fix: cmyk conversion on pure black (#69) 2024-04-12 00:38:16 +01:00
Mihai Fufezan
0eb49192a5
Nix: override wayland-protocols until merged
Fix include

Ref: https://nixpk.gs/pr-tracker.html?pr=297606
2024-03-24 14:24:36 +02:00
9f05fbdabe core: switch to server-side cursors
ref #51
2024-03-23 20:54:29 +00:00
b6130e3901 core: implement more safety around cursor themes
fixes #38
2023-10-30 16:48:36 +00:00
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
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
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
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
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
Luca Lumetti
b1543a3610 reset terminal color after cout 2022-10-28 01:08:57 +02:00
Kara
4c9f899509 Added --help argument 2022-09-04 22:48:37 -04:00
vaxerski
4ee64a6d0f remove hyprpaper mention 2022-09-02 21:55:34 +02:00
vaxerski
ceae5d7357 make LSes transparent on not-selecting displays 2022-09-02 21:24:01 +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
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
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
vaxerski
7d18b4816e initial commit 2022-09-02 18:06:00 +02:00