Commit graph

119 commits

Author SHA1 Message Date
Sepandar
5ab0e1aaa4
input: add keyboard movement (#143) 2025-11-06 00:25:41 +00:00
Pavel Khromov
b645b892b1
wayland: Add null check for cursor shape device (#145)
Fixes segmentation fault when running on Wayland compositors that don't support the cursor_shape_v1 protocol (e.g., Wayfire).

The crash occurs in the pointer enter event handler when attempting to call m_pCursorShapeDevice->sendSetShape() without checking if the device was successfully initialized. On compositors without cursor_shape_v1 support, m_pCursorShapeDevice remains null, leading to a null pointer dereference.
2025-10-31 15:03:31 +00:00
Sepandar
cd7ba93fad
core: add custom format decoration (#142)
* added custom format option

* removed redundant switch

* made error message more specifc
2025-10-17 02:01:04 +02:00
Joel Eapen
b3f3f230c9
docs: change css example in man page to use hsl (#139) 2025-10-01 11:22:45 +01:00
DreamMaoMao
6f32582d22
core: add more flexible positioning and scaling (#138)
* feat: use axis scroller to change scale

* feat: add option -s to set scale and -u to set radius

* Optimize optarg conversion
2025-09-15 23:45:32 +02:00
d6a1363a86
CI/Nix: add cache-nix-action
Use nixbuild/nix-quick-install-action which pairs well with
nix-community/cache-nix-action.

Should help with build times by reducing the number of packages needing
to be re-downloaded on each run.

Parameters are taken from https://github.com/nix-community/cache-nix-action
and may be tweaked later.
2025-06-20 01:26:39 +03:00
Sepandar
166dce0fae
core: fix the zoom bubble showing without coords (#133) 2025-06-14 15:09:29 +02:00
R3B00T
68bc7875fd
core: add Notifications Support (#130)
new feature, a flag for notifications -n /
--notify. It's using the notify-send command line utility to send
desktop notifications. By default I made it compatible with dunst (you
will need to enable full markup in the dunst config) but it should work
with other notification daemons too.
2025-06-10 18:39:45 +02:00
Friday
b01491ac4e nix: use gcc15
also updated dependencies
2025-06-06 01:26:40 +03:00
Sepandar
500c46185d
core: Make preview format match output format (#123) 2025-05-18 18:03:24 +02:00
Zed
8f886f9e9b
README: update arch package (#126) 2025-05-17 14:30:02 +02:00
st0rmbtw
1efe0faea0
core: Exit with the code 2 when the user has cancelled picking a color (#125) 2025-05-17 14:27:52 +02:00
b0c0db66fa core: remove spammy log
fixes #122
2025-05-14 00:50:05 +02:00
980ebd486b
version: bump to 0.4.5 2025-05-01 01:54:26 +01:00
Honkazel
5dcb341c13
clang-tidy: fix some errors (#118) 2025-04-22 23:24:11 +02:00
nyx
5bbeaeebd3
LayerSurface: always render in callback (#117)
* LayerSurface: always render in callback
2025-04-21 20:47:47 +02:00
fd77aea026 version: bump to 0.4.4 2025-04-11 13:58:11 +01:00
nyx
23664963a1
layerSurface: fix commit lag (#114) 2025-04-09 17:47:02 +02:00
6692091d56 core: buffer handling fixes
fixes #101
2025-03-31 21:27:04 +01:00
09101f77a4 version: bump to 0.4.3 2025-03-24 11:34:15 +00:00
nyx
e990630562
layerSurface: fix circle not following cursor movement (#113)
* layerSurface: fix circle not following cursor movement

* misc: format code
2025-03-21 09:35:34 +01:00
Honkazel
b85b06577d
core: clang-tidy and comp fixes (#110)
* clang-tidy and comp fixes

* remove stupid comment

* oaooaoaoaoao

* quack

* remove comment
2025-02-21 21:32:08 +01:00
Sepandar
36a24e61be
core: Fix negative HSV values (#111)
* fixed description in CMakeLists.txt and fixed negative hsv

* ran clang-format
2025-02-15 18:50:05 +01:00
c3777320b3
flake.lock: update 2025-01-23 14:33:21 +02:00
0b044884d9 version: bump to 0.4.2 2025-01-17 17:03:08 +01:00
Shreya Gurram
18af93f0ff
feat: adds flag for lowercase hex code (#105)
* feat: adds flag for lowercase hexcodes

* formatting changes
2025-01-17 16:02:10 +00:00
444c40e5e3 core: fix build with hw-s 0.4.4
fixes #102
2024-12-30 19:43:17 +01:00
Austin Horstman
46d2f5a817
flake.nix: gcc13 -> gcc14; flake.lock: update (#99)
* flake.nix: gcc13 -> gcc14

* flake.lock: update
2024-12-16 22:26:55 +01:00
Shreya Gurram
d26cb2f439
core: add a hexcode preview below the cursor (#95) 2024-11-28 16:09:39 +00:00
Vaxry
4e8837ddab
core: minor transform fixes (#94) 2024-11-09 23:02:33 +00:00
89b9352d26 core: don't read negative pixel values in getColorFromPixel 2024-10-24 23:51:22 +01:00
17e1ebe9dc core: avoid out-of-bound reads in getColorFromPixel
fixes #92
2024-10-24 23:50:35 +01:00
TeChn4K
185be7cd73
Nix: rename utillinux to util-linux (#93) 2024-10-24 17:49:02 +03:00
4411a6dc0d README: update options 2024-09-30 22:36:50 +01:00
116cec14a5 version: bump to 0.4.1 2024-09-30 15:05:55 +01:00
3b42f6bee2 core: avoid crash in done callbacks
fixes #89
2024-09-30 15:05:42 +01:00
4d6d01c495 version: bump to 0.4.0 2024-09-29 18:25:12 +01:00
e22a8d437b core: add --version 2024-09-29 18:24:57 +01:00
ed3f644af7 core: implement fractional scaling support
Additionally, adds --quiet, --verbose.
2024-09-29 18:21:47 +01:00
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
svin
38fe668e58
CMake: ensure the manpage location is correct (#86) 2024-08-22 14:26:50 +03: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
c36676ad0c
Nix: makeover 2024-07-18 21:01:51 +03:00
45032489e2
CMake: fmt 2024-07-18 20:53:14 +03:00
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