diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index ef8cda2..411fe9c 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -7,125 +7,98 @@ # */ -/*Dracula theme based on the Purple official rofi theme*/ +/* + * ROFI One Dark + * + * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) + * + * Author: Benjamin Stauss + * User: me-benni + * + */ + * { - font: "Jetbrains Mono 12"; - foreground: #f8f8f2; - background-color: #282a36; - active-background: #6272a4; - urgent-background: #ff5555; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @active-background; + black: #000000; + red: #eb6e67; + green: #95ee8f; + yellow: #f8c456; + blue: #6eaafb; + mangenta: #d886f3; + cyan: #6cdcf7; + emphasis: #50536b; + text: #dfdfdf; + text-alt: #b2b2b2; + fg: #abb2bf; + bg: #282c34; + + spacing: 0; + background-color: transparent; + + font: "Knack Nerd Font 14"; + text-color: @text; } -#window { - background-color: @background; - border: 1; - border-radius: 6; - border-color: @bordercolor; - padding: 5; +mainbox { + background-color: #282c34ee; + padding: 14px; } -#mainbox { - border: 0; - padding: 0; + +inputbar { + margin: 0px 0px 20px 0px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; } -#message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; + +prompt { + text-color: @blue; } -#textbox { - text-color: @foreground; + +textbox-prompt-colon { + expand: false; + str: ":"; + text-color: @text-alt; } -#listview { - fixed-height: 0; - border: 2px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; + +entry { + margin: 0px 10px; } -#element { - border: 0; - padding: 1px ; + +listview { + spacing: 5px; + dynamic: true; + scrollbar: false; } -#element.normal.normal { - background-color: @background; - text-color: @foreground; + +element { + padding: 10px 5px 5px; + text-color: @text-alt; + highlight: bold #95ee8f; /* green */ + border-radius: 3px; } -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; + +element selected { + background-color: @emphasis; + text-color: @text; } -#element.normal.active { - background-color: @active-background; - text-color: @foreground; + +element urgent, element selected urgent { + text-color: @red; } -#element.selected.normal { - background-color: @selected-background; - text-color: @foreground; + +element active, element selected active { + text-color: @purple; } -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; + +message { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; + border: 1px; + border-color: @cyan; } -#element.selected.active { - background-color: @selected-active-background; - text-color: @foreground; -} -#element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; -} -#inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; -} -#entry { - spacing: 0; - text-color: @foreground; -} -#prompt { - spacing: 0; - text-color: @foreground; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -#textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @foreground; + +button selected { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; }