Back to old AGS

This commit is contained in:
Thomas Avé 2024-11-20 14:18:56 +01:00
parent 6473eb59f2
commit 7b7c6dea24
3 changed files with 38 additions and 43 deletions

View File

@ -2,19 +2,20 @@
"nodes": {
"ags": {
"inputs": {
"astal": "astal",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"systems": "systems"
},
"locked": {
"lastModified": 1731966249,
"narHash": "sha256-9hDeMy6S2q1wWBFGiJic5yUms19zW8LhAX9MlCtuN6k=",
"owner": "Aylur",
"lastModified": 1731591309,
"narHash": "sha256-2qL6CAoQjCJLsxpy0Ac/9pLFoItf3L9KMCSLpoJ6jSw=",
"owner": "aylur",
"repo": "ags",
"rev": "12e0bfefd2051c43d7450123fcb095f655b891e8",
"rev": "67b0e31ded361934d78bddcfc01f8c3fcf781aad",
"type": "github"
},
"original": {
"owner": "Aylur",
"owner": "aylur",
"ref": "v1",
"repo": "ags",
"type": "github"
}
@ -52,27 +53,6 @@
"type": "github"
}
},
"astal": {
"inputs": {
"nixpkgs": [
"ags",
"nixpkgs"
]
},
"locked": {
"lastModified": 1731952585,
"narHash": "sha256-Sh1E7sJd8JJM3PCU1ZOei/QWz97OLCENIi2rTRoaniw=",
"owner": "aylur",
"repo": "astal",
"rev": "664c7a4ddfcf48c6e8accd3c33bb94424b0e8609",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "astal",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -231,15 +211,15 @@
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_3",
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems",
"systems": "systems_2",
"xdph": "xdph"
},
"locked": {
"lastModified": 1732098770,
"narHash": "sha256-uCJOkbv79r4PRyi/KHyqENn/A5pVoIvrQ4kiVUZPo4E=",
"lastModified": 1732100541,
"narHash": "sha256-vFeNbKUstvSZbe9TD4bDYozZd+A/bKD+fxCye+p/Mp8=",
"ref": "refs/heads/main",
"rev": "e5fa017172156fa5c70fedeaee5f51eace9577c0",
"revCount": 5483,
"rev": "940f7aa990dbc99815bab8d355999d8277534b17",
"revCount": 5484,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -396,15 +376,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1731676054,
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
"owner": "nixos",
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {
"owner": "nixos",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
@ -492,11 +472,11 @@
},
"nur": {
"locked": {
"lastModified": 1732099841,
"narHash": "sha256-XwpBKjFzkBhZJ//m+iAsvgO4XLuFoui9GRyE7R+PQ5Y=",
"lastModified": 1732106864,
"narHash": "sha256-5RWkCir5qDXRbWHQz83bgN0MHadFuReyfYPXUYcQeOs=",
"owner": "nix-community",
"repo": "NUR",
"rev": "13f83516cdc2fd2fce2ee0f62d82ec698fb39184",
"rev": "a59251d9f044e153825700bdb65c1a5abd092600",
"type": "github"
},
"original": {
@ -557,6 +537,21 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"worktimer": {
"inputs": {
"flake-parts": "flake-parts_2",

View File

@ -20,7 +20,7 @@
inputs.hyprland.follows = "hyprland";
};
nur.url = "github:nix-community/NUR";
ags.url = "github:Aylur/ags";
ags.url = "github:aylur/ags/v1";
fzgo.url = "git+https://git.thomasave.be/thomasave/fzgo.git";
worktimer = {
type = "git";

View File

@ -51,7 +51,7 @@ const volumeIndicator = Widget.Button({
let monitor = 0
for (const mon in hyprland.monitors) {
if (hyprland.monitors[mon]["id"] < hyprland.monitors[monitor]["id"]) {
if (hyprland.monitors[mon]["width"] > hyprland.monitors[monitor]["width"]) {
monitor = mon
}
}