parent
64e1d3f7ce
commit
9fed14cba5
6 changed files with 63 additions and 5 deletions
modules/ags
|
@ -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}
|
||||
>
|
||||
<CenterBox cssName="centerbox">
|
||||
<Button onClicked="echo hi" />
|
||||
<Kompass.Tray />
|
||||
|
||||
{styledBox}
|
||||
|
||||
|
|
|
@ -5,9 +5,10 @@ self: {
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (self.inputs) ags astal gtk-session-lock;
|
||||
inherit (self.inputs) ags astal gtk-session-lock kompass;
|
||||
|
||||
gtkSessionLock = gtk-session-lock.packages.${pkgs.system}.default;
|
||||
libKompass = kompass.packages.${pkgs.system}.libkompass;
|
||||
|
||||
inherit (lib) attrValues boolToString filter getExe mkIf optionalAttrs optionals;
|
||||
|
||||
|
@ -55,7 +56,17 @@ in {
|
|||
wireplumber
|
||||
;
|
||||
|
||||
inherit gtkSessionLock;
|
||||
inherit
|
||||
gtkSessionLock
|
||||
libKompass
|
||||
;
|
||||
|
||||
# libkompass dependencies
|
||||
inherit
|
||||
(astal.packages.${pkgs.system})
|
||||
cava
|
||||
river
|
||||
;
|
||||
|
||||
inherit
|
||||
(pkgs)
|
||||
|
@ -122,7 +133,7 @@ in {
|
|||
pname = "ags";
|
||||
configPath = "${cfg.configDir}/@girs";
|
||||
packages = filter (x:
|
||||
x.pname != "libadwaita")
|
||||
x.pname != "libadwaita" && x.pname != "libkompass")
|
||||
cfg.astalLibs;
|
||||
})
|
||||
// (buildGirTypes {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue