Added few rofi configs

This commit is contained in:
Harri Lahtinen 2021-10-26 23:28:48 +03:00
parent 548fa81d22
commit f1c214ac58
2 changed files with 62 additions and 0 deletions

28
.config/rofi/config.rasi Normal file
View File

@ -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"

View File

@ -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;
}