From ed247309066957c24aad01cfb41ae3eb294951d0 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Mon, 29 Nov 2021 13:08:14 +0100 Subject: update rofi config to 1.7.0 --- home/config/rofi.nix | 137 +-------------------------------------------------- 1 file changed, 1 insertion(+), 136 deletions(-) (limited to 'home/config/rofi.nix') diff --git a/home/config/rofi.nix b/home/config/rofi.nix index 8a6d1bb..32f852c 100644 --- a/home/config/rofi.nix +++ b/home/config/rofi.nix @@ -5,141 +5,6 @@ enable = true; cycle = true; - theme = builtins.toString (pkgs.writeText "rofi-theme" '' - /** - * Copyright: deadguy - * (edited by Litarvan) - */ - - configuration { - display-drun: "Activate"; - display-run: "Execute"; - display-window: "Window"; - show-icons: true; - sidebar-mode: true; - font: "Roboto 13"; - } - - * { - background-color: transparent; - text-color: #b2aea8; - selbg: #3949A3; - actbg: #262626; - urgbg: #e53935; - winbg: #B3BEFF; - - selected-normal-foreground: @winbg; - normal-foreground: @text-color; - selected-normal-background: @actbg; - normal-background: @background-color; - - selected-urgent-foreground: @background-color; - urgent-foreground: @text-color; - selected-urgent-background: @urgbg; - urgent-background: @background-color; - - selected-active-foreground: @winbg; - active-foreground: @text-color; - selected-active-background: @actbg; - active-background: @selbg; - - line-margin: 2; - line-padding: 2; - separator-style: "none"; - hide-scrollbar: "true"; - margin: 0; - padding: 0; - } - - window { - transparency: "real"; - background-color: #000000FF; - location: west; - anchor: west; - height: 100%; - width: 10em; - orientation: horizontal; - children: [mainbox]; - } - - mainbox { - spacing: 0.8em; - children: [entry, listview ]; - } - - button { padding: 5px 2px; } - - button selected { - background-color: @active-background; - text-color: @background-color; - } - - inputbar { - padding: 5px; - spacing: 5px; - } - - listview { - spacing: 0; - dynamic: false; - cycle: false; - } - - element { padding: 10px; } - - entry { - expand: false; - text-color: @normal-foreground; - vertical-align: 1; - padding: 5px; - } - - element normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; - } - - element normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; - } - - element normal.active { - background-color: @active-background; - text-color: @active-foreground; - } - - element selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; - border: 0 5px solid 0 0; - border-color: @active-background; - } - - element selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; - } - - element selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; - } - - element alternate.normal { - background-color: @normal-background; - text-color: @normal-foreground; - } - - element alternate.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; - } - - element alternate.active { - background-color: @active-background; - text-color: @active-foreground; - } - ''); + theme = ./dotfiles/rofi.rasi; }; } -- cgit v1.2.3