Created
July 25, 2024 23:12
-
-
Save Garulf/ba2157c506d7777440db3feeb9d410ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Author : Aditya Shakya (adi1090x) | |
* Github : @adi1090x | |
* | |
* Rofi Theme File | |
* Rofi Version: 1.7.3 | |
**/ | |
/*****----- Configuration -----*****/ | |
configuration { | |
modi: "drun"; | |
show-icons: true; | |
display-drun: ""; | |
drun-display-format: "{name}"; | |
scroll-method: 1; | |
} | |
/*****----- Global Properties -----*****/ | |
@import "shared/colors.rasi" | |
@import "shared/fonts.rasi" | |
/*****----- Main Window -----*****/ | |
window { | |
transparency: "real"; | |
location: north; | |
anchor: north; | |
fullscreen: false; | |
width: 750px; | |
x-offset: 0px; | |
y-offset: 40%; | |
enabled: true; | |
margin: 0px; | |
padding: 0px; | |
border: 0px solid; | |
border-radius: 0px; | |
border-color: @selected; | |
background-color: @background; | |
cursor: "default"; | |
} | |
/*****----- Main Box -----*****/ | |
mainbox { | |
enabled: true; | |
spacing: 10px; | |
margin: 0px; | |
padding: 10px; | |
border: 0px solid; | |
border-radius: 0px 0px 0px 0px; | |
border-color: @selected; | |
background-color: transparent; | |
children: [ "inputbar", "listview" ]; | |
} | |
/*****----- Inputbar -----*****/ | |
inputbar { | |
enabled: true; | |
spacing: 10px; | |
margin: 0px; | |
padding: 10px; | |
border-radius: 4px; | |
background-color: @background; | |
text-color: @foreground; | |
children: [ "entry" ]; | |
} | |
prompt { | |
enabled: false; | |
background-color: inherit; | |
text-color: inherit; | |
} | |
textbox-prompt-colon { | |
enabled: true; | |
expand: false; | |
str: "::"; | |
background-color: inherit; | |
text-color: inherit; | |
} | |
entry { | |
enabled: true; | |
background-color: inherit; | |
text-color: inherit; | |
cursor: text; | |
placeholder: "Search"; | |
placeholder-color: @background-alt; | |
} | |
/*****----- Listview -----*****/ | |
listview { | |
enabled: true; | |
columns: 1; | |
lines: 9; | |
cycle: true; | |
dynamic: true; | |
scrollbar: true; | |
layout: vertical; | |
reverse: false; | |
fixed-height: false; | |
fixed-columns: true; | |
spacing: 0px; | |
margin: 0px; | |
padding: 0px; | |
border: 0px solid; | |
border-radius: 0px; | |
border-color: @selected; | |
background-color: transparent; | |
text-color: @foreground; | |
cursor: "default"; | |
} | |
scrollbar { | |
handle-width: 5px ; | |
handle-color: @background-alt; | |
border-radius: 14px; | |
background-color: @background; | |
} | |
/*****----- Elements -----*****/ | |
element { | |
enabled: true; | |
spacing: 20px; | |
margin: 0px; | |
padding: 5px; | |
border: 0px solid; | |
border-radius: 0px; | |
border-color: @selected; | |
background-color: transparent; | |
text-color: @foreground; | |
orientation: horizontal; | |
cursor: pointer; | |
children: [ "element-icon", "element-text", "element-index" ]; | |
} | |
element normal.normal { | |
background-color: transparent; | |
text-color: @foreground; | |
} | |
element selected.normal { | |
border-radius: 0px; | |
background-color: @selected; | |
text-color: @foreground; | |
} | |
element-icon { | |
background-color: transparent; | |
text-color: inherit; | |
size: 64px; | |
cursor: inherit; | |
} | |
element-text { | |
background-color: transparent; | |
text-color: inherit; | |
highlight: inherit; | |
cursor: inherit; | |
vertical-align: 0.5; | |
horizontal-align: 0.0; | |
} | |
element-text.selected { | |
background-color: transparent; | |
text-color: @background; | |
} | |
element-index { | |
enabled: true; | |
background-color: transparent; | |
text-color: @foreground; | |
} | |
/*****----- Message -----*****/ | |
error-message { | |
padding: 10px; | |
border: 0px solid; | |
border-radius: 0px; | |
border-color: @selected; | |
background-color: black / 10%; | |
text-color: @foreground; | |
} | |
textbox { | |
background-color: transparent; | |
text-color: @foreground; | |
vertical-align: 0.5; | |
horizontal-align: 0.0; | |
highlight: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment