feat: add astal status bar

This commit is contained in:
2025-06-22 20:59:41 -07:00
parent adc21bdc69
commit 2ac6585c55
14 changed files with 606 additions and 8 deletions

76
nix/flake.lock generated
View File

@@ -1,5 +1,49 @@
{
"nodes": {
"ags": {
"inputs": {
"astal": "astal",
"nixpkgs": [
"status-bar",
"nixpkgs"
]
},
"locked": {
"lastModified": 1744557573,
"narHash": "sha256-XAyj0iDuI51BytJ1PwN53uLpzTDdznPDQFG4RwihlTQ=",
"owner": "aylur",
"repo": "ags",
"rev": "3ed9737bdbc8fc7a7c7ceef2165c9109f336bff6",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "ags",
"type": "github"
}
},
"astal": {
"inputs": {
"nixpkgs": [
"status-bar",
"ags",
"nixpkgs"
]
},
"locked": {
"lastModified": 1742571008,
"narHash": "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q=",
"owner": "aylur",
"repo": "astal",
"rev": "dc0e5d37abe9424c53dcbd2506a4886ffee6296e",
"type": "github"
},
"original": {
"owner": "aylur",
"repo": "astal",
"type": "github"
}
},
"custom-fonts": {
"inputs": {
"nixpkgs": [
@@ -39,11 +83,11 @@
]
},
"locked": {
"lastModified": 1750304462,
"narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
"lastModified": 1750650158,
"narHash": "sha256-cGdpDr/OUjS5rfl0lH7CjnIFWtpOFQOcRkvBu9CV+Cs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
"rev": "3bd646138a9c71f244a9293dde6f59ae1c6875ab",
"type": "github"
},
"original": {
@@ -110,11 +154,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1750134718,
"narHash": "sha256-v263g4GbxXv87hMXMCpjkIxd/viIF7p3JpJrwgKdNiI=",
"lastModified": 1750506804,
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9e83b64f727c88a7711a2c463a7b16eedb69a84c",
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github"
},
"original": {
@@ -172,8 +216,26 @@
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_2",
"pesde": "pesde",
"rokit": "rokit"
"rokit": "rokit",
"status-bar": "status-bar"
}
},
"status-bar": {
"inputs": {
"ags": "ags",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"path": "../astal",
"type": "path"
},
"original": {
"path": "../astal",
"type": "path"
},
"parent": []
}
},
"root": "root",

View File

@@ -14,6 +14,10 @@
rokit.inputs.nixpkgs.follows = "nixpkgs";
custom-fonts.url = "path:./fonts";
custom-fonts.inputs.nixpkgs.follows = "nixpkgs";
status-bar = {
url = "path:../astal";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@@ -72,6 +76,7 @@
inputs.pesde.packages.${host.architecture}.default
inputs.mantle.packages.${host.architecture}.default
inputs.rokit.packages.${host.architecture}.default
inputs.status-bar.packages.${host.architecture}.status-bar
];
fonts.packages = [
inputs.custom-fonts.packages.${host.architecture}.default

View File

@@ -40,6 +40,7 @@
services.tumbler.enable = true;
services.displayManager.ly.enable = true;
rofi.enable = true;
services.upower.enable = true;
home-manager.users.luca = {
programs = {
@@ -139,7 +140,7 @@
];
exec-once = [
"swaybg -i ~/.config/wallpaper/bg.jpg"
"waybar"
"status-bar"
];
monitor = [
"eDP-1, 1920x1080, 0x0, 1"