fix(ags): use PR to fix types
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
2f5cb5b4a0
commit
7c7b83654e
6 changed files with 8 additions and 5 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -159,7 +159,8 @@ let
|
|||
|
||||
agsInputs = {
|
||||
astal = mkDep {
|
||||
owner = "Aylur";
|
||||
# FIXME: https://github.com/Aylur/astal/pull/208
|
||||
owner = "matt1432";
|
||||
repo = "astal";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue