Commit Graph

158 Commits

Author SHA1 Message Date
Lysec 48fe0f91a5 fix(theming): skip theme writes and hooks when wallpaper change produces no diff
Issue: #2400
2026-04-07 22:29:00 +02:00
Mia Herkt d97918f3ac template-processor: add rgb(a)_csv formats
This is the format e.g. KDE saves colors in.
2026-04-05 00:53:49 +02:00
Mia Herkt 8db923d66f Theming: add apply script for KDE
There are problems with plasma-apply-colorscheme:

It refuses to apply a color scheme that is already active,
necessitating a switch to a different scheme.
This is both slow and causes flickering.

Fix this by using a custom script to apply the color scheme:
Just overwrite the config sections in kdeglobals and send the
change notification signal via D-Bus.
2026-04-05 00:41:57 +02:00
Sunrongguo2008 9b39d67563 fix(template): ensure kitty's live config reload after theme regeneration 2026-04-04 19:09:35 +08:00
Lysec ed117eb94c fix(theming): always sync prefer-light/dark with system theme toggle
Issue: #2357
2026-04-02 10:53:19 +02:00
Lysec 09386b1903 fix(theming): sync gtk-theme with color-scheme when system sync is on 2026-03-31 03:09:55 +02:00
Lysec 40c8b17620 Merge pull request #2324 from cbxcvl/fix/renderer-redos
fix(renderer): remove ambiguous \s* from _BLOCK_RE to prevent ReDoS
2026-03-31 02:52:40 +02:00
Lysec cc4cf9cc44 Merge pull request #2327 from cbxcvl/fix/expr-re-redos
fix(renderer): remove ambiguous \s* from _EXPR_RE to prevent ReDoS
2026-03-31 02:52:30 +02:00
Lysec a4b7a693e5 Merge pull request #2328 from cbxcvl/fix/parse-if-redos
fix(renderer): remove ambiguous \s* from _parse_if regex to prevent ReDoS
2026-03-31 02:52:27 +02:00
Lysec 90a5dd1cd8 fix(theming): keep system color-scheme in sync on every dark mode change
Issue: #2357
2026-03-31 02:10:12 +02:00
Lemmy f85b4a7e6d fix(templating) improved handling of symlinks 2026-03-29 11:44:43 -04:00
cbxcvl 6e71050593 fix(renderer): remove ambiguous \s* from _parse_if regex to prevent ReDoS
The pattern \s*(.+?)\s* in _parse_if allowed polynomial backtracking
when no closing }} was found — confirmed to hang at n=5000 whitespace
chars. The \s* wrappers were redundant since group(1) is already
stripped at the call site.

Reported and patched with @pa1va. Closes #2326
2026-03-27 13:53:54 -03:00
cbxcvl e91d20ef0d fix(renderer): remove ambiguous \s* from _EXPR_RE to prevent ReDoS
The pattern \s*([^}\n]+?)\s* allowed polynomial backtracking when no
closing }} was found — confirmed to hang at n=5000 whitespace chars.
The \s* wrappers were redundant since group(1) is already stripped at
the call site.

Reported and patched with @pa1va. Closes #2325
2026-03-27 13:53:32 -03:00
cbxcvl 4ad7ffbbdf fix(renderer): remove ambiguous \s* from _BLOCK_RE to prevent ReDoS
The pattern \s*(.*?)\s* allowed polynomial backtracking when no closing
*> delimiter was found — confirmed to hang at n=5000 whitespace chars.
The \s* wrappers were redundant since group(1) is already stripped at
the call site (line 278).

