Skip to content

Instantly share code, notes, and snippets.

@davidhaley
Last active October 6, 2022 09:55
Show Gist options
  • Save davidhaley/d0dc8ee8451ede3a2cedfd56532c93e2 to your computer and use it in GitHub Desktop.
Save davidhaley/d0dc8ee8451ede3a2cedfd56532c93e2 to your computer and use it in GitHub Desktop.
Rofi launcher config
# ~/.config/rofi/config.rasi
# repo: https://github.com/davatorium/rofi
# I found/modified this config from somewhere, but I forget where!
configuration {
display-drun: "Applications:";
display-window: "Windows:";
drun-display-format: "{name}";
font: "DM Mono Medium 10";
modi: "window,run,drun";
}
@theme "/dev/null"
* {
bg: #11121D;
bg-alt: #444b6a;
fg: #FFFFFF;
fg-alt: #787c99;
background-color: @bg;
border: 0;
margin: 0;
padding: 0;
spacing: 0;
}
window {
width: 30%;
}
element {
padding: 8 0;
text-color: @fg-alt;
}
element selected {
text-color: @fg;
}
element-text {
background-color: inherit;
text-color: inherit;
vertical-align: 0.5;
}
element-icon {
size: 30;
}
entry {
background-color: @bg-alt;
padding: 12;
text-color: @fg;
}
inputbar {
children: [prompt, entry];
}
listview {
padding: 8 12;
background-color: @bg;
columns: 1;
lines: 8;
}
mainbox {
background-color: @bg;
children: [inputbar, listview];
}
prompt {
background-color: @bg-alt;
enabled: true;
padding: 12 0 0 12;
text-color: @fg;
}
/* vim: ft=sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment