From 938c24470498e8d3e92075500c4a97b0042a05cf Mon Sep 17 00:00:00 2001 From: kenji Date: Sat, 27 Dec 2025 16:42:48 -0600 Subject: [PATCH] add: pywalfox --- README.md | 2 -- apps/matugen/config.toml | 6 +++++- apps/matugen/templates/firefox | 22 ++++++++++++++++++++++ apps/waybar/deps.nix | 4 ---- 4 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 apps/matugen/templates/firefox delete mode 100644 apps/waybar/deps.nix diff --git a/README.md b/README.md index 7b9863a..9b4f928 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,10 @@ HakaseOS is an opinionated NixOS configuration heavily inspired by OmarchyOS. ## Features * Vim keybindings -* TUI applications * Simple Setup * Pre-configured Firefox ## To-do -* hypr animation * TUI for everything ## How to Use SOPS diff --git a/apps/matugen/config.toml b/apps/matugen/config.toml index 36ce544..59c6291 100644 --- a/apps/matugen/config.toml +++ b/apps/matugen/config.toml @@ -1,4 +1,4 @@ -[config] +[config] # FIXME: ~/.config feels unreliable. Use config.home.homeDirectory instead. reload_on_change = true [templates.ghostty] @@ -24,4 +24,8 @@ output_path = "~/.config/starship.toml" input_path = "~/.config/matugen/templates/walker" output_path = "~/.config/walker/themes/nixos/style.css" +[templates.pywalfox] +input_path = '~/.config/matugen/templates/firefox' +output_path = '~/.cache/wal/colors.json' +post_hook = 'pywalfox update' diff --git a/apps/matugen/templates/firefox b/apps/matugen/templates/firefox new file mode 100644 index 0000000..9ddf17f --- /dev/null +++ b/apps/matugen/templates/firefox @@ -0,0 +1,22 @@ +{ + "wallpaper": "{{image}}", + "alpha": "100", + "colors": { + "color0": "{{colors.background.default.hex}}", + "color1": "", + "color2": "", + "color3": "", + "color4": "", + "color5": "", + "color6": "", + "color7": "", + "color8": "", + "color9": "", + "color10": "{{colors.primary.default.hex}}", + "color11": "", + "color12": "", + "color13": "{{colors.surface_bright.default.hex}}", + "color14": "", + "color15": "{{colors.on_surface.default.hex}}" + } +} diff --git a/apps/waybar/deps.nix b/apps/waybar/deps.nix deleted file mode 100644 index 9f25a12..0000000 --- a/apps/waybar/deps.nix +++ /dev/null @@ -1,4 +0,0 @@ -{pkgs, ...}: { - home.packages = with pkgs; [ - ]; -}