config.rasi

  1configuration {
  2    font: "Triplicate T4 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    modi: "drun,run,window,ssh,calc:qalc +u8,filebrowser,emoji:~/.config/rofi/emoji.sh,unicode:~/.config/rofi/unicode.sh,kaomoji:~/.config/rofi/kaomoji.sh";
  9    display-run: "";
 10    display-ssh: "";
 11    display-calc: "";
 12    display-drun: "";
 13    display-emoji: "";
 14    display-window: "";
 15    display-unicode: "";
 16    display-kaomoji: "(≧∇≦)/";
 17    display-filebrowser: "";
 18    timeout {
 19        action: "kb-cancel";
 20        delay:  0;
 21    }
 22    filebrowser {
 23        directories-first: true;
 24        sorting-method:    "name";
 25    }
 26}
 27
 28
 29* {
 30    /* Dracula theme colour palette */
 31    drac-bgd: #282a36;
 32    drac-cur: #44475a;
 33    drac-fgd: #f8f8f2;
 34    drac-cmt: #6272a4;
 35    drac-cya: #8be9fd;
 36    drac-grn: #50fa7b;
 37    drac-ora: #ffb86c;
 38    drac-pnk: #ff79c6;
 39    drac-pur: #bd93f9;
 40    drac-red: #ff5555;
 41    drac-yel: #f1fa8c;
 42
 43    foreground: @drac-fgd;
 44    background: @drac-bgd;
 45    active-background: @drac-pnk;
 46    urgent-background: @drac-red;
 47
 48    selected-background: @active-background;
 49    selected-urgent-background: @urgent-background;
 50    selected-active-background: @active-background;
 51    separatorcolor: @active-background;
 52    bordercolor: #6272a4;
 53}
 54window {
 55    background-color: @background;
 56    border:           2;
 57    border-radius:    12px;
 58    padding:          0;
 59    width: 50%;
 60    height: 50%;
 61}
 62mainbox {
 63    border:           0;
 64    border-radius:    12px;
 65    padding:          15;
 66}
 67message {
 68    border:           2px solid 0px 0px ;
 69    border-color:     @separatorcolor;
 70    padding:          1px;
 71    border-radius:    12px;
 72}
 73textbox {
 74    text-color:       @foreground;
 75}
 76listview {
 77    columns: 2;
 78    fixed-height:     0;
 79    border:           0px dash 0px 0px ;
 80    border-color:     @separatorcolor;
 81    spacing:          10px ;
 82    scrollbar:        false;
 83    padding:          2px 0px 0px ;
 84}
 85element {
 86    border:           0;
 87    padding:          4px ;
 88}
 89element normal.normal {
 90    background-color: @normal-background;
 91    text-color:       @normal-foreground;
 92    border-radius:    12px;
 93}
 94element normal.urgent {
 95    background-color: @urgent-background;
 96    text-color:       @urgent-foreground;
 97    border-radius: 12px;
 98}
 99element normal.active {
100    background-color: @active-background;
101    text-color:       @active-foreground;
102    border-radius:    12px;
103}
104element selected.normal {
105    background-color: @selected-normal-background;
106    text-color:       @selected-normal-foreground;
107    border-radius:    12px;
108}
109element selected.urgent {
110    background-color: @selected-urgent-background;
111    text-color:       @selected-urgent-foreground;
112    border-radius:    12px;
113}
114element selected.active {
115    background-color: @selected-active-background;
116    text-color:       @selected-active-foreground;
117    border-radius:    12px;
118}
119element alternate.normal {
120    background-color: @background;
121    text-color:       @foreground;
122    border-radius:    12px;
123}
124element alternate.urgent {
125    background-color: @background;
126    text-color:       @foreground;
127    border-radius:    12px;
128}
129element alternate.active {
130    background-color: @background;
131    text-color:       @foreground;
132    border-radius:    12px;
133}
134sidebar {
135    border:           0px solid 0px 0px ;
136    border-color:     @separatorcolor;
137    spacing:          10;
138}
139button {
140    spacing:          0;
141    text-color:       @normal-foreground;
142    border-radius:    12px;
143}
144button selected {
145    background-color: @selected-normal-background;
146    text-color:       @selected-normal-foreground;
147    border-radius:    12px;
148}
149inputbar {
150    spacing:          10px;
151    padding:          9px;
152    text-color:       @normal-foreground;
153    padding:          1px ;
154    children:         [ prompt,entry ];
155}
156case-indicator {
157    spacing:          0;
158    text-color:       @normal-foreground;
159}
160entry {
161    spacing:          0;
162    text-color:       @normal-foreground;
163}
164prompt {
165    spacing:          0;
166    text-color:       @normal-foreground;
167}