rofi: optimize
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Submodule backgrounds updated: 52f4908883...a55de4ca26
@@ -6,6 +6,9 @@
|
|||||||
# Disable blur for XWayland windows (or context menus with shadow would look weird)
|
# Disable blur for XWayland windows (or context menus with shadow would look weird)
|
||||||
windowrulev2 = noblur, xwayland:1
|
windowrulev2 = noblur, xwayland:1
|
||||||
|
|
||||||
|
# Disable transparency
|
||||||
|
windowrulev2 = opacity 1 override 1 override, class:^(gimp)$
|
||||||
|
|
||||||
# Terminal(s)
|
# Terminal(s)
|
||||||
windowrulev2 = float, class:^(com.mitchellh.ghostty)$
|
windowrulev2 = float, class:^(com.mitchellh.ghostty)$
|
||||||
windowrulev2 = size 60%, class:^(com.mitchellh.ghostty)$
|
windowrulev2 = size 60%, class:^(com.mitchellh.ghostty)$
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
/*****----- ALL -----*****/
|
/*****----- ALL -----*****/
|
||||||
* {
|
* {
|
||||||
font: "Maple Mono Normal NF CN Bold 12";
|
font: "Maple Mono Normal NF CN Semibold 12";
|
||||||
bg: #1e1e2e;
|
base: #1e1e2e;
|
||||||
bg-alt: #181825;
|
mantle: #181825;
|
||||||
fg: #cdd6f4;
|
text: #cdd6f4;
|
||||||
fg-alt: #a6adc8;
|
subtext0: #a6adc8;
|
||||||
|
surface2: #585b70;
|
||||||
|
surface: #292a3c;
|
||||||
red: #f38ba8;
|
red: #f38ba8;
|
||||||
green: #a6e3a1;
|
green: #a6e3a1;
|
||||||
yellow: #f9e2af;
|
yellow: #f9e2af;
|
||||||
@@ -12,12 +14,11 @@
|
|||||||
blue: #89b4fa;
|
blue: #89b4fa;
|
||||||
purple: #cba6f7;
|
purple: #cba6f7;
|
||||||
cyan: #89dceb;
|
cyan: #89dceb;
|
||||||
gray: #585b70;
|
|
||||||
gray-alt: #292a3c;
|
|
||||||
lavender: #b4befe;
|
lavender: #b4befe;
|
||||||
sapphire: #74c7ec;
|
sapphire: #74c7ec;
|
||||||
teal: #94e2d5;
|
teal: #94e2d5;
|
||||||
peach: #fab387;
|
peach: #fab387;
|
||||||
|
search: rgba(49, 50, 68, 0.5); // alpha(@surface, 0.5)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -52,7 +53,7 @@ window {
|
|||||||
border-radius: 24px;
|
border-radius: 24px;
|
||||||
border-color: @blue;
|
border-color: @blue;
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
background-color: @bg;
|
background-color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
/*****----- Main Box -----*****/
|
||||||
@@ -72,8 +73,8 @@ inputbar {
|
|||||||
padding: 100px 40px;
|
padding: 100px 40px;
|
||||||
border-radius: 14px 14px 0 0;
|
border-radius: 14px 14px 0 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: url("~/.config/backgrounds/gdd-street.jpg", width);
|
background-image: url("~/.config/backgrounds/nao-stars-crop-adjust-flop.jpg", width);
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
children: [ "textbox-prompt-colon", "entry" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +88,7 @@ textbox-prompt-colon {
|
|||||||
padding: 12px 15px;
|
padding: 12px 15px;
|
||||||
expand: false;
|
expand: false;
|
||||||
str: " ";
|
str: " ";
|
||||||
background-color: rgba(30, 30, 36, 0.6);
|
background-color: @search;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
@@ -96,7 +97,7 @@ entry {
|
|||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
background-color: rgba(30, 30, 36, 0.6);
|
background-color: @search;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
placeholder: "Search...";
|
placeholder: "Search...";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
@@ -109,7 +110,7 @@ listview {
|
|||||||
lines: 6;
|
lines: 6;
|
||||||
cycle: true;
|
cycle: true;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
scrollbar: false;
|
scrollbar: true;
|
||||||
layout: vertical;
|
layout: vertical;
|
||||||
reverse: false;
|
reverse: false;
|
||||||
fixed-height: true;
|
fixed-height: true;
|
||||||
@@ -117,15 +118,15 @@ listview {
|
|||||||
|
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
spacing: 5px;
|
spacing: 5px;
|
||||||
background-color: @gray-alt;
|
background-color: @surface;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
}
|
}
|
||||||
scrollbar {
|
scrollbar {
|
||||||
handle-width: 5px ;
|
handle-width: 5px ;
|
||||||
handle-color: @blue;
|
handle-color: @blue;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: @bg-alt;
|
background-color: @mantle;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
/*****----- Elements -----*****/
|
||||||
@@ -136,30 +137,30 @@ element {
|
|||||||
padding: 6px;
|
padding: 6px;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
element normal.normal,
|
element normal.normal,
|
||||||
element alternate.normal {
|
element alternate.normal {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
element normal.urgent,
|
element normal.urgent,
|
||||||
element alternate.urgent,
|
element alternate.urgent,
|
||||||
element selected.active {
|
element selected.active {
|
||||||
background-color: @blue;
|
background-color: @blue;
|
||||||
text-color: @bg;
|
text-color: @base;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
element normal.active,
|
element normal.active,
|
||||||
element alternate.active,
|
element alternate.active,
|
||||||
element selected.urgent {
|
element selected.urgent {
|
||||||
background-color: @red;
|
background-color: @red;
|
||||||
text-color: @bg;
|
text-color: @base;
|
||||||
}
|
}
|
||||||
element selected.normal {
|
element selected.normal {
|
||||||
background-color: @gray;
|
background-color: @surface2;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
element-icon {
|
element-icon {
|
||||||
@@ -184,17 +185,17 @@ mode-switcher{
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: @bg;
|
background-color: @base;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
button selected {
|
button selected {
|
||||||
background-color: @gray-alt;
|
background-color: @surface;
|
||||||
text-color: @blue;
|
text-color: @blue;
|
||||||
border-radius: 0 0 14px 14px;
|
border-radius: 0 0 14px 14px;
|
||||||
border-color: @blue;
|
border-color: @blue;
|
||||||
@@ -206,21 +207,21 @@ message {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
background-color: @bg-alt;
|
background-color: @mantle;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
textbox {
|
textbox {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
vertical-align: 0.5;
|
vertical-align: 0.5;
|
||||||
horizontal-align: 0.0;
|
horizontal-align: 0.0;
|
||||||
highlight: none;
|
highlight: none;
|
||||||
placeholder-color: @fg;
|
placeholder-color: @text;
|
||||||
blink: true;
|
blink: true;
|
||||||
markup: true;
|
markup: true;
|
||||||
}
|
}
|
||||||
error-message {
|
error-message {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
background-color: @bg;
|
background-color: @base;
|
||||||
text-color: @fg;
|
text-color: @text;
|
||||||
}
|
}
|
||||||
196
rofi/dmenu.rasi
196
rofi/dmenu.rasi
@@ -1,200 +1,20 @@
|
|||||||
/*****----- ALL -----*****/
|
@import "config.rasi"
|
||||||
* {
|
|
||||||
font: "Maple Mono Normal NF CN Bold 12";
|
|
||||||
bg: #1e1e2e;
|
|
||||||
bg-alt: #181825;
|
|
||||||
fg: #cdd6f4;
|
|
||||||
fg-alt: #a6adc8;
|
|
||||||
red: #f38ba8;
|
|
||||||
green: #a6e3a1;
|
|
||||||
yellow: #f9e2af;
|
|
||||||
orange: #fab387;
|
|
||||||
blue: #89b4fa;
|
|
||||||
purple: #cba6f7;
|
|
||||||
cyan: #89dceb;
|
|
||||||
gray: #585b70;
|
|
||||||
gray-alt: #292a3c;
|
|
||||||
lavender: #b4befe;
|
|
||||||
sapphire: #74c7ec;
|
|
||||||
teal: #94e2d5;
|
|
||||||
peach: #fab387;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
configuration {
|
||||||
terminal: "/usr/bin/kitty";
|
modi: "";
|
||||||
modi: "";
|
|
||||||
show-icons: true;
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
window {
|
||||||
/* properties for window widget */
|
width: 500px;
|
||||||
transparency: "real";
|
children: [ "inputbar", "message", "listview" ];
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 500px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 24px;
|
|
||||||
border-color: @blue;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @bg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview"];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
inputbar {
|
||||||
enabled: true;
|
padding: 80px 40px;
|
||||||
spacing: 0px;
|
|
||||||
padding: 60px 40px;
|
|
||||||
border-radius: 14px 14px 0 0;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/backgrounds/gdd-street.jpg", width);
|
|
||||||
text-color: @fg;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 12px 15px;
|
|
||||||
expand: false;
|
|
||||||
str: " ";
|
|
||||||
background-color: rgba(30, 30, 36, 0.6);
|
|
||||||
border-radius: 14px;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 12px 16px;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
background-color: rgba(30, 30, 36, 0.6);
|
|
||||||
border-radius: 14px;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
listview {
|
||||||
enabled: true;
|
columns: 1;
|
||||||
columns: 1;
|
lines: 10;
|
||||||
lines: 10;
|
border-radius: 0 0 14px 14px;
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
padding: 14px;
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: @gray-alt;
|
|
||||||
text-color: @fg;
|
|
||||||
cursor: "default";
|
|
||||||
border-radius: 0 0 14px 14px;
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @blue;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @bg-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 6px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @fg;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: @blue;
|
|
||||||
text-color: @bg;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: @red;
|
|
||||||
text-color: @bg;
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: @gray;
|
|
||||||
text-color: @fg;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @bg-alt;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @fg;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @fg;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 30px;
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user