Rofi Changes

- Changed rofi terminal to alacritty
- Changed icon theme to Papirus-Dark
- Themes now use NotoSans Nerd Font 12
- Whitespace changes w/ Prettier extension
This commit is contained in:
Sravan Balaji
2020-09-19 11:34:17 -04:00
parent 285db02930
commit 177512376e
4 changed files with 104 additions and 98 deletions

View File

@@ -11,7 +11,7 @@ configuration {
/* xoffset: 0;*/ /* xoffset: 0;*/
/* fixed-num-lines: true;*/ /* fixed-num-lines: true;*/
show-icons: true; show-icons: true;
/* terminal: "rofi-sensible-terminal";*/ terminal: "alacritty";
/* ssh-client: "ssh";*/ /* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ /* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/ /* run-command: "{cmd}";*/
@@ -19,7 +19,7 @@ configuration {
/* run-shell-command: "{terminal} -e {cmd}";*/ /* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/ /* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/ /* window-match-fields: "all";*/
icon-theme: "Papirus"; icon-theme: "Papirus-Dark";
/* drun-match-fields: "name,generic,exec,categories";*/ /* drun-match-fields: "name,generic,exec,categories";*/
/* drun-show-actions: false;*/ /* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/ /* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/

View File

@@ -4,39 +4,39 @@
* Copyright: Sravan Balaji * Copyright: Sravan Balaji
*/ */
* { * {
background-color: #282a36; background-color: #282a36;
text-color: #f8f8f2; text-color: #f8f8f2;
font: "monospace 12"; font: "NotoSans Nerd Font 12";
} }
#window { #window {
anchor: north; anchor: north;
location: north; location: north;
width: 100%; width: 100%;
padding: 2px 5px 2px 5px; /* top right bottom left */ padding: 2px 5px 2px 5px; /* top right bottom left */
children: [ horibox ]; children: [ horibox ];
} }
#horibox { #horibox {
orientation: horizontal; orientation: horizontal;
children: [ prompt, entry, listview ]; children: [ prompt, entry, listview ];
} }
#listview { #listview {
layout: horizontal; layout: horizontal;
spacing: 10px; spacing: 10px;
lines: 100; lines: 100;
} }
#entry { #entry {
expand: false; expand: false;
width: 10em; width: 10em;
} }
#element { #element {
padding: 1px 5px 1px 5px; /* top right bottom left */ padding: 1px 5px 1px 5px; /* top right bottom left */
} }
#element selected { #element selected {
background-color: #bd93f9; background-color: #bd93f9;
text-color: #282a36; text-color: #282a36;
} }

View File

