From 1bbf45fff96cdabccfd6a42fa61f3eb0c491da10 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sun, 21 Jun 2026 23:10:26 +0200 Subject: [PATCH] Fix rofi config (by using home-manager) --- home/doggo/rofi-config.nix | 39 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/home/doggo/rofi-config.nix b/home/doggo/rofi-config.nix index 076959f..953988f 100644 --- a/home/doggo/rofi-config.nix +++ b/home/doggo/rofi-config.nix @@ -1,23 +1,22 @@ +{ ... }: + { - home.file.".config/rofi/config.rasi".text = '' -@import "catppuccin-mocha" -@import "catppuccin-default" + programs.rofi = { + enable = true; + font = "mono 12"; + location = "center"; -configuration { - modes: "run,ssh,drun"; - font: "mono 12"; - show-icons: true; - icon-theme: "Papirus Dark"; - - location: 0; - yoffset: 0; - xoffset: 0; - fixed-num-lines: true; - - ml-row-down: "ScrollDown"; - me-select-entry: "MousePrimary"; - me-accept-entry: "MouseDPrimary"; - me-accept-custom: "Control+MouseDPrimary"; -} -''; + extraConfig = { + modes = "run,ssh,drun"; + "show-icons" = true; + "icon-theme" = "Papirus Dark"; + yoffset = 0; + xoffset = 0; + "fixed-num-lines" = true; + "ml-row-down" = "ScrollDown"; + "me-select-entry" = "MousePrimary"; + "me-accept-entry" = "MouseDPrimary"; + "me-accept-custom" = "Control+MouseDPrimary"; + }; + }; }