rofi: Use launchpad theme

This is a slightly modified version of Newman Sánchez's launchpad theme
that adds pywal support and makes the icons bigger.
This commit is contained in:
Donovan Glover 2023-04-30 18:33:10 -04:00
parent 8004d74a17
commit 1dd1f46554
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,169 +1,98 @@
/*
Based on Newman Sánchez's Launchpad theme.
https://github.com/newmanls/rofi-themes-collection
*/
* {{ * {{
active-background: @background; font: "Noto Sans CJK JP Bold 12";
active-foreground: @foreground;
normal-background: @background;
normal-foreground: @foreground;
urgent-background: @background;
urgent-foreground: @foreground;
alternate-active-background: @background; bg0: #242424dd;
alternate-active-foreground: @foreground; bg1: #363636;
alternate-normal-background: @background; bg2: #f5f5f520;
alternate-normal-foreground: @foreground; bg3: #f5f5f540;
alternate-urgent-background: @background; bg4: #0860f2E6;
alternate-urgent-foreground: @foreground;
selected-active-background: {color8}; fg0: #f5f5f5;
selected-active-foreground: @foreground; fg1: #f5f5f580;
selected-normal-background: {color8};
selected-normal-foreground: @foreground;
selected-urgent-background: {color8};
selected-urgent-foreground: @foreground;
background-color: transparent; background-color: transparent;
background: rgba({background.rgb}, 0.9);
foreground: {foreground}; foreground: {foreground};
border-color: @background; text-color: @fg0;
spacing: 2; padding: 0px;
margin: 0px;
}} }}
#window {{ window {{
background-color: @background; fullscreen: true;
padding: 1em;
background-color: @bg0;
background-color: rgba({background.rgb}, 0.9);
}}
mainbox {{
padding: 8px;
}}
inputbar {{
background-color: @bg2;
margin: 0px calc( 50% - 230px );
padding: 4px 8px;
spacing: 8px;
border: 1px; border: 1px;
border-color: {color7}; border-radius: 2px;
padding: 2.5ch; border-color: @bg3;
children: [icon-search,entry];
}} }}
#mainbox {{ prompt {{
border: 0; enabled: false;
padding: 0;
}} }}
#message {{ icon-search {{
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}}
#textbox {{
text-color: @foreground;
}}
#inputbar {{
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}}
#textbox-prompt-colon {{
expand: false; expand: false;
str: ":"; filename: "search";
margin: 0px 0.3em 0em 0em; vertical-align: 0.5;
text-color: @normal-foreground;
}} }}
#listview {{ entry {{
fixed-height: 0; placeholder: "Search";
border: 2px 0px 0px; placeholder-color: @bg2;
border-color: @border-color;
spacing: 2px;
scrollbar: true;
padding: 2px 0px 0px;
}} }}
#element {{ listview {{
border: 0; /*margin: 48px calc( 50% - 560px );*/
padding: 1px; margin: 86px calc( 50% - 560px );
spacing: 48px;
/*columns: 5;*/
columns: 5;
fixed-columns: true;
}} }}
#element-text, element-icon {{ element, element-text, element-icon {{
background-color: inherit; cursor: pointer;
text-color: inherit;
}} }}
#element.normal.normal {{ element {{
background-color: transparent; padding: 8px;
text-color: @normal-foreground; spacing: 4px;
orientation: vertical;
border-radius: 16px;
}} }}
#element.normal.urgent {{ element selected {{
background-color: transparent; background-color: {color8};
text-color: @urgent-foreground;
}} }}
#element.normal.active {{ element-icon {{
background-color: transparent; size: 5em;
text-color: @active-foreground; horizontal-align: 0.5;
}} }}
#element.selected.normal {{ element-text {{
background-color: transparent; horizontal-align: 0.5;
text-color: @selected-normal-foreground;
}} }}
#element.selected.urgent {{
background-color: transparent;
text-color: @selected-urgent-foreground;
}}
#element.selected.active {{
background-color: transparent;
text-color: @selected-active-foreground;
}}
#element.alternate.normal {{
background-color: transparent;
text-color: @alternate-normal-foreground;
}}
#element.alternate.urgent {{
background-color: transparent;
text-color: @alternate-urgent-foreground;
}}
#element.alternate.active {{
background-color: transparent;
text-color: @alternate-active-foreground;
}}
#scrollbar {{
width: 4px;
border: 0;
handle-width: 8px;
padding: 0;
}}
#sidebar {{
border: 2px 0px 0px;
border-color: @border-color;
}}
#button {{
text-color: @normal-foreground;
}}
#button.selected {{
background-color: transparent;
text-color: @selected-normal-foreground;
}}
#inputbar {{
spacing: 0;
text-color: @normal-foreground;
padding: 1px;
}}
#case-indicator {{
spacing: 0;
text-color: @normal-foreground;
}}
#entry {{
spacing: 0;
text-color: @normal-foreground;
}}
#prompt {{
spacing: 0;
text-color: @normal-foreground;
}}
// vim:syn=css // vim:syn=css