Commit 678bcd8861

678bcd8861dfbb5c1cdd4f63fba9e3024b3700b1

parent: b471d8d764

Unsigned

Wraient <wraient.911@gmail.com> · 2024-12-24 12:15 UTC

Updated rofi ui

Layout: unified · split

rofi/selectanime.rasi +40 −41
@@ -1,81 +1,80 @@
11configuration {
2 font: "Sans 12"; /* the font and size for the UI */
3 line-margin: 10; /* space between lines of text */
4 display-drun: ""; /* display-drun behavior */
2 font: "Sans 12";
3 line-margin: 10;
4 display-drun: "";
55}
66
77* {
8 background: rgba(20, 20, 20, 0.8); /* Dark, semi-transparent background */
9 background-alt: #000000; /* Alternative background color (solid black) */
8 background: #000000; /* Black background for everything */
9 background-alt: #000000; /* Ensures no alternation */
1010 foreground: #CCCCCC;
11 selected: rgba(85, 255, 150, 0.75); /* Highlighted item color (greenish) */
12 active: #2E7D32; /* Color for active items (green) */
13 urgent: #C62828; /* Color for urgent items (red) */
11 selected: #3584E4;
12 active: #2E7D32;
13 urgent: #C62828;
1414}
1515
1616window {
1717 fullscreen: false;
18 background-color: @background; /* Window background color */
18 background-color: rgba(0, 0, 0, 0.8); /* Solid black transparent background */
1919 border-radius: 50px;
2020}
2121
2222mainbox {
23 padding: 50px 50px; /* padding around the content */
24 background-color: transparent; /* Transparent background */
23 padding: 50px 50px;
24 background-color: transparent; /* Ensures black background fills entire main area */
2525 children: [inputbar, listview];
26 spacing: 20px; /* space between child elements */
26 spacing: 20px;
2727}
2828
2929inputbar {
30 background-color: #333333; /* Dark gray background for the input bar */
31 padding: 8px; /* padding inside the input bar */
32 border-radius: 12px; /* Rounded corners for the input bar */
30 background-color: #333333; /* Dark gray background for input bar */
31 padding: 8px;
32 border-radius: 8px;
3333 children: [prompt, entry];
3434}
3535
3636prompt {
37 enabled: true; /* prompt inside the input bar */
38 padding: 8px; /* Padding inside the prompt */
39 background-color: @selected; /* Background color for the prompt (highlighted) */
40 text-color: #000000; /* Black text color for the prompt */
41 border-radius: 8px; /* Rounded corners for the prompt */
37 enabled: true;
38 padding: 8px;
39 background-color: @selected;
40 text-color: #000000;
41 border-radius: 4px;
4242}
4343
4444entry {
45 margin: 0px 0px 0px 5px; /* margin to the left of the entry field */
46 padding: 8px; /* padding inside the entry field */
47 background-color: #444444; /* Slightly lighter gray for the entry field */
48 text-color: #FFFFFF; /* White text inside the entry field */
49 placeholder: "Search..."; /* Placeholder text displayed when the entry is empty */
50 placeholder-color: rgba(255, 255, 255, 0.5); /* Faded white color for the placeholder */
51 border-radius: 8px; /* Rounded corners for the entry field */
45 padding: 8px;
46 background-color: transparent; /* Slightly lighter gray for visibility */
47 text-color: #FFFFFF; /* White text to make typing visible */
48 placeholder: "Search...";
49 placeholder-color: rgba(255, 255, 255, 0.5);
50 border-radius: 6px;
5251}
5352
5453listview {
55 layout: vertical; /* item list layout*/
56 spacing: 8px; /* Space between items in the list */
57 lines: 9; /* Limits the number of lines to display in the list */
58 background-color: transparent; /* Transparent background for the list */
54 layout: vertical;
55 spacing: 8px;
56 lines: 9;
57 background-color: transparent; /* Consistent black background for list items */
5958}
6059
6160element {
62 padding: 12px; /* Padding inside each element of the list */
63 border-radius: 12px; /* Rounded corners for each element */
64 background-color: #444444; /* Uniform dark gray background for list items */
65 text-color: @foreground; /* Text color for the elements (light gray) */
61 padding: 12px;
62 border-radius: 4px;
63 background-color: transparent; /* Uniform color for each list item */
64 text-color: @foreground;
6665}
6766
6867element normal.normal {
69 background-color: #333333; /* Default background color for normal list items */
68 background-color: transparent; /* Ensures no alternating color */
7069}
7170
7271element selected.normal {
73 background-color: @selected; /* Background color for selected items */
74 text-color: #FFFFFF; /* White text for selected items */
72 background-color: @selected;
73 text-color: #FFFFFF;
7574}
7675
7776element-text {
78 background-color: transparent; /* Transparent background for element text */
79 text-color: inherit; /* Inherits text color from parent element */
80 vertical-align: 0.5; /* Vertically aligns the text */
77 background-color: transparent;
78 text-color: inherit;
79 vertical-align: 0.5;
8180}
rofi/selectanimepreview.rasi +3 −3
@@ -5,8 +5,8 @@
55 background-transparent: #1D2330A0; /* Semi-transparent background */
66 text-color: #BBBBBB; /* Default text color (light gray) */
77 text-color-selected: #FFFFFF; /* Text color when selected (white) */
8 primary: rgba(85, 255, 150, 0.75); /* Greenish primary color */
9 important: rgba(85, 255, 150, 0.75); /* Color used for important items */
8 primary: rgba(53, 132, 228, 0.75); /* Blusish primary color */
9 important: rgba(53, 132, 228, 0.75); /* Bluish primary color */
1010}
1111
1212configuration {
@@ -86,7 +86,7 @@ element {
8686 orientation: vertical; /* Vertical layout for element content */
8787 border: 0px; /* No border around the element */
8888 border-radius: 16px; /* Rounded corners for the element */
89 background-color: #1D2330; /* Default background color for the element */
89 background-color: transparent; /* Transparent background */
9090 width: 100px; /* Width of each element */
9191 height: 50px; /* Height of each element */
9292}
rofi/userinput.rasi +6 −2
@@ -10,17 +10,19 @@ configuration {
1010window {
1111 fullscreen: true;
1212 transparency: "real";
13 background-color: @background-color;
13 background-color: transparent;
1414}
1515
1616mainbox {
1717 children: [ message, listview, inputbar ];
1818 padding: 40% 30%;
19 background-color: transparent;
1920}
2021
2122message {
2223 border: 0;
2324 padding: 10px;
25 border-radius:20px;
2426 margin: 0 0 20px 0;
2527 font: "Sans Bold 24"; /* Increased font size and made it bold */
2628}
@@ -38,6 +40,7 @@ prompt {
3840
3941entry {
4042 padding: 8px;
43 background-color: transparent;
4144}
4245
4346listview {
@@ -48,4 +51,5 @@ listview {
4851textbox {
4952 horizontal-align: 0.5; /* Center the text */
5053 font: "Sans Bold 24"; /* Match message font */
51}
\ No newline at end of file
54 background-color: transparent;
55}