Mars-Wave
4636a71c8c
Write scales with as few digits as they need
2026-03-31 18:32:53 +02:00
Mars-Wave
aa9b98df59
Keep auto-apply snapshots and save them on hotplug
2026-03-19 22:20:50 +01:00
Mars-Wave
1882fef7e7
Save to the kanshi config when auto-apply ends
2026-03-18 18:54:53 +01:00
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
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
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 Gantner and TanShaochang
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
790e33e9d8
add new feature: autosave config profile for kanshi.
2023-10-08 09:09:22 +02:00