outfoxxed
outfoxxed pushed to master at quickshell/quickshell 2025-01-28 05:14:57 +00:00
d3b1a65911 hyprland/ipc: reduce impact of racing workspace queries
outfoxxed pushed to master at quickshell/quickshell 2025-01-28 02:33:58 +00:00
outfoxxed pushed to master at quickshell/quickshell 2025-01-28 02:24:16 +00:00
cad9198241 core/colorquant: add ColorQuantizer
outfoxxed merged pull request quickshell/quickshell#1 2025-01-28 02:24:15 +00:00
feat: add color quantization ultility
outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

newlines on both sides

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

set null before emitting the event, as the emission triggers arbitrary user code which may be reentrant (e.g. changes source)

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

qCDebug

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

you can squish these lines together more, and should probably combine the ifs

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

unnecessary

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

use a normal char, qchar is utf16

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

== '' not "", "" causes an implicit string conversion

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

BINDABLE properties still need NOTIFY as a fallback (afaik, the qt documentation doesn't mention it either way so I keep NOTIFY)

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility

newlines

outfoxxed suggested changes for quickshell/quickshell#1 2025-01-28 01:46:37 +00:00
feat: add color quantization ultility
outfoxxed pushed to master at quickshell/quickshell 2025-01-27 02:38:24 +00:00
9506c1bb62 docs: update CONTRIBUTING style guide
outfoxxed commented on pull request quickshell/quickshell#1 2025-01-27 01:14:09 +00:00
feat: add color quantization ultility

Also this is going to have issues due to qobject threading, as it will create a direct connection. Take a look at how FileViewOperation::finished works and is called.

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-27 01:10:42 +00:00
feat: add color quantization ultility

Should trigger quantizeAsync(). You can use QQmlParserStatus::componentCompleted to delay the initial run until all properties are set as well.

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-27 01:10:42 +00:00
feat: add color quantization ultility

Same as above

outfoxxed commented on pull request quickshell/quickshell#1 2025-01-27 01:10:42 +00:00
feat: add color quantization ultility

don't need the extra space when theres only 2 lines