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 = {
|
agsInputs = {
|
||||||
astal = mkDep {
|
astal = mkDep {
|
||||||
owner = "Aylur";
|
# FIXME: https://github.com/Aylur/astal/pull/208
|
||||||
|
owner = "matt1432";
|
||||||
repo = "astal";
|
repo = "astal";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,8 @@ in {
|
||||||
then "Astal-3.0"
|
then "Astal-3.0"
|
||||||
else if package.pname == "astal4"
|
else if package.pname == "astal4"
|
||||||
then "Astal-4.0"
|
then "Astal-4.0"
|
||||||
|
else if package.pname == "astal-powerprofiles"
|
||||||
|
then "AstalPowerProfiles-0.1"
|
||||||
else if package.pname == "gtk4"
|
else if package.pname == "gtk4"
|
||||||
then "Gtk-4.0"
|
then "Gtk-4.0"
|
||||||
else (concatMapStrings capitalise (splitString "-" package.pname)) + "-0.1";
|
else (concatMapStrings capitalise (splitString "-" package.pname)) + "-0.1";
|
||||||
|
|
|
@ -22,11 +22,8 @@ const TrayItem = (item: AstalTray.TrayItem) => {
|
||||||
|
|
||||||
usePopover={false}
|
usePopover={false}
|
||||||
tooltipMarkup={bind(item, 'tooltipMarkup')}
|
tooltipMarkup={bind(item, 'tooltipMarkup')}
|
||||||
|
actionGroup={bind(item, 'actionGroup').as((ag) => ['dbusmenu', ag])}
|
||||||
menuModel={bind(item, 'menuModel')}
|
menuModel={bind(item, 'menuModel')}
|
||||||
|
|
||||||
setup={(self) => self.hook(item, 'notify::action-group', () => {
|
|
||||||
self.insert_action_group('dbusmenu', item.actionGroup);
|
|
||||||
})}
|
|
||||||
>
|
>
|
||||||
<icon gicon={bind(item, 'gicon')} />
|
<icon gicon={bind(item, 'gicon')} />
|
||||||
</menubutton>
|
</menubutton>
|
||||||
|
|
|
@ -39,6 +39,7 @@ in {
|
||||||
(ags.inputs.astal.packages.${pkgs.system})
|
(ags.inputs.astal.packages.${pkgs.system})
|
||||||
io
|
io
|
||||||
astal3
|
astal3
|
||||||
|
astal4
|
||||||
apps
|
apps
|
||||||
auth
|
auth
|
||||||
battery
|
battery
|
||||||
|
@ -48,6 +49,7 @@ in {
|
||||||
mpris
|
mpris
|
||||||
network
|
network
|
||||||
notifd
|
notifd
|
||||||
|
powerprofiles
|
||||||
tray
|
tray
|
||||||
wireplumber
|
wireplumber
|
||||||
;
|
;
|
||||||
|
@ -135,6 +137,7 @@ in {
|
||||||
"skipLibCheck" = true;
|
"skipLibCheck" = true;
|
||||||
"module" = "ES2022";
|
"module" = "ES2022";
|
||||||
"lib" = ["ES2023"];
|
"lib" = ["ES2023"];
|
||||||
|
"noEmit" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue