3 Jul 2025 |
Zhaofeng Li | because it wasn't actually a bouncer but used its own protocol so it could provide actual scrollback, notifications, etc | 01:18:48 |
Katalin 🔪 | I already have a bouncer so the whole client/server thing it has going on is just really awkward to me | 01:19:07 |
Zhaofeng Li | * because it's not actually a bouncer but uses its own protocol so it can provide actual scrollback, notifications, etc (let's not use past tense as it's probably still alive :p) | 01:19:38 |
Katalin 🔪 | In reply to @zhaofeng:zhaofeng.li QString... qt? (also, unfortunately anything QObject straight up doesn’t import. RIP) | 01:19:51 |
Katalin 🔪 | it would have been cool to at least be able to pass them around | 01:20:37 |
Katalin 🔪 | iirc it was something about its constructor or destructor | 01:20:50 |
Katalin 🔪 | oh right, yeah | 01:35:15 |
Katalin 🔪 | they’re immovable types obviously, and as such they have a deleted move constructor, I think that was it | 01:35:44 |
Katalin 🔪 | it would probably be fine if they were marked with the “import_as_ref” swift attr but obviously I can’t do that with foreign library code | 01:36:14 |
Randy Eckenrode | When did libc++ get std::span ? | 01:38:03 |
Randy Eckenrode | https://github.com/apple-oss-distributions/ICU/blob/71e88350afd8f8bcbb8a387edafd090de9ff7cca/icu/icu4c/source/i18n/dtptngen.cpp#L51-L54 | 02:22:05 |
Randy Eckenrode | ☹️ | 02:22:13 |
Randy Eckenrode | I got past that, but a test is failing because Apple did not include the test data. It should be fixable, but I need to get some sleep. I’ll work on it tomorrow. | 03:41:44 |
niklaskorz | oh no 🫠 maybe swift-foundation-icu helps? that does not include a private header there | 06:57:44 |
niklaskorz | https://github.com/swiftlang/swift-foundation-icu/blob/main/icuSources/i18n/dtptngen.cpp | 06:57:47 |
Randy Eckenrode | In reply to @niklaskorz:matrix.org oh no 🫠 maybe swift-foundation-icu helps? that does not include a private header there WebKit has (or had) a copy. I got it from there. | 10:31:19 |
Randy Eckenrode | That version is also behind the source release version. It’s ICU 74 while the 15.5 source release is 76.1. | 10:32:45 |
Lillie | How do you define dock using home-manager, looked at https://mynixos.com/search?q=dock?
But seems to only be possible using systems.defaults ? | 16:46:46 |
Lillie | * How do you define dock using home-manager, looked at https://mynixos.com/search?q=dock?
Seems to only be possible using systems.defaults ? | 16:47:33 |
samasaur | anything you can set using system.defaults in nix-darwin can be set using targets.darwin.defaults in home-manager | 16:51:22 |
samasaur | the fact that you're only seeing search results for nix-darwin means nix-darwin has typed options while home-manager does not | 16:51:46 |
samasaur | but you can set freeform keys and values | 16:51:58 |
Lillie | home-manager do?
https://mynixos.com/search?q=autohide
shows home-manager/option/targets.darwin.defaults."com.apple.dock".autohide
but it's later down in list for that result | 16:53:25 |
Lillie | * home-manager do?
https://mynixos.com/search?q=autohide
shows home-manager/option/targets.darwin.defaults."com.apple.dock".autohide
but it's later down in list for previous result | 16:54:52 |
Lillie | I also tried using targets.darwin.defaults, but dock isn't being changed when I restart laptop | 16:56:26 |
Lillie | https://github.com/nix-darwin/nix-darwin/blob/e04a388232d9a6ba56967ce5b53a8a6f713cdfcf/modules/system/defaults/dock.nix#L172
Do I have to maybe define tile data manually? | 17:14:01 |
Lillie | It works defining tile data manually | 17:23:06 |
Lillie | targets.darwin = {
defaults = {
"com.apple.dock".persistent-apps=[
{
tile-data.file-data = {
_CFURLString = "/Applications/Discord.app";
_CFURLStringType = 0;
};
}
];
};
};
};
Here's how I did it
| 17:28:53 |
Lillie | * targets.darwin = {
defaults = {
"com.apple.dock".persistent-apps=[
{
tile-data.file-data = {
_CFURLString = "/Applications/Discord.app";
_CFURLStringType = 0;
};
}
];
};
};
};
Here's how I added items to dock using home-manager
| 17:29:15 |
Austin Horstman | Hmm yeah. I don't think I went back and ported that logic to home manager. I had just been using nix-darwin for all my macos customization, at the time... | 17:40:47 |