continue refactor

This commit is contained in:
2025-08-25 15:14:10 -05:00
parent dffc249cf5
commit 2c08f3f50e
11 changed files with 286 additions and 189 deletions

View File

@@ -1,39 +0,0 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [ inputs.ags.homeManagerModules.default ];
options.homeconfig.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags.enable {
programs.ags = {
enable = true;
extraPackages = with pkgs; [
gtksourceview
webkitgtk
accountsservice
];
};
home.file.".config/ags/launcher.js".text = /*javascript*/ ''
function Launcher() {
return Widget.EventBox({
class_name: "launcher",
hpack: "center",
child: Widget.Icon({
icon: '${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake.png',
css: 'font-size: 24px;'
}),
on_primary_click: () => {Utils.execAsync('rofi -show drun')},
margin_left: 10,
})
}
export default Launcher
'';
};
}

View File

@@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }: {
options.homeconfig.ags2.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.ags2.enable {
};
}

View File

@@ -1,7 +1,6 @@
{ config, lib, pkgs, inputs, ... }: {
imports = [
./ags
./git
./nh
./hyprland

View File

@@ -8,10 +8,6 @@
config = lib.mkIf config.homeconfig.wal.enable {
home.packages = with pkgs; [
inputs.themecord.packages.${pkgs.system}.default
vesktop
inputs.nixvim.packages.${pkgs.system}.pywal
pywal16