From f1c214ac58c2edf1ca2fae1b72ee44d3cc22c24b Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Tue, 26 Oct 2021 23:28:48 +0300 Subject: [PATCH] Added few rofi configs --- .config/rofi/config.rasi | 28 +++++++++++++++++ .config/rofi/themes/shared/option-menu.rasi | 34 +++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/themes/shared/option-menu.rasi diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..a0c10fc --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,28 @@ +configuration { + show-icons: true; + icon-theme: "Nordic"; + font: "UbuntuMono Nerd Font 22"; + cycle: true; + disable-history: false; + monitor: "-4"; + modi: "drun"; + display-drun: "apps"; +} + +/* Fixes for rofi 1.7.0 */ +window { + border: 0px; +} +inputbar { + spacing: -4px; +} +listview { + columns: 1; + scrollbar: false; + border: 0px; +} +element-text, +element-icon { + background-color: transparent; +} +@import "~/.cache/wal/colors-rofi-dark" diff --git a/.config/rofi/themes/shared/option-menu.rasi b/.config/rofi/themes/shared/option-menu.rasi new file mode 100644 index 0000000..1e2d6a4 --- /dev/null +++ b/.config/rofi/themes/shared/option-menu.rasi @@ -0,0 +1,34 @@ +/** + * Settings used in every rofi option menu: + * - i3-layout + * - music + * - power + * - screenshot + */ +@import "settings.rasi" +* { + background-color: @normal-background; + text-color: @normal-foreground; + font: @icon-font; +} +#window { + children: [ horibox ]; +} +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +element { + padding: @option-element-padding; +} +element.normal.normal, +element.alternate.normal { + background-color: @normal-background; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +