fix(ags): use PR to fix types
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-12-27 01:27:33 -05:00
parent 2f5cb5b4a0
commit 7c7b83654e
6 changed files with 14 additions and 11 deletions

10
flake.lock generated
View file

@ -79,15 +79,15 @@
]
},
"locked": {
"lastModified": 1735090707,
"narHash": "sha256-cdBow+mdl4uBy5iw0gOh9sonwoCSa4zsfMVVouQlaH0=",
"owner": "Aylur",
"lastModified": 1735280356,
"narHash": "sha256-5W4gD2dkfzehTWQTe4tHrjeuNR5sTuUpjiBoWUKxtPQ=",
"owner": "matt1432",
"repo": "astal",
"rev": "37f0d24178a1516eb45eb639640e07c5dc3b8e81",
"rev": "56332b13fa01b8792a4a8469ef4605be9cdf6305",
"type": "github"
},
"original": {
"owner": "Aylur",
"owner": "matt1432",
"repo": "astal",
"type": "github"
}

View file

@ -12,7 +12,7 @@
};
astal = {
inputs.nixpkgs.follows = "nixpkgs";
owner = "Aylur";
owner = "matt1432";
repo = "astal";
type = "github";
};

View file

@ -159,7 +159,8 @@ let
agsInputs = {
astal = mkDep {
owner = "Aylur";
# FIXME: https://github.com/Aylur/astal/pull/208
owner = "matt1432";
repo = "astal";
};

View file

@ -44,6 +44,8 @@ in {
then "Astal-3.0"
else if package.pname == "astal4"
then "Astal-4.0"
else if package.pname == "astal-powerprofiles"
then "AstalPowerProfiles-0.1"
else if package.pname == "gtk4"
then "Gtk-4.0"
else (concatMapStrings capitalise (splitString "-" package.pname)) + "-0.1";

View file

@ -22,11 +22,8 @@ const TrayItem = (item: AstalTray.TrayItem) => {
usePopover={false}
tooltipMarkup={bind(item, 'tooltipMarkup')}
actionGroup={bind(item, 'actionGroup').as((ag) => ['dbusmenu', ag])}
menuModel={bind(item, 'menuModel')}
setup={(self) => self.hook(item, 'notify::action-group', () => {
self.insert_action_group('dbusmenu', item.actionGroup);
})}
>
<icon gicon={bind(item, 'gicon')} />
</menubutton>

View file

@ -39,6 +39,7 @@ in {
(ags.inputs.astal.packages.${pkgs.system})
io
astal3
astal4
apps
auth
battery
@ -48,6 +49,7 @@ in {
mpris
network
notifd
powerprofiles
tray
wireplumber
;
@ -135,6 +137,7 @@ in {
"skipLibCheck" = true;
"module" = "ES2022";
"lib" = ["ES2023"];
"noEmit" = true;
};
};