!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

48 Members
Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org)14 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Apr 2024
@erinvanderveen:matrix.orgErinhttps://github.com/NixOS/nixpkgs/blob/572af610f6151fd41c212f897c71f7056e3fb518/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix#L812:12:34
@lillecarl:matrix.orglillecarl
In reply to @erinvanderveen:matrix.org
I used the nixpkgs function to create Hyprland plugins
Thanks for the tip, I'll give it a shot. I've tried niri and really liked how to manage things with it, but the surrounding tooling isn't quite there yet 😄
12:12:37
@erinvanderveen:matrix.orgErinI went exactly the same route niri -> hyprscroller12:13:14
@lillecarl:matrix.orglillecarl
In reply to @erinvanderveen:matrix.org
I used the nixpkgs function to create Hyprland plugins
* Thanks for the tip, I'll give it a shot. I've tried niri and really liked how to manage windows with it, but the surrounding tooling isn't quite there yet 😄
12:13:22
@lillecarl:matrix.orglillecarl Erin: I must admit, since you talked about Silvan arguing against flakes I've noticed some warts here and there in the UX/DX too. My opinion is still "It gives more good than headache" 😁 12:33:09
@lillecarl:matrix.orglillecarlRedacted or Malformed Event13:31:40
@maedas:matrix.orgmaedas
In reply to @lillecarl:matrix.org
What's the purpose of the setattr and getattr for namespace? Looks a bit overcomplicated for my eyes

writing it that adds the module to a namespace of your choice (replace namespace) , so you dont have to add it manually in every module. Looking into it we realised there might be more readable ways to set it, but for now it works.

The way we get the filename doesnt though. Ill get an update on the final result

14:08:35
@lillecarl:matrix.orglillecarlAah, so the intention is creation options that align with the file path?14:10:15
@lillecarl:matrix.orglillecarlif you wanna use __curPos, stick this in the args attrs: { __curPos ? __curPos } if you use the nil LSP, it doesn't know about __curPos so we kinda have to trick it 😄14:14:47

Show newer messages


Back to Room ListRoom Version: 10