@@ -5,63 +5,66 @@
*/ */
configuration { configuration {
display-drun: "Activate"; display-drun: "Activate";
display-run: "Execute"; display-run: "Execute";
display-window: "Window"; display-window: "Window";
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
font: "NotoSans Nerd Font 12";
} }
* { * {
background-color: #282a36; background-color: #282a36;
text-color: #f8f8f2; text-color: #f8f8f2;
selbg: #bd93f9; selbg: #bd93f9;
actbg: #44475a; actbg: #44475a;
urgbg: #ff5555; urgbg: #ff5555;
winbg: #50fa7b; winbg: #50fa7b;
selected-normal-foreground: @winbg; selected-normal-foreground: @winbg;
normal-foreground: @text-color; normal-foreground: @text-color;
selected-normal-background: @actbg; selected-normal-background: @actbg;
normal-background: @background-color; normal-background: @background-color;
selected-urgent-foreground: @background-color; selected-urgent-foreground: @background-color;
urgent-foreground: @text-color; urgent-foreground: @text-color;
selected-urgent-background: @urgbg; selected-urgent-background: @urgbg;
urgent-background: @background-color; urgent-background: @background-color;
selected-active-foreground: @winbg; selected-active-foreground: @winbg;
active-foreground: @text-color; active-foreground: @text-color;
selected-active-background: @actbg; selected-active-background: @actbg;
active-background: @selbg; active-background: @selbg;
line-margin: 2; line-margin: 2;
line-padding: 2; line-padding: 2;
separator-style: "none"; separator-style: "none";
hide-scrollbar: "true"; hide-scrollbar: "true";
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
window { window {
location: west; location: west;
anchor: west; anchor: west;
height: 100%; height: 100%;
width: 22%; width: 25%;
orientation: horizontal; orientation: horizontal;
children: [mainbox]; children: [mainbox];
} }
mainbox { mainbox {
spacing: 0.8em; spacing: 0.8em;
children: [ entry,listview,mode-switcher ]; children: [ entry, listview, mode-switcher ];
} }
button { padding: 5px 2px; } button {
padding: 5px 2px;
}
button selected { button selected {
background-color: @active-background; background-color: @active-background;
text-color: @background-color; text-color: @background-color;
} }
inputbar { inputbar {
@@ -72,61 +75,63 @@ inputbar {
listview { listview {
spacing: 0.5em; spacing: 0.5em;
dynamic: false; dynamic: false;
cycle: true; cycle: true;
} }
element { padding: 10px; } element {
padding: 10px;
}
entry { entry {
expand: false; expand: false;
text-color: @normal-foreground; text-color: @normal-foreground;
vertical-align: 1; vertical-align: 1;
padding: 5px; padding: 5px;
} }
element normal.normal { element normal.normal {
background-color: @normal-background; background-color: @normal-background;
text-color: @normal-foreground; text-color: @normal-foreground;
} }
element normal.urgent { element normal.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
element normal.active { element normal.active {
background-color: @active-background; background-color: @active-background;
text-color: @active-foreground; text-color: @active-foreground;
} }
element selected.normal { element selected.normal {
background-color: @selected-normal-background; background-color: @selected-normal-background;
text-color: @selected-normal-foreground; text-color: @selected-normal-foreground;
border: 0 5px solid 0 0; border: 0 5px solid 0 0;
border-color: @active-background; border-color: @active-background;
} }
element selected.urgent { element selected.urgent {
background-color: @selected-urgent-background; background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground; text-color: @selected-urgent-foreground;
} }
element selected.active { element selected.active {
background-color: @selected-active-background; background-color: @selected-active-background;
text-color: @selected-active-foreground; text-color: @selected-active-foreground;
} }
element alternate.normal { element alternate.normal {
background-color: @normal-background; background-color: @normal-background;
text-color: @normal-foreground; text-color: @normal-foreground;
} }
element alternate.urgent { element alternate.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
element alternate.active { element alternate.active {
background-color: @active-background; background-color: @active-background;
text-color: @active-foreground; text-color: @active-foreground;
} }

View File

@@ -3,47 +3,48 @@
* User: balajsra * User: balajsra
* Copyright: Sravan Balaji * Copyright: Sravan Balaji
*/ */
* { * {
background-color: #282a36; background-color: #282a36;
border-color: #bd93f9; border-color: #bd93f9;
text-color: #f8f8f2; text-color: #f8f8f2;
spacing: 0; spacing: 0;
width: 1024px; width: 1024px;
font: "NotoSans Nerd Font 12";
} }
inputbar { inputbar {
border: 0 0 1px 0; /* top right bottom left */ border: 0 0 1px 0; /* top right bottom left */
children: [prompt,entry]; children: [prompt, entry];
} }
prompt { prompt {
padding: 16px; padding: 16px;
border: 2px 1px 0 2px; /* top right bottom left */ border: 2px 1px 0 2px; /* top right bottom left */
} }
textbox { textbox {
background-color: #282a36; background-color: #282a36;
border: 0 0 1px 0; /* top right bottom left */ border: 0 0 1px 0; /* top right bottom left */
border-color: #bd93f9; border-color: #bd93f9;
padding: 8px 16px 8px 16px; /* top right bottom left */ padding: 8px 16px 8px 16px; /* top right bottom left */
} }
entry { entry {
border: 2px 2px 0px 0; /* top right bottom left */ border: 2px 2px 0px 0; /* top right bottom left */
padding: 16px; padding: 16px;
} }
listview { listview {
cycle: true; cycle: true;
margin: 0 0 0px 0; /* top right bottom left */ margin: 0 0 0px 0; /* top right bottom left */
scrollbar: true; scrollbar: true;
} }
element { element {
border: 0 2px 1px 2px; /* top right bottom left */ border: 0 2px 1px 2px; /* top right bottom left */
padding: 16px; padding: 16px;
} }
element selected { element selected {
background-color: #44475a; background-color: #44475a;
} }