diff --git a/modules/firefox.nix b/modules/firefox.nix index a3331fd..fba58d0 100644 --- a/modules/firefox.nix +++ b/modules/firefox.nix @@ -24,6 +24,10 @@ installation_mode = "force_installed"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi"; }; + "pywalfox@frewacom.org" = { + installation_mode = "force_installed"; + install_url = "https://addons.mozilla.org/firefox/downloads/latest/pywalfox/latest.xpi"; + }; }; # Privacy & Security diff --git a/modules/linux/hyprland.nix b/modules/linux/hyprland.nix index ef69fd4..74c4522 100644 --- a/modules/linux/hyprland.nix +++ b/modules/linux/hyprland.nix @@ -27,6 +27,7 @@ swaynotificationcenter hyprshot matugen + pywalfox-native ]; programs.ssh.startAgent = true; diff --git a/stow/.config/matugen/config.toml b/stow/.config/matugen/config.toml index 2147d58..49f806c 100644 --- a/stow/.config/matugen/config.toml +++ b/stow/.config/matugen/config.toml @@ -31,3 +31,8 @@ output_path = '~/.config/qt5ct/colors/matugen.conf' [templates.qt6ct] input_path = './templates/qtct.conf' output_path = '~/.config/qt6ct/colors/matugen.conf' + +[templates.pywalfox] +input_path = './templates/pywalfox.json' +output_path = '~/.cache/wal/colors.json' +post_hook = 'pywalfox update' diff --git a/stow/.config/matugen/templates/pywalfox.json b/stow/.config/matugen/templates/pywalfox.json new file mode 100644 index 0000000..9ddf17f --- /dev/null +++ b/stow/.config/matugen/templates/pywalfox.json @@ -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}}" + } +}