-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rofi: screenshot): use banner like menu
- Loading branch information
Showing
3 changed files
with
165 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
@import "dotfiles" | ||
|
||
/** | ||
* | ||
* Author : Aditya Shakya (adi1090x) | ||
* Github : @adi1090x | ||
* | ||
* Rofi Theme File | ||
* Rofi Version: 1.7.3 | ||
**/ | ||
|
||
/*****----- Configuration -----*****/ | ||
configuration { | ||
show-icons: false; | ||
} | ||
|
||
/*****----- Main Window -----*****/ | ||
window { | ||
transparency: "real"; | ||
location: center; | ||
anchor: center; | ||
fullscreen: false; | ||
width: 800px; | ||
x-offset: 0px; | ||
y-offset: 0px; | ||
margin: 0px; | ||
padding: 0px; | ||
border: 2px solid; | ||
border-radius: 30px; | ||
border-color: @accent; | ||
cursor: "default"; | ||
background-color: @background; | ||
} | ||
|
||
/*****----- Main Box -----*****/ | ||
mainbox { | ||
enabled: true; | ||
spacing: 15px; | ||
margin: 0px; | ||
padding: 30px; | ||
background-color: transparent; | ||
children: [ "inputbar", "message", "listview" ]; | ||
} | ||
|
||
/*****----- Inputbar -----*****/ | ||
inputbar { | ||
enabled: true; | ||
spacing: 10px; | ||
padding: 0px; | ||
border: 0px; | ||
border-radius: 100%; | ||
border-color: @selected; | ||
background-color: transparent; | ||
text-color: @foreground; | ||
children: [ "textbox-prompt-colon", "prompt"]; | ||
} | ||
|
||
textbox-prompt-colon { | ||
enabled: true; | ||
expand: false; | ||
str: ""; | ||
padding: 10px 13px; | ||
border-radius: 100%; | ||
background-color: @red; | ||
text-color: @background; | ||
} | ||
prompt { | ||
enabled: true; | ||
padding: 10px; | ||
border-radius: 100%; | ||
background-color: @green; | ||
text-color: @background; | ||
} | ||
|
||
/*****----- Message -----*****/ | ||
message { | ||
enabled: true; | ||
margin: 0px; | ||
padding: 10px; | ||
border: 0px solid; | ||
border-radius: 100%; | ||
border-color: @selected; | ||
background-color: @background-alt; | ||
text-color: @foreground; | ||
} | ||
textbox { | ||
background-color: inherit; | ||
text-color: inherit; | ||
vertical-align: 0.5; | ||
horizontal-align: 0.0; | ||
} | ||
|
||
/*****----- Listview -----*****/ | ||
listview { | ||
enabled: true; | ||
columns: 6; | ||
lines: 1; | ||
cycle: true; | ||
scrollbar: false; | ||
layout: vertical; | ||
|
||
spacing: 15px; | ||
background-color: transparent; | ||
cursor: "default"; | ||
} | ||
|
||
/*****----- Elements -----*****/ | ||
element { | ||
enabled: true; | ||
padding: 30px 10px; | ||
border: 0px solid; | ||
border-radius: 100%; | ||
border-color: @selected; | ||
background-color: transparent; | ||
text-color: @foreground; | ||
cursor: pointer; | ||
} | ||
element-text { | ||
font: "feather 28"; | ||
background-color: transparent; | ||
text-color: inherit; | ||
cursor: inherit; | ||
vertical-align: 0.5; | ||
horizontal-align: 0.4; | ||
} | ||
|
||
element normal.normal, | ||
element alternate.normal { | ||
background-color: var(background-alt); | ||
text-color: var(foreground); | ||
} | ||
element normal.urgent, | ||
element alternate.urgent, | ||
element selected.active { | ||
background-color: var(red); | ||
text-color: var(background); | ||
} | ||
element normal.active, | ||
element alternate.active, | ||
element selected.urgent { | ||
background-color: var(green); | ||
text-color: var(background); | ||
} | ||
element selected.normal { | ||
background-color: var(accent); | ||
text-color: var(background); | ||
} |
This file contains 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