config.rasi

  1configuration {
  2    font: "Triplicate A Code 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    /* Dracula theme colour palette */
 32    drac-bgd: #22212C;
 33    drac-cur: #48465D;
 34    drac-fgd: #F8F8F2;
 35    drac-cmt: #AA99FF;
 36    drac-cya: #80FFEA;
 37    drac-grn: #8AFF80;
 38    drac-ora: #FF9580;
 39    drac-pnk: #FF80BF;
 40    drac-pur: #9580FF;
 41    drac-red: #FFAA99;
 42    drac-yel: #FFFF80;
 43
 44    foreground: @drac-fgd;
 45    background: @drac-bgd;
 46    active-background: @drac-pnk;
 47    urgent-background: @drac-red;
 48
 49    selected-background: @active-background;
 50    selected-urgent-background: @urgent-background;
 51    selected-active-background: @active-background;
 52    separatorcolor: @active-background;
 53    bordercolor: #FF99CC;
 54}
 55window {
 56    background-color: @background;
 57    border:           2;
 58    border-radius:    12px;
 59    padding:          0;
 60    width: 900px;
 61    height: 600px;
 62}
 63mainbox {
 64    border:           0;
 65    border-radius:    12px;
 66    padding:          15;
 67}
 68message {
 69    border:           2px solid 0px 0px ;
 70    border-color:     @separatorcolor;
 71    padding:          1px;
 72    border-radius:    12px;
 73}
 74textbox {
 75    text-color:       @foreground;
 76}
 77listview {
 78    columns: 2;
 79    fixed-height:     0;
 80    border:           0px dash 0px 0px ;
 81    border-color:     @separatorcolor;
 82    spacing:          10px ;
 83    scrollbar:        false;
 84    padding:          2px 0px 0px ;
 85}
 86element {
 87    border:           0;
 88    padding:          4px ;
 89}
 90element normal.normal {
 91    background-color: @normal-background;
 92    text-color:       @normal-foreground;
 93    border-radius:    12px;
 94}
 95element normal.urgent {
 96    background-color: @urgent-background;
 97    text-color:       @urgent-foreground;
 98    border-radius: 12px;
 99}
100element normal.active {
101    background-color: @active-background;
102    text-color:       @active-foreground;
103    border-radius:    12px;
104}
105element selected.normal {
106    background-color: @selected-normal-background;
107    text-color:       @selected-normal-foreground;
108    border-radius:    12px;
109}
110element selected.urgent {
111    background-color: @selected-urgent-background;
112    text-color:       @selected-urgent-foreground;
113    border-radius:    12px;
114}
115element selected.active {
116    background-color: @selected-active-background;
117    text-color:       @selected-active-foreground;
118    border-radius:    12px;
119}
120element alternate.normal {
121    background-color: @background;
122    text-color:       @foreground;
123    border-radius:    12px;
124}
125element alternate.urgent {
126    background-color: @background;
127    text-color:       @foreground;
128    border-radius:    12px;
129}
130element alternate.active {
131    background-color: @background;
132    text-color:       @foreground;
133    border-radius:    12px;
134}
135sidebar {
136    border:           0px solid 0px 0px ;
137    border-color:     @separatorcolor;
138    spacing:          10;
139}
140button {
141    spacing:          0;
142    text-color:       @normal-foreground;
143    border-radius:    12px;
144}
145button selected {
146    background-color: @selected-normal-background;
147    text-color:       @selected-normal-foreground;
148    border-radius:    12px;
149}
150inputbar {
151    spacing:          10px;
152    padding:          9px;
153    text-color:       @normal-foreground;
154    padding:          1px ;
155    children:         [ prompt,entry ];
156}
157case-indicator {
158    spacing:          0;
159    text-color:       @normal-foreground;
160}
161entry {
162    spacing:          0;
163    text-color:       @normal-foreground;
164}
165prompt {
166    spacing:          0;
167    text-color:       @normal-foreground;
168}