Commit Graph
159 Commits
Author SHA1 Message Date
Mars-Wave f20965d6ce Parse the kanshi config the way kanshi does 2026-02-20 20:55:52 +01:00
Mars-Wave b099e8aeb2 Look up the kanshi config path with GLib 2026-02-15 20:02:50 +01:00
Mars-Wave dd2a2155f4 Write kanshi numbers in the C locale 2026-02-14 21:52:29 +01:00
Mars-Wave d428057171 Write 'disable' for outputs that are turned off 2026-02-11 19:31:21 +01:00
Mars-Wave 494563d48f Write every transform to the kanshi config 2026-02-10 21:24:48 +01:00
Mars-Wave 07aedb5730 Request make, model and serial from heads 2026-02-08 23:29:02 +01:00
Mars-Wave a5946d02c9 Update wlr-output-management protocol to version 2 2026-02-05 23:09:49 +01:00
Mars-Wave ac6968b525 Remove stale store_config declaration 2026-02-04 19:09:19 +01:00
Mars-Wave a7406b7ce0 Build store.c only with the kanshi feature 2026-02-02 23:02:11 +01:00
Mars-Wave 2b6328c3a6 Rename meson.options to meson_options.txt 2026-02-01 20:17:42 +01:00
Mars-Wave 6e3bc38a71 Pass startup options through user data 2026-01-28 18:29:56 +01:00
Mars-Wave 5fc248484e Add command-line options for the menu toggles 2026-01-24 19:15:41 +01:00
Mars-Wave d03af89d59 Share one GSettings and survive a missing schema 2026-01-21 20:54:22 +01:00
Lauren Lagarde 3701a7cd3a Add license to .reuse/dep5 2026-01-19 16:51:49 -06:00
Lauren Lagarde 7536fcdc9c Automatically load and save application preferences found in hamburger menu 2025-12-11 21:08:06 -06:00
Mars-Wave a6cdf63a06 Keep disabled outputs disabled when applying 2025-11-28 21:02:17 +01:00
Mars-Wave 294642363f Recycle failed capture buffers, release when off 2025-11-23 22:05:32 +01:00
Mars-Wave 63479fc178 Capture screen previews a few times per second 2025-11-17 20:04:38 +01:00
Mars-Wave ef4c74791a Leave the cursor out of screen previews 2025-11-04 17:42:34 +01:00
Mars-Wave b417d0ed57 Reuse screencopy buffers between frames 2025-11-01 20:56:15 +01:00
Mars-Wave ca0559dd61 Size the canvas by logical size, redraw on change 2025-10-25 18:05:11 +02:00
Mars-Wave 063d2ad2d5 Snap outputs to the compositor's logical size 2025-10-23 20:39:29 +02:00
Mars-Wave 4f81761e7c Fix the canvas extent of scaled and offset heads 2025-10-22 19:41:39 +02:00
Mars-Wave f8df97339e Keep the drag origin fixed while dragging a head 2025-10-04 17:50:01 +02:00
Mars-Wave 87f4d45052 Allow negative output positions 2025-10-03 19:15:01 +02:00
Mars-Wave a909521043 Stop marking overlay labels as opaque 2025-09-26 23:37:02 +02:00
Mars-Wave 686634300c Keep building with GLib older than 2.74 2025-09-16 17:00:05 +02:00
arti 157b8c51e8 Release 1.1.3 1.1.3 2025-07-25 14:43:47 +03:00
arti 79225e57a3 Merge pull request #13 from Aleksanaa/fixes
Fixed menu scaling issue by disabling the use of GTK popover
2025-07-25 12:53:02 +03:00
arti 4257ef446b Release 1.1.2 1.1.2 2025-07-25 12:43:53 +03:00
arti cef925b96a Merge pull request #25 from ceamac/fix/C23
Fix C23 issues
2025-07-25 12:37:57 +03:00
Jason André Charles Gantner df24d9e2b5 cleanup unused var 2025-07-08 15:34:17 +02:00
Jason André Charles Gantner a781fcea5e fix deprecated gtk flags 2025-07-08 14:45:22 +02:00
Jason André Charles Gantner 1bafe35363 fix deprecated meson syntax 2025-07-08 14:43:27 +02:00
Stefan Zipproth 692c5ff90e Fix profile matching for unquoted output syntax
The match() function was still using the old quoted output syntax
("output \"%99[^\"]\"" pattern) which fails to match profiles
written with the new unquoted syntax (output DP-3).

