From fa62e73c9200069abf6607c31b3961116f49fa21 Mon Sep 17 00:00:00 2001 From: fatmeat Date: Sun, 11 May 2025 17:36:14 +0200 Subject: [PATCH] rofi4 --- i3/config | 2 +- rofi/ayu-retro.rasi | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/i3/config b/i3/config index 1c3b83b..0909b3e 100644 --- a/i3/config +++ b/i3/config @@ -13,7 +13,7 @@ tiling_drag modifier #exec base bindsym $mod+Return exec kitty bindsym $mod+Shift+q kill -bindsym $mod+d exec --no-startup-id ~/.config/rofi/retro_launcher.sh +bindsym $mod+d exec rofi -show drun -theme ~/.config/rofi/ayu-retro.rasi -p "╔═[ SELECT PROGRAM ]═╗" # change focus bindsym $mod+j focus left diff --git a/rofi/ayu-retro.rasi b/rofi/ayu-retro.rasi index ba75bcd..1ec4ff0 100644 --- a/rofi/ayu-retro.rasi +++ b/rofi/ayu-retro.rasi @@ -14,41 +14,44 @@ window { location: north; anchor: north; + y-offset: 0; width: 50%; border: 2px; - padding: 10; - y-offset: 60; + background-color: @background; } mainbox { - background-color: inherit; + background-color: @background; padding: 5; + border: 0; } listview { lines: 8; - background-color: inherit; columns: 1; + background-color: transparent; + padding: 5 0 0 0; spacing: 4; + border: 0; } element { - padding: 4 6; + padding: 6 8; background-color: transparent; } -element-text { - text-color: inherit; -} - element selected { background-color: @selected; text-color: @selected-foreground; } +element-text { + text-color: @foreground; +} + inputbar { children: [prompt, entry]; - background-color: #1a1c25; + background-color: @background-alt; padding: 6; }