Skip to content

Instantly share code, notes, and snippets.

@hatoba29
Created December 12, 2019 01:32
Show Gist options
  • Save hatoba29/52fd11a140deb8beeea5936e12bf566a to your computer and use it in GitHub Desktop.
Save hatoba29/52fd11a140deb8beeea5936e12bf566a to your computer and use it in GitHub Desktop.
onedark Rofi theme (customed by me)
/*
* ROFI One Dark
*
* Based on OneDark.vim (https://github.com/joshdick/onedark.vim)
*
* Author: Benjamin Stauss
* User: me-benni
* Edit: hatoba29
*
*/
* {
black: #000000;
red: #eb6e67;
green: #95ee8f;
yellow: #f8c456;
blue: #6eaafb;
magenta: #d886f3;
cyan: #6cdcf7;
emphasis: #50536b;
text: #dfdfdf;
text-alt: #b2b2b2;
fg: #abb2bf;
bg: #282c34;
spacing: 0;
background-color: transparent;
font: "SauceCodePro Nerd Font 14";
text-color: @text;
}
window {
transparency: "screenshot";
location: center;
background-color: #282c34dd;
width: 40%;
}
mainbox {
childern: [inputbar, message, listview];
}
inputbar {
padding: 10px 10px;
children: [entry, case-indicator];
}
prompt {
text-color: @blue;
}
textbox-prompt-colon {
expand: false;
str: ":";
text-color: @text-alt;
}
entry {
margin: 0px 0px;
}
listview {
padding: 5px 5px;
spacing: 5px;
fixed-height: false;
scrollbar: false;
lines: 4;
}
element {
padding: 5px;
text-color: @text-alt;
highlight: bold #95ee8f; /* green */
border-radius: 3px;
}
element selected {
background-color: @emphasis;
text-color: @text;
}
element urgent, element selected urgent {
text-color: @red;
}
element active, element selected active {
text-color: @purple;
}
message {
padding: 5px;
border-radius: 3px;
background-color: @emphasis;
border: 1px;
border-color: @cyan;
}
button selected {
padding: 5px;
border-radius: 3px;
background-color: @emphasis;
}
/* vim:ft=css
@therajat08
Copy link

therajat08 commented Dec 10, 2020

I am using the original, i just cant get to increse its width. Plese tell what to change or add. I can't even increase the lines.

@hatoba29
Copy link
Author

Sorry for late comment.
You can increase its width by editing line 38 and increase the lines by line 69.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment