mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
140 lines
3.8 KiB
Plaintext
140 lines
3.8 KiB
Plaintext
|
/*
|
||
|
*
|
||
|
* Author : Aditya Shakya
|
||
|
* Mail : adi1090x@gmail.com
|
||
|
* Github : @adi1090x
|
||
|
* Twitter : @adi1090x
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
configuration {
|
||
|
font: "FantasqueSansMono Nerd Font 10";
|
||
|
show-icons: true;
|
||
|
icon-theme: "Papirus";
|
||
|
display-drun: "";
|
||
|
drun-display-format: "{name}";
|
||
|
disable-history: false;
|
||
|
sidebar-mode: false;
|
||
|
}
|
||
|
|
||
|
@import "styles/colors.rasi"
|
||
|
|
||
|
window {
|
||
|
transparency: "real";
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
border: 5% 3% 5% 3%;
|
||
|
border-color: @border;
|
||
|
border-radius: 0% 0% 0% 0%;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
prompt {
|
||
|
enabled: true;
|
||
|
padding: 0% 1% 0% 0%;
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
font: "FantasqueSansMono Nerd Font 12";
|
||
|
}
|
||
|
|
||
|
entry {
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
placeholder-color: @foreground;
|
||
|
expand: true;
|
||
|
horizontal-align: 0;
|
||
|
placeholder: "Search Applications";
|
||
|
padding: 0.15% 0% 0% 0%;
|
||
|
blink: true;
|
||
|
}
|
||
|
|
||
|
inputbar {
|
||
|
children: [ prompt, entry ];
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
expand: false;
|
||
|
border: 0% 0% 0.3% 0%;
|
||
|
border-radius: 0% 0% 0% 0%;
|
||
|
border-color: @border-alt;
|
||
|
margin: 0% 49.5% 0% 0%;
|
||
|
padding: 1%;
|
||
|
position: center;
|
||
|
}
|
||
|
|
||
|
listview {
|
||
|
background-color: @background;
|
||
|
columns: 8;
|
||
|
spacing: 1%;
|
||
|
cycle: false;
|
||
|
dynamic: true;
|
||
|
layout: vertical;
|
||
|
}
|
||
|
|
||
|
mainbox {
|
||
|
background-color: @background;
|
||
|
border: 5% 3% 5% 3%;
|
||
|
border-radius: 0% 0% 0% 0%;
|
||
|
border-color: @border-alt;
|
||
|
children: [ inputbar, listview ];
|
||
|
spacing: 2%;
|
||
|
padding: 15% 10% 15% 10%;
|
||
|
}
|
||
|
|
||
|
element {
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
orientation: vertical;
|
||
|
border-radius: 0%;
|
||
|
padding: 1% 0% 1% 0%;
|
||
|
}
|
||
|
|
||
|
element-icon {
|
||
|
background-color: inherit;
|
||
|
text-color: inherit;
|
||
|
horizontal-align: 0.5;
|
||
|
vertical-align: 0.5;
|
||
|
size: 64px;
|
||
|
border: 0px;
|
||
|
}
|
||
|
|
||
|
element-text {
|
||
|
background-color: inherit;
|
||
|
text-color: inherit;
|
||
|
expand: true;
|
||
|
horizontal-align: 0.5;
|
||
|
vertical-align: 0.5;
|
||
|
margin: 0.5% 1% 0% 1%;
|
||
|
}
|
||
|
|
||
|
element normal.urgent,
|
||
|
element alternate.urgent {
|
||
|
background-color: @urgent;
|
||
|
text-color: @foreground;
|
||
|
border-radius: 1%;
|
||
|
}
|
||
|
|
||
|
element normal.active,
|
||
|
element alternate.active {
|
||
|
background-color: @background-alt;
|
||
|
text-color: @foreground;
|
||
|
}
|
||
|
|
||
|
element selected {
|
||
|
background-color: @selected;
|
||
|
text-color: @foreground;
|
||
|
border: 0% 0% 0.3% 0%;
|
||
|
border-radius: 0% 0% 0% 0%;
|
||
|
border-color: @border-alt;
|
||
|
}
|
||
|
|
||
|
element selected.urgent {
|
||
|
background-color: @urgent;
|
||
|
text-color: @foreground;
|
||
|
}
|
||
|
|
||
|
element selected.active {
|
||
|
background-color: @background-alt;
|
||
|
color: @foreground;
|
||
|
}
|