Files
nixos-thinkpad/dotfiles/rofi/config.rasi
T
2026-07-16 16:15:10 +02:00

198 lines
5.0 KiB
Plaintext

@import "catppuccin-mocha"
configuration {
modes: "drun";
font: "JetBrains Mono";
show-icons: true;
terminal: "foot";
sorting-method: "normal";
case-sensitive: false;
display-window: " Windows: ";
display-ssh: " Ssh: ";
display-drun: "󰀻 Apps: ";
display-run: "Run: ";
}
* {
selected-active-foreground: @background;
lightfg: @text;
separatorcolor: @foreground;
urgent-foreground: @red;
alternate-urgent-background: @lightbg;
lightbg: @mantle;
background-color: transparent;
border-color: @foreground;
normal-background: @background;
selected-urgent-background: @red;
alternate-active-background: @lightbg;
spacing: 2;
alternate-normal-foreground: @foreground;
urgent-background: @background;
selected-normal-foreground: @lightbg;
active-foreground: @blue;
background: @base;
selected-active-background: @blue;
active-background: @background;
selected-normal-background: @lightfg;
alternate-normal-background: @lightbg;
foreground: @text;
selected-urgent-foreground: @background;
normal-foreground: @foreground;
alternate-urgent-foreground: @red;
alternate-active-foreground: @blue;
}
element {
padding: 0px 10px ;
cursor: pointer;
spacing: 8px ;
border: 0;
border-radius: 0px;
orientation: horizontal;
}
element normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
element-text {
background-color: transparent;
cursor: inherit;
highlight: inherit;
text-color: inherit;
font: "JetBrains Mono 12";
}
element-icon {
background-color: transparent;
size: 24px;
cursor: inherit;
text-color: inherit;
}
window {
width: 600px;
padding: 0;
background-color: @background;
border: 1px;
border-radius: 0px;
}
mainbox {
padding: 0;
border: 0;
}
message {
padding: 8px 12px ;
margin: 0 0 10px 0;
border-color: @separatorcolor;
border: 2px dash 0px 0px ;
}
textbox {
text-color: @foreground;
font: "JetBrains Mono 1i";
}
listview {
padding: 2px 0px 0px ;
scrollbar: true;
border-color: @separatorcolor;
spacing: 4px ;
fixed-height: false;
border: 2px dash 0px 0px ;
columns: 1;
}
scrollbar {
width: 4px ;
padding: 0;
handle-width: 4px ;
border: 0;
border-radius: 0px;
handle-color: @normal-foreground;
}
sidebar {
border-color: @separatorcolor;
border: 2px dash 0px 0px ;
}
button {
cursor: pointer;
spacing: 0;
border-radius: 1px;
text-color: @normal-foreground;
}
button selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
num-filtered-rows {
expand: false;
text-color: Gray;
}
num-rows {
expand: false;
text-color: Gray;
}
textbox-num-sep {
expand: false;
str: "/";
text-color: Gray;
}
inputbar {
padding: 10px 10px ;
margin: 0 0 10px 0;
spacing: 0px ;
text-color: @normal-foreground;
children: [ "prompt","entry" ];
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
font: "JetBrains Mono 12";
text-color: @normal-foreground;
cursor: text;
spacing: 0;
placeholder-color: Gray;
placeholder: "Search...";
}
prompt {
font: "JetBrains Mono Bold 12";
cursor: text;
spacing: 0;
text-color: @normal-foreground;
}
textbox-prompt-colon {
margin: 0px 0.3000em 0.0000em 0.0000em ;
expand: false;
str: ":";
text-color: inherit;
}