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

View File

@ -20,7 +20,7 @@
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
nur.url = "github:nix-community/NUR"; 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"; fzgo.url = "git+https://git.thomasave.be/thomasave/fzgo.git";
worktimer = { worktimer = {
type = "git"; type = "git";

View File

@ -51,7 +51,7 @@ const volumeIndicator = Widget.Button({
let monitor = 0 let monitor = 0
for (const mon in hyprland.monitors) { 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 monitor = mon
} }
} }