Reported and patched with @pa1va. Closes #2323
2026-03-27 13:42:01 -03:00
Lemmy 2623f081d6 fix: only convert config symlinks when modification is needed. fix #2299 2026-03-25 17:18:54 -04:00
Lysec 5a92a82d06 feat(ColorScheme): always set gsetting color-scheme when toggling light/dark mode
Issue: #2222
2026-03-20 13:42:34 +01:00
Lemmy e8bca17225 fix(config): ensure trailing slash 2026-03-19 07:53:03 -04:00
Lemmy 9610e3672e Merge branch 'labwc' 2026-03-18 09:07:42 -04:00
Lysec 8fb06fddf5 fix(ghostty): add config.ghostty support 2026-03-13 19:18:23 +01:00
Lemmy d35f399f53 feat(settings): improved search index to support visibility conditions, prevent showing results that would be invisible to the user. Fix #2113 2026-03-11 10:07:44 -04:00
Lysec a22d2c7d19 fix(gtk): append noctalia.css in gtk3/4.css 2026-03-11 01:06:30 +01:00
Lemmy 57b47e6942 feat(labwc): use native ext-workspace-v1 for workspaces and fix window tracking 2026-03-07 21:29:34 -05:00
Lemmy 77de0b0ade chore(cava): CavaService => SpectrumService 2026-03-06 22:34:14 -05:00
Lemmy 367d82404d chore(dead-code): removing terminal.py 2026-03-06 21:55:14 -05:00
Lemmy babcf5cdd9 Merge pull request #2035 from DzmingLi/fix/calendar-events-location
Fix calendar-events.py: add location, description, uid fields and fix timeout
2026-03-05 17:24:12 -05:00
Lysec 677413e6fc migration(theming): redownload outdated color schemes to fix terminal format 2026-03-05 17:52:06 +01:00
Lemmy 04d27418f1 Merge branch 'colorgen': move predefined colorschemes to separate templates 2026-03-05 10:01:43 -05:00
notiant f02f0785fa Add {{mode}} tag to template renderer 2026-03-05 12:21:36 +01:00
Lysec f040c81530 move predefined colorschemes from python to separate template 2026-03-04 15:38:50 +01:00
Eric Naim ca74a5e74d Templates: terminal: foot: Replace [colors] with [colors-dark]
This was replaced in foot 1.26.0

Link: https://codeberg.org/dnkl/foot/commit/cf2b390f6e096e7a2ca93d4dece153eb13261a2e
Signed-off-by: Eric Naim <dnaim@cachyos.org>
2026-03-04 20:00:28 +08:00
Dzming Li ed23b0034e Change connect_sync to 5s 2026-03-04 10:30:36 +08:00
Dzming Li 356b9a11a2 calendar-events: add uid and calendar_uid to event output, fix timeout
Output event UID and EDS source UID for each event to enable
edit/delete operations. Also reduce connect_sync timeout from
30s to 1s.
2026-03-02 19:56:30 +08:00
Dzming Li ef9aee179f Fix: pass location and description to calendar events
The add_event() function accepts location and description parameters
but they were never passed in any of the three call sites. This meant
CalendarService.events always had empty location/description fields
even when EDS had the data.
2026-03-02 19:56:30 +08:00
Lemmy e6849d9241 ncolorchoice: added to the search index. 2026-03-01 15:14:59 -05:00
Florian Boulay 1e7db6c325 Fix: Khal event lasting multiple days
Multiple days events are now displayed only once. This fix is also
compatible with a previous fix, which was meant to deal with recurring
events.

fix #1908
2026-02-23 17:37:39 +01:00
01micko 370b660514 Add labwc theme 2026-02-18 12:50:49 +10:00
Turann_ 21bc732515 Thanks to UI you can't send empty pin even if you wanted to. 2026-02-17 22:04:49 +03:00
Turann_ 01d286a4ac v0.0.2: Add additonal time if device not found at first sight.
flush messages.
2026-02-17 21:06:00 +03:00
Turann_ ac0ee8d673 Update bluetooth-pair.py
Update bluetooth-pair.py

Update BluetoothService.qml
2026-02-16 00:18:35 +03:00
Turann_ cec63da638 Update bluetooth-pair.py 2026-02-15 23:16:19 +03:00
Turann_ 952df8bce4 Delete test-pin-mock.py 2026-02-15 22:55:18 +03:00
shouya 590324995f use python script to load khal events 2026-02-15 00:01:47 +09:00
Lemmy 9b7147f126 compositor: added scrollwm support. 2026-02-09 22:07:06 -05:00
Lemmy d391f4ca10 qmlfmt: support for Qt 6.9 2026-02-09 17:31:11 -05:00
Lemmy 738b12535f better wezterm template escaping 2026-02-09 10:22:02 -05:00
Lemmy c4a83d7e0b settings: improved auto-nav to subtabs and highlight focus 2026-02-08 18:40:57 -05:00
Lemmy 007912faa9 template-processor: general_normal_light, clamp lightness to give better results in light mode 2026-02-08 10:35:52 -05:00
Lemmy 642980347b template-processor: use triangle/bilinear resize for M3 and use box resize for ours. 2026-02-08 09:33:00 -05:00
Lemmy 69c76adc82 theming: add WSMeans quantizer refinement for M3 source color extraction + fix 3 Wu quantizer bugs 2026-02-07 16:21:13 -05:00
Lysec 80f35bf802 gtk-refresh: check for existing adw-gtk3 theme, else skip setting it (#1713) 2026-02-07 10:43:47 +01:00