1configuration {
  2    font: "{{ .font }} 14";
  3    show-icons: true;
  4    icon-theme: "Suru++ Dark";
  5    sidebar-mode: true;
  6    window-thumbnail: true;
  7    drun-use-desktop-cache: true;
  8    drun-reload-desktop-cache: true;
  9    modi: "drun,run,window,ssh,calc:qalc +u8,filebrowser,emoji:~/.config/rofi/emoji.sh,unicode:~/.config/rofi/unicode.sh,kaomoji:~/.config/rofi/kaomoji.sh";
 10    display-run: " ";
 11    display-ssh: " ";
 12    display-calc: " ";
 13    display-drun: " ";
 14    display-emoji: " ";
 15    display-window: " ";
 16    display-unicode: " ";
 17    display-kaomoji: "(≧∇≦)/ ";
 18    display-filebrowser: " ";
 19    timeout {
 20        action: "kb-cancel";
 21        delay:  0;
 22    }
 23    filebrowser {
 24        directories-first: true;
 25        sorting-method:    "name";
 26    }
 27}
 28
 29
 30* {
 31    /* Catppuccin colour palette */
 32{{- if eq .theme_variant "dark" }}
 33    bgd: #24273A;
 34    fgd: #CAD3F5;
 35    pnk: #F5BDE6;
 36    red: #ED8796;
 37{{- end }}
 38{{- if eq .theme_variant "light" }}
 39    bgd: #EFF1F5;
 40    fgd: #4C4F69;
 41    pnk: #EA76CB;
 42    red: #D20F39;
 43{{- end }}
 44
 45    foreground: @fgd;
 46    background: @bgd;
 47    active-background: @pnk;
 48    urgent-background: @red;
 49
 50    selected-background: @active-background;
 51    selected-urgent-background: @urgent-background;
 52    selected-active-background: @active-background;
 53    separatorcolor: @active-background;
 54    bordercolor: @pnk;
 55}
 56window {
 57    background-color: @background;
 58    border:           2;
 59    border-radius:    12px;
 60    padding:          0;
 61    width: 900px;
 62    height: 600px;
 63}
 64mainbox {
 65    border:           0;
 66    border-radius:    12px;
 67    padding:          15;
 68}
 69message {
 70    border:           2px solid 0px 0px ;
 71    border-color:     @separatorcolor;
 72    padding:          1px;
 73    border-radius:    12px;
 74}
 75textbox {
 76    text-color:       @foreground;
 77}
 78listview {
 79    columns: 2;
 80    fixed-height:     0;
 81    border:           0px dash 0px 0px ;
 82    border-color:     @separatorcolor;
 83    spacing:          10px ;
 84    scrollbar:        false;
 85    padding:          2px 0px 0px ;
 86}
 87element {
 88    border:           0;
 89    padding:          4px ;
 90}
 91element normal.normal {
 92    background-color: @normal-background;
 93    text-color:       @normal-foreground;
 94    border-radius:    12px;
 95}
 96element normal.urgent {
 97    background-color: @urgent-background;
 98    text-color:       @urgent-foreground;
 99    border-radius: 12px;
100}
101element normal.active {
102    background-color: @active-background;
103    text-color:       @active-foreground;
104    border-radius:    12px;
105}
106element selected.normal {
107    background-color: @selected-normal-background;
108    text-color:       @selected-normal-foreground;
109    border-radius:    12px;
110}
111element selected.urgent {
112    background-color: @selected-urgent-background;
113    text-color:       @selected-urgent-foreground;
114    border-radius:    12px;
115}
116element selected.active {
117    background-color: @selected-active-background;
118    text-color:       @selected-active-foreground;
119    border-radius:    12px;
120}
121element alternate.normal {
122    background-color: @background;
123    text-color:       @foreground;
124    border-radius:    12px;
125}
126element alternate.urgent {
127    background-color: @background;
128    text-color:       @foreground;
129    border-radius:    12px;
130}
131element alternate.active {
132    background-color: @background;
133    text-color:       @foreground;
134    border-radius:    12px;
135}
136sidebar {
137    border:           0px solid 0px 0px ;
138    border-color:     @separatorcolor;
139    spacing:          10;
140}
141button {
142    spacing:          0;
143    text-color:       @normal-foreground;
144    border-radius:    12px;
145}
146button selected {
147    background-color: @selected-normal-background;
148    text-color:       @selected-normal-foreground;
149    border-radius:    12px;
150}
151inputbar {
152    spacing:          10px;
153    padding:          9px;
154    text-color:       @normal-foreground;
155    padding:          1px ;
156    children:         [ prompt,entry ];
157}
158case-indicator {
159    spacing:          0;
160    text-color:       @normal-foreground;
161}
162entry {
163    spacing:          0;
164    text-color:       @normal-foreground;
165}
166prompt {
167    spacing:          0;
168    text-color:       @normal-foreground;
169}