Skip to content

Instantly share code, notes, and snippets.

@glyh
Created August 5, 2021 08:21
Show Gist options
  • Save glyh/4cf52beec54d463748288c54e0efbaed to your computer and use it in GitHub Desktop.
Save glyh/4cf52beec54d463748288c54e0efbaed to your computer and use it in GitHub Desktop.
rofi config
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
terminal: "alacritty";
font: "FiraMono Nerd Font 15";
show-icons: true;
icon-theme: "Papirus";
display-drun: "";
drun-display-format: "{name}";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
/* -- Breeze Light-- */
* {
background: #EFF0F1FF;
background-alt: #00000000;
background-bar: #93CEE999;
foreground: #000000A6;
accent: #3DAEE9FF;
}
/* -- Breeze Dark-- */
/*
* {
background: #31363bff;
background-alt: #00000000;
background-bar: #3daee966;
foreground: #f5f5f5e6;
accent: #1d99f3ff;
}
*/
/* -- Black-- */
/*
* {
background: #000000ff;
background-alt: #00000000;
background-bar: #3daee966;
foreground: #f5f5f5b3;
accent: #1d99f3ff;
}
*/
window {
transparency: "real";
background-color: @background;
text-color: @foreground;
border: 0px;
border-color: @border;
border-radius: 0px;
width: 38%;
location: center;
x-offset: 0;
y-offset: 0;
}
prompt {
enabled: true;
padding: 0.30% 0.75% 0% -0.5%;
background-color: @background-alt;
text-color: @foreground;
font: "FantasqueSansMono Nerd Font 10";
}
entry {
background-color: @background-alt;
text-color: @foreground;
placeholder-color: @foreground;
expand: true;
horizontal-align: 0;
placeholder: "Search";
padding: -0.15% 0% 0% 0%;
blink: true;
}
inputbar {
children: [ prompt, entry ];
background-color: @background;
text-color: @foreground;
expand: false;
border: 0.1%;
border-radius: 4px;
border-color: @accent;
margin: 0% 0% 0% 0%;
padding: 1%;
}
listview {
background-color: @background-alt;
columns: 6;
lines: 3;
spacing: 0%;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background-alt;
border: 0% 0% 0% 0%;
border-radius: 0% 0% 0% 0%;
border-color: @accent;
children: [ inputbar, listview ];
spacing: 1%;
padding: 1% 0.5% 1% 0.5%;
}
element {
background-color: @background-alt;
text-color: @foreground;
orientation: vertical;
border-radius: 0%;
padding: 2% 0% 2% 0%;
}
element-icon {
size: 64px;
border: 0px;
}
element-text {
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0.5% 0.5% -0.5% 0.5%;
}
element selected {
background-color: @background-bar;
text-color: @foreground;
border: 0.1%;
border-radius: 4px;
border-color: @accent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment