home/natto/ags: i have 3 iq

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-06-01 18:40:52 +05:30
parent 87fcf277f5
commit afbfff8e96

View File

@@ -11,6 +11,16 @@ let
imagemagick imagemagick
config.wayland.windowManager.hyprland.package config.wayland.windowManager.hyprland.package
] ++ lib.optional config.isLaptop brightnessctl; ] ++ lib.optional config.isLaptop brightnessctl;
configDir = lib.cleanSourceWith {
src = ./.;
filter = name: _:
let
baseName = baseNameOf (toString name);
in
!(lib.hasSuffix ".nix" baseName);
};
in in
{ {
imports = [ imports = [
@@ -19,6 +29,11 @@ in
programs.ags.enable = true; programs.ags.enable = true;
xdg.configFile."ags" = {
source = configDir;
recursive = true;
};
systemd.user.services.ags = { systemd.user.services.ags = {
Unit = { Unit = {
Description = "Aylur's Gtk Shell"; Description = "Aylur's Gtk Shell";