From 34196d256d2678c50b91005a6070580bfb417ce2 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 5 Sep 2024 07:45:35 +0100 Subject: setup rofi for wayland --- programs/rofi.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/programs/rofi.nix b/programs/rofi.nix index c140f63..b6105fc 100644 --- a/programs/rofi.nix +++ b/programs/rofi.nix @@ -35,17 +35,15 @@ let inputbar.children = [ "entry" ]; - element.padding = 10; entry = { - padding = 10; placeholder = "type to filter"; }; listview.border = 0; scrollbar.handle-width = 0; window = { padding = 40; - width = 800; - height = 600; + width = 600; + height = 400; border = mkLiteral "3px solid"; border-color = mkLiteral theme.base01; }; @@ -56,9 +54,9 @@ in package = pkgs.rofi-wayland; enable = true; font = "${font.name} 12"; - location = "top-left"; - xoffset = 20; - yoffset = 20; + location = "center"; + # xoffset = 40; + # yoffset = 40; cycle = true; theme = rofi-theme; extraConfig = { -- cgit v1.2.3