adding ags
This commit is contained in:
parent
58a920fa73
commit
984191eebb
|
@ -0,0 +1,20 @@
|
||||||
|
function Bar(monitor = 0) {
|
||||||
|
const myLabel = Widget.Label({
|
||||||
|
label: 'some example content',
|
||||||
|
})
|
||||||
|
|
||||||
|
return Widget.Window({
|
||||||
|
monitor,
|
||||||
|
name: `bar${monitor}`, // this name has to be unique
|
||||||
|
anchor: ['top', 'left', 'right'],
|
||||||
|
child: myLabel,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
App.config({
|
||||||
|
windows: [
|
||||||
|
Bar(0), // can be instantiated for each monitor
|
||||||
|
Bar(1),
|
||||||
|
Bar(2),
|
||||||
|
],
|
||||||
|
})
|
21
flake.lock
21
flake.lock
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"ags": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1715703984,
|
||||||
|
"narHash": "sha256-0BZkMui6aCqswMCouvp0G90tAxDOxVnxTvG6TDZsDaI=",
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"rev": "11150225e62462bcd431d1e55185e810190a730a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"anyrun": {
|
"anyrun": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
|
@ -614,6 +634,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"ags": "ags",
|
||||||
"anyrun": "anyrun",
|
"anyrun": "anyrun",
|
||||||
"emacs": "emacs",
|
"emacs": "emacs",
|
||||||
"eww": "eww",
|
"eww": "eww",
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
url = "github:elkowar/eww";
|
url = "github:elkowar/eww";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
ags = {
|
||||||
|
url = "github:Aylur/ags";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
emacs = {
|
emacs = {
|
||||||
url = "github:nix-community/emacs-overlay";
|
url = "github:nix-community/emacs-overlay";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -56,6 +60,7 @@
|
||||||
nix-bitcoin,
|
nix-bitcoin,
|
||||||
libre-presenter,
|
libre-presenter,
|
||||||
eww,
|
eww,
|
||||||
|
ags,
|
||||||
rust-overlay, ... }:
|
rust-overlay, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -101,6 +106,7 @@
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.extraSpecialArgs = { inherit ags; };
|
||||||
home-manager.users.chris = import ./home/home.nix;
|
home-manager.users.chris = import ./home/home.nix;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ags, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
laptop = builtins.readFile "/etc/hostname" == "syl\n";
|
laptop = builtins.readFile "/etc/hostname" == "syl\n";
|
||||||
|
@ -6,6 +6,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/hyprland.nix
|
./modules/hyprland.nix
|
||||||
|
ags.homeManagerModules.default
|
||||||
];
|
];
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
|
@ -183,6 +184,9 @@ in
|
||||||
source = ../.config/mpv;
|
source = ../.config/mpv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".config/ags" = {
|
||||||
|
source = ../.config/ags;
|
||||||
|
};
|
||||||
# services.kdeconnect.enable = true;
|
# services.kdeconnect.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -654,6 +658,15 @@ tooltip label {
|
||||||
source = ../.config/fish/functions;
|
source = ../.config/fish/functions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ags = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
gtksourceview
|
||||||
|
webkitgtk
|
||||||
|
accountsservice
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
Loading…
Reference in a new issue