Commit Graph
104 Commits
Author SHA1 Message Date
Mars-Wave 3a2a1878d5 Drop the store_path setting from wdisplays.conf 2026-03-16 22:51:10 +01:00
Mars-Wave 1522139259 Follow includes when matching kanshi profiles 2026-03-15 19:06:44 +01:00
Mars-Wave 879352f129 Keep comments inside block-form kanshi outputs 2026-03-10 19:41:12 +01:00
Mars-Wave 0d806aa38a Keep adaptive_sync on disabled kanshi outputs 2026-03-09 23:52:42 +01:00
Mars-Wave 82c33052b0 Write through dangling kanshi config symlinks 2026-03-08 23:31:24 +01:00
Mars-Wave e37e313b80 Treat an empty WDISPLAYS_KANSHI_CONFIG as unset 2026-03-06 21:06:53 +01:00
Mars-Wave 85c801526b Reload kanshi after saving its config 2026-03-05 20:49:07 +01:00
Mars-Wave 80fa88173b Add a menu toggle for saving to the kanshi config 2026-03-04 23:11:26 +01:00
Mars-Wave e0699ff04d Report kanshi config errors in the info bar only 2026-03-03 19:17:07 +01:00
Mars-Wave 9cf3651140 Name new kanshi outputs by their EDID identity 2026-02-25 21:52:28 +01:00
Mars-Wave 6bed905159 Keep a symlinked kanshi config a symlink 2026-02-23 20:46:49 +01:00
Mars-Wave 0e9f444947 Create a missing kanshi config directory 2026-02-22 21:56:10 +01:00
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
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
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
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
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
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
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
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
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
redtide 052c492040 Fixed license SPDX ID in main meson.build 2023-07-01 13:37:40 +02:00
redtide 0683283fa5 Updated desktop file
- Removed Version key: it's the version of the Desktop Entry Specification, not the application version and it's not required (see Table 2. Standard Keys in the specification)
- Set a real Name to display in menu for the application, with GenericName and Comment (same page as above)
- Italian translation strings
2023-07-01 12:45:24 +02:00
redtide 919726a2e5 Bump to current development version, use semver 2023-07-01 12:37:16 +02:00
redtide aefde05389 Added .editorconfig and .clang-format 2023-07-01 12:35:38 +02:00
redtide c15e5870d9 Ignore QtCreator files 2023-07-01 12:34:46 +02:00