Commit graph

74 commits

Author SHA1 Message Date
bf6dface52
CMake, Nix: add VERSION file 2024-07-18 20:52:42 +03: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
Dylan Laduranty
653eddcbc3
cmake: remove unneeded dependencies (#81)
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-07-15 15:38:47 +02:00
Corentin Guillevic
b0974381f9 README: add required Debian packages to build 2024-07-02 01:45:34 +03: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
36d974181d cmake: use CXX_STANDARD instead of a flag
ref #74
2024-06-06 11:49:13 +02:00
Daniel Horton
bff005ac9c
README: Fixed getconf command in build instructions (#72)
getconf NPROCESSORS_CONF isn't a valid command. The correct command is getconf _NPROCESSORS_CONF.
2024-05-14 16:13:12 +01:00
rewine
7862376a40 nix: don't need wlroots as build input 2024-05-11 11:54:20 +03: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
Mihai Fufezan
0e416939a1
Makefile: remove
No longer used. Functionality has been transfered to CMake.
2024-03-12 22:16:45 +02:00
Mihai Fufezan
698b6ecd54
CMake: add protocol building and install rule
Makefile: delegate protocols to CMakeLists.txt
Nix: update derivation
2024-03-12 21:50:25 +02:00
Evie Ciobanu
2ef703474f fix: nixos build, missing ligblvnd 2023-12-31 03:57:43 +02: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
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