diff --git a/flake.lock b/flake.lock index 10cb67df..20a27fc1 100644 Binary files a/flake.lock and b/flake.lock differ diff --git a/flake.nix b/flake.nix index e01d18e8..699654f9 100644 Binary files a/flake.nix and b/flake.nix differ diff --git a/inputs/default.nix b/inputs/default.nix index c62b03c3..c4075453 100644 --- a/inputs/default.nix +++ b/inputs/default.nix @@ -165,6 +165,13 @@ let inputs.astal.follows = "astal"; }; + kompass = mkInput { + owner = "kotontrion"; + repo = "kompass"; + + inputs.astal.follows = "astal"; + }; + gtk-session-lock = mkDep { owner = "Cu3PO42"; repo = "gtk-session-lock"; diff --git a/lib/pkgs/mk-types/default.nix b/lib/pkgs/mk-types/default.nix index 0932fbc7..6e789b98 100644 --- a/lib/pkgs/mk-types/default.nix +++ b/lib/pkgs/mk-types/default.nix @@ -11,7 +11,7 @@ buildPhase = '' npx @ts-for-gir/cli generate \ ${concatMapStringsSep "\n" (p: " ${p.girName} \\") withGirNames} - ${concatMapStringsSep "\n" (p: " -g ${p.package.dev}/share/gir-1.0 \\") withGirNames} + ${concatMapStringsSep "\n" (p: " -g ${p.package.dev or p.package}/share/gir-1.0 \\") withGirNames} -g ${ts-for-gir-src}/girs \ --ignoreVersionConflicts \ -o ./types diff --git a/modules/ags/gtk4/widget/bar.tsx b/modules/ags/gtk4/widget/bar.tsx index 72077b0f..1f92569a 100644 --- a/modules/ags/gtk4/widget/bar.tsx +++ b/modules/ags/gtk4/widget/bar.tsx @@ -1,6 +1,8 @@ import { App, Astal, Gtk } from 'astal/gtk4'; import { Variable } from 'astal'; +import Kompass from 'gi://Kompass'; + import { Box, Button, Calendar, CenterBox, Label, MenuButton, Popover, Window } from './subclasses'; const { EXCLUSIVE } = Astal.Exclusivity; @@ -29,7 +31,7 @@ export default () => { application={App} > -