My personal Ags/Astal configuration
| .github/assets | ||
| icons | ||
| nix | ||
| services | ||
| utils | ||
| widgets | ||
| .gitignore | ||
| app.ts | ||
| env.d.ts | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| style.scss | ||
| tsconfig.json | ||
| vars.ts | ||
▄▀█ █▀▀ █▀ ▄▄ ▄▀▀ █▀█ █▄░█ █▀▀ ▀█▀ █▀▀
█▀█ █▄█ ▄█ ░░ ▀▄▄ █▄█ █░▀█ █▀░ ▄█▄ █▄█
My personal Ags/Astal configuration for Hyprland

Warning
I do not recommend actually using this in your configuration as I may change and break things at any moment.
You have been warned, have fun !
Features
A top bar
- Default keybind to open the power menu is $mainMod, m
A wallpaper selector
- Right now, it only works with swww, making it a requierment.
I plan to change that. ffmpegthumbnaileris also requierd for generating thumbnails.- Wallpapers have to be located in
~/Pictures/Wallpapers/images. - Only one level of sub-directories is supported.
Running
If using Nix, you can simply run the following command to try it without installing
nix run github:PierreBorine/ags-config
Otherwise, you can download the config and execute it just like any other ags config
git clone https://github.com/PierreBorine/ags-config.git
cd ags-config
nix develop # if using Nix
ags run .
Nix Flakes
Add to the inputs
ags-config = {
url = "github:PierreBorine/ags-config";
inputs.nixpkgs.follows = "nixpkgs";
};
Home Manager module
For convenience, the flake provides a Home Manager module
{inputs, ...}: {
imports = [inputs.ags-config.homeManagerModules.default];
ags-config = {
# Also installs `pkgs.ags`
enable = true;
hyprland = {
# true by default
layerrules = true;
# false by default
autoStart = true;
# false by default
# If you don't like my binds, copy them
# from `hm.nix` and edit them to your liking.
binds = true;
};
};
}
Tip
If you have an impermanent setup, you should persist
$HOME/.cache/astal.
Note
Local
vars.tsis ignored by the Nix bundler. Instead, it uses one generated with Nix.
Recommended Hyprland rules
Here are my recommended rules for Hyprland
decoration:blur {
brightness=0.5
contrast=0.8
enabled=true
noise=0.09
passes=4
size=16
vibrancy=0.8
vibrancy_darkness=0.8
}
# Included in the Home Manager module
layerrule = blur, ^(astal-)(.*)$
layerrule = ignorezero, ^(astal-)(.*)$
layerrule = animation popin, astal-launcher
layerrule = animation slide right, astal-wallpapers
layerrule = order 1, astal-powerMenu
Other configs I took inspiration and code from
To matt1432
To gitmeED331