From 280e1bbe5e733128a451260685cc8ecd10a042a3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 17 Oct 2026 21:53:43 +1300 Subject: feat: Dendritic pattern This re-write was done with the help of claude, and still needs a decent amount of changes before it properly follows the dendritic pattern --- modules/home-manager/polybar/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/home-manager/polybar/default.nix (limited to 'modules/home-manager/polybar/default.nix') diff --git a/modules/home-manager/polybar/default.nix b/modules/home-manager/polybar/default.nix new file mode 100644 index 0000000..101e8a8 --- /dev/null +++ b/modules/home-manager/polybar/default.nix @@ -0,0 +1,24 @@ +{ ... }: +{ + flake.modules.homeManager.polybar = + { + config, + pkgs, + ... + } : { + home.file.".config/polybar/launch.sh" = { + source = ./launch.sh; + executable = true; + }; + home.file.".config/polybar/config.ini" = { + source = ./config.ini; + # onChange = '' + #${pkgs.procps}/bin/pkill polybar + #PATH=$PATH:${pkgs.polybarFull}/bin:${pkgs.lxrandr}/bin ~/.config/polybar/launch.sh + #''; + }; + home.packages = with pkgs; [ + polybarFull + ]; + }; +} -- cgit v1.3.1