From fc019d789523ce5f89436b8dbc458cf3b79abf43 Mon Sep 17 00:00:00 2001 From: aristote Date: Tue, 29 Jul 2025 15:25:11 +0200 Subject: reformat everything with nixfmt --- modules/home-manager/personal/programs/rofi.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'modules/home-manager/personal/programs/rofi.nix') diff --git a/modules/home-manager/personal/programs/rofi.nix b/modules/home-manager/personal/programs/rofi.nix index a3fdad3..10c284c 100644 --- a/modules/home-manager/personal/programs/rofi.nix +++ b/modules/home-manager/personal/programs/rofi.nix @@ -3,19 +3,23 @@ lib, pkgs, ... -}: { +}: +{ programs.rofi = { cycle = lib.mkDefault true; - theme = - lib.mkIf (config.lib ? stylix) - ( - lib.mkForce - (config.lib.stylix.colors { + theme = lib.mkIf (config.lib ? stylix) ( + lib.mkForce ( + config.lib.stylix.colors { template = builtins.readFile config.personal.home.dotfiles.rofi; extension = ".rasi"; - }) - ); - plugins = with pkgs; [rofi-top rofi-calc rofi-emoji]; + } + ) + ); + plugins = with pkgs; [ + rofi-top + rofi-calc + rofi-emoji + ]; }; xdg.dataFile."rofi/themes/custom.rasi" = lib.mkForce { source = config.programs.rofi.theme; -- cgit v1.2.3