init
This commit is contained in:
26
packages/ags-backup/config.js.bk
Normal file
26
packages/ags-backup/config.js.bk
Normal file
@@ -0,0 +1,26 @@
|
||||
const time = Variable('', {
|
||||
poll: [1000, function() {
|
||||
return Date().toString()
|
||||
}],
|
||||
})
|
||||
|
||||
const Bar = (/** @type {number} */ monitor) => Widget.Window({
|
||||
monitor,
|
||||
name: `bar${monitor}`,
|
||||
anchor: ['top', 'left', 'right'],
|
||||
exclusivity: 'exclusive',
|
||||
child: Widget.CenterBox({
|
||||
start_widget: Widget.Label({
|
||||
hpack: 'center',
|
||||
label: 'Welcome to AGS!',
|
||||
}),
|
||||
end_widget: Widget.Label({
|
||||
hpack: 'center',
|
||||
label: time.bind(),
|
||||
}),
|
||||
}),
|
||||
})
|
||||
|
||||
App.config({
|
||||
windows: [Bar(0)],
|
||||
})
|
||||
21
packages/ags-backup/default.nix.bk
Executable file
21
packages/ags-backup/default.nix.bk
Executable file
@@ -0,0 +1,21 @@
|
||||
{ inputs, pkgs, lib, config, ... }:
|
||||
{
|
||||
imports = [ inputs.ags.homeManagerModules.default ];
|
||||
|
||||
programs.ags = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
gtksourceview
|
||||
webkitgtk
|
||||
accountsservice
|
||||
];
|
||||
};
|
||||
|
||||
home.file =
|
||||
lib.mkMerge [
|
||||
{
|
||||
".config/ags/config.js".source = ./config.js;
|
||||
}
|
||||
];
|
||||
}
|
||||
18
packages/ags-backup/tsconfig.json.bk
Normal file
18
packages/ags-backup/tsconfig.json.bk
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"lib": [
|
||||
"ES2022"
|
||||
],
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
"baseUrl": ".",
|
||||
"typeRoots": [
|
||||
"./types"
|
||||
],
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
1
packages/ags-backup/types.bk
Symbolic link
1
packages/ags-backup/types.bk
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/nico/.local/share/com.github.Aylur.ags/types
|
||||
Reference in New Issue
Block a user