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 8 additions and 5 deletions

Binary file not shown.

BIN
flake.nix

Binary file not shown.

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;
};
};