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/waybar/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 modules/home-manager/waybar/default.nix (limited to 'modules/home-manager/waybar/default.nix') diff --git a/modules/home-manager/waybar/default.nix b/modules/home-manager/waybar/default.nix new file mode 100644 index 0000000..fb084d7 --- /dev/null +++ b/modules/home-manager/waybar/default.nix @@ -0,0 +1,20 @@ +{ ... }: +{ + flake.modules.homeManager.waybar = + { + config, + pkgs, + ... + } : { + home.file.".config/waybar/" = { + source = ./config; + onChange = "${pkgs.procps}/bin/pkill waybar && ${pkgs.hyprland}/bin/hyprctl dispatch exec waybar || ${pkgs.hyprland}/bin/hyprctl dispatch exec waybar"; + recursive = true; + }; + home.packages = with pkgs; [ + waybar + pamixer + wtype + ]; + }; +} -- cgit v1.3.1