This caused duplicate profiles to be created instead of updating
existing ones. Now supports both quoted (legacy) and unquoted
(current) output formats for backward compatibility.
2025-06-27 22:41:40 +02:00
Stefan Zipproth 2e7f3834e0 Fix kanshi compatibility by using output names instead of descriptions
Kanshi fails to match profiles when output descriptions contain parentheses
like 'Iiyama North America PL2294H2 1207823601758 (DP-3)'. According to
kanshi(5) manual, valid output criteria are:
- Output names (e.g. 'DP-1')
- Manufacturer/Model/Serial without parentheses

This changes store.c to use head->name (e.g. 'DP-3') instead of
head->description, making kanshi profiles work correctly.

Fixes 'no profile matched' error when kanshi tries to apply configurations.
2025-06-27 16:34:55 +02:00
Jason André Charles Gantner 1fd8447fbb make kanshi config update an optional feature 2025-07-08 15:30:19 +02:00
Jason André Charles GantnerandTanShaochang 3d81cf5199 Add licensing header(s) (#3)
* Add partial licensing header

* add licensing info where needed

* Update SPDX header in store.c

---------

Co-authored-by: TanShaochang <30321432+petertheprocess@users.noreply.github.com>
2025-07-08 02:10:16 +02:00
Jason André Charles Gantner 3a07d4174c PR#11 improvment proposal (#1)
* check config path only on startup

* use HEADS_MAX from wdisplays.h

* remove useless strcpy

* update readme and meson syntax

* clang-format
2025-07-01 00:40:16 +02:00
Viorel Munteanu 6b7c637875 Fix C23 issues
gcc 15 is more strict and compiles C by default with C23.  `noop` is
used as a default null initializer, but now it must have the correct
type, so add a cast.

See also: https://bugs.gentoo.org/946954
2024-12-28 11:56:49 +02:00
Shaochang Tan 397ea38968 1. remove vscode settings
2. check $XDG_CONFIG_HOME before $HOME
3. all MAX SIZE now use platform-based macro from limits.h rather than magic number
2024-05-31 20:45:27 +02:00
aleksana 50e549465d Fixed menu scaling issue by disabling the use of GTK popover
This fixes https://github.com/artizirk/wdisplays/issues/9
2023-10-08 17:05:31 +08:00
Shaochang Tan 86c1a529c1 update readme 2023-10-08 09:21:01 +02:00
Shaochang Tan 790e33e9d8 add new feature: autosave config profile for kanshi. 2023-10-08 09:09:22 +02:00
arti 6233901a88 Merge pull request #8 from alex-courtis/add-way-displays
add way-displays to readme
2023-07-26 15:42:56 +03:00
arti 2c5e4d72b5 Merge pull request #7 from bhepple/patch-3
Update README.md - update fedora package location
2023-07-26 15:41:20 +03:00
Alexander Courtis 4cc1d2300d add way-displays to readme 2023-07-03 14:06:16 +10:00
Bob Hepple 7afc947f62 Update README.md - update fedora package location 2023-07-03 12:53:51 +10:00
redtide 1a32d8bbe2 Minor changes to changelog 1.1.1 2023-07-01 14:07:26 +02:00
redtide 64aa4a551d Added CHANGELOG.md (keepachangelog.com format) 2023-07-01 14:01:16 +02:00