From d78abae0d8c148e2f713ed48e071b8b16d3090b1 Mon Sep 17 00:00:00 2001 From: Tom Weber Date: Fri, 21 Oct 2022 19:52:18 +0200 Subject: [PATCH] rofi --- .config/openbox/rc.xml | 2 +- .config/rofi/themes/eyecandy.rasi | 135 ------------------------------ .config/rofi/themes/minimal.rasi | 82 ++++++++++++++++++ 3 files changed, 83 insertions(+), 136 deletions(-) delete mode 100644 .config/rofi/themes/eyecandy.rasi create mode 100644 .config/rofi/themes/minimal.rasi diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index a4ea674..fd1ae37 100644 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -318,7 +318,7 @@ - rofi -combi-modi drun,window,ssh -theme eyecandy -font "hack 24" -show combi -sort + rofi -theme minimal -font "hack 24" -show run diff --git a/.config/rofi/themes/eyecandy.rasi b/.config/rofi/themes/eyecandy.rasi deleted file mode 100644 index 6154ae2..0000000 --- a/.config/rofi/themes/eyecandy.rasi +++ /dev/null @@ -1,135 +0,0 @@ - -configuration { - - font: "Hack 32"; - width: 30; - line-margin: 10; - lines: 6; - columns: 2; - - display-ssh: ""; - display-run: ""; - display-drun: ""; - display-window: ""; - display-combi: ""; - show-icons: true; -} - -* { - black0: #373E4D; - black1: #3B4252; - black2: #434C5E; - black3: #4C566A; - red0: #FA5AA4; - red1: #FA74B2; - green0: #2BE491; - green1: #44EB9F; - yellow0: #FA946E; - yellow1: #FAA687; - blue0: #63C5EA; - blue1: #7ACBEA; - magenta0: #CF8EF4; - magenta1: #D8A6F4; - cyan0: #89CCF7; - cyan1: #A1D5F7; - white0: #F9F9F9; - white1: #F7F7F7; - white2: #F4F4F4; - - - foreground: @black0; - backlight: #ccffeedd; - background-color: rgba(249,249,249,0.9); - highlight: underline bold #4C566A; - - transparent: rgba(249,249,249,1); -} - -window { - location: center; - anchor: center; - transparency: "screenshot"; - padding: 10px; - border: 0px; - border-radius: 6px; - - background-color: @transparent; - spacing: 0; - children: [mainbox]; - orientation: horizontal; -} - -mainbox { - spacing: 0; - children: [ inputbar, message, listview ]; -} - -message { - color: @white1; - padding: 5; - border-color: @foreground; - border: 0px 2px 2px 2px; - background-color: @transparent; -} - -inputbar { - color: @black0; - padding: 11px; - background-color: @transparent; - - border: 1px; - border-radius: 6px 6px 0px 0px; - border-color: @black0; -} - -entry, prompt, case-indicator { - text-font: inherit; - text-color:inherit; -} - -prompt { - margin: 0px 0.3em 0em 0em ; -} - -listview { - padding: 8px; - border-radius: 0px 0px 6px 6px; - border-color: @black0; - border: 0px 1px 1px 1px; - background-color: @transparent; - dynamic: false; -} - -element { - padding: 3px; - vertical-align: 0.5; - border-radius: 4px; - background-color: transparent; - color: @magenta0; - text-color: @black1; -} - -element selected.normal { - background-color: @magenta1; - text-color: @black1; -} - -element-text, element-icon { - background-color: inherit; - text-color: inherit; -} - -button { - padding: 6px; - color: @foreground; - horizontal-align: 0.5; - - border: 2px 0px 2px 2px; - border-radius: 4px 0px 0px 4px; - border-color: @foreground; -} - -button selected normal { - border: 2px 0px 2px 2px; - border-color: @foreground; -} diff --git a/.config/rofi/themes/minimal.rasi b/.config/rofi/themes/minimal.rasi new file mode 100644 index 0000000..355dfc6 --- /dev/null +++ b/.config/rofi/themes/minimal.rasi @@ -0,0 +1,82 @@ +/* + * ROFI color theme + * + * Based on Something Found in the Internet + * + * User: Contributors + * Copyright: *! + */ + +configuration { + font: "Iosevka Nerd Font Medium 12"; + + drun { + display-name: "[^.^]"; + } + + run { + display-name: "[°.°]"; + } + + window { + display-name: "[*.*]"; + } + + timeout { + delay: 10; + action: "kb-cancel"; + } +} + +* { + border: 0; + margin: 0; + padding: 0; + spacing: 0; + + bg: #2A2E48; + bg-alt: #232323; + fg: #f4c2c2; + fg-alt: #66b2b2; + + background-color: @bg; + text-color: @fg; +} + +window { + transparency: "real"; +} + +mainbox { + children: [inputbar, listview]; +} + +inputbar { + children: [prompt, entry]; +} + +entry { + padding: 12px 0; +} + +prompt { + padding: 12px; +} + +listview { + lines: 8; +} + +element { + children: [element-text]; +} + +element-text { + padding: 12px; + text-color: @fg-alt; +} + +element-text selected { + text-color: @fg; +} +