Dotfiles/rofi/scripts/confirm/confirm.rasi
2023-02-03 19:12:16 +01:00

118 lines
3.4 KiB
Text

/*****----- Configuration -----*****/
configuration {
show-icons: false;
}
/*****----- Global Properties -----*****/
* {
background: @theme-dark-4;
background-alt: @theme-dark-2;
foreground: @theme-light-1;
selected: @theme-accent-primary;
active: @theme-accent-secondary;
urgent: @theme-accent-tertiary;
}
/*
USE_BUTTONS=YES
*/
/*****----- Main Window -----*****/
window {
transparency: "real";
x-offset: 0px;
y-offset: 0px;
location: center;
anchor: center;
fullscreen: false;
width: 350px;
padding: @theme-padding;
border: 0px solid;
border-radius: @theme-border-radius;
border-color: @selected;
cursor: "default";
background-color: @background;
}
/*****----- Main Box -----*****/
mainbox {
background-color: transparent;
orientation: vertical;
children: [ "inputbar", "listview" ];
}
/*****----- Inputbar -----*****/
inputbar {
padding: @theme-padding;
margin: @theme-padding;
border-radius: @theme-border-radius;
background-color: @active;
text-color: @foreground;
children: [ "dummy", "prompt", "dummy"];
}
dummy {
background-color: transparent;
}
prompt {
background-color: inherit;
text-color: inherit;
}
/*****----- Message -----*****/
message {
enabled: true;
border-radius: @theme-border-radius;
background-color: @urgent;
text-color: @background;
}
textbox {
background-color: inherit;
text-color: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 2;
lines: 1;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: @theme-gaps;
margin: @theme-padding;
background-color: transparent;
cursor: "default";
}
/*****----- Elements -----*****/
element {
enabled: true;
padding: 0px 0px;
border-radius: @theme-border-radius;
background-color: @background-alt;
text-color: @foreground;
cursor: pointer;
}
element-text {
font: @font-icon;
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.5;
}
element selected.normal {
background-color: var(selected);
text-color: var(background);
}