Browse Source

Rofi changes

pull/27/head
JaKooLit 2 years ago
parent
commit
e25fe4fdec
  1. 2
      config/hypr/scripts/WallpaperSelect.sh
  2. 11
      config/rofi/config-compact.rasi
  3. 40
      config/rofi/config-long.rasi
  4. 30
      config/rofi/config-rofi-Beats.rasi
  5. 40
      config/rofi/config-wallpaper.rasi
  6. 88
      config/rofi/config-waybar-layout.rasi
  7. 88
      config/rofi/config-waybar-style.rasi
  8. 91
      config/rofi/config.rasi
  9. 4
      config/rofi/resolution/1080p/config.rasi
  10. 4
      config/rofi/resolution/1440p/config.rasi

2
config/hypr/scripts/WallpaperSelect.sh

@ -18,7 +18,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}"
RANDOM_PIC_NAME="${#PICS[@]}. random" RANDOM_PIC_NAME="${#PICS[@]}. random"
# Rofi command # Rofi command
rofi_command="rofi -dmenu -config ~/.config/rofi/config-short.rasi" rofi_command="rofi -dmenu -config ~/.config/rofi/config-wallpaper.rasi"
menu() { menu() {
for i in "${!PICS[@]}"; do for i in "${!PICS[@]}"; do

11
config/rofi/config-compact.rasi

@ -3,10 +3,10 @@
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
font: "Fira Code SemiBold 12"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -23,7 +23,6 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 40%; width: 40%;
height: 30%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
@ -47,8 +46,8 @@ mainbox {
orientation: horizontal; orientation: horizontal;
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
background-color: transparent; background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", width);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
} }

40
config/rofi/config-long.rasi

@ -3,10 +3,10 @@
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
font: "Fira Code SemiBold 12"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -22,8 +22,7 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 35%; width: 30%;
height: 60%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
@ -44,18 +43,18 @@ window {
/* ---- Mainbox ---- */ /* ---- Mainbox ---- */
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: vertical;
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
background-color: transparent; background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "listbox" ]; children: [ "listbox" ];
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
padding: 18px; padding: 6px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
@ -77,9 +76,10 @@ inputbar {
enabled: true; enabled: true;
text-color: @foreground; text-color: @foreground;
spacing: 10px; spacing: 10px;
padding: 15px; padding: 20px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
@ -88,6 +88,7 @@ textbox-prompt-colon {
expand: false; expand: false;
str: "🔎 "; str: "🔎 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
@ -125,7 +126,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 12; lines: 20;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: true; scrollbar: true;
@ -134,22 +135,21 @@ listview {
fixed-height: true; fixed-height: true;
fixed-columns: true; fixed-columns: true;
spacing: 0px; spacing: 0px;
padding: 10px; padding: 2px;
margin: 0px; margin: 0px;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-color: transparent;
} }
/* ---- Element ---- */ /* ---- Element ---- */
element { element {
enabled: true; enabled: true;
padding: 5px; padding: 2px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px;
} }
element normal.normal { element normal.normal {
@ -223,17 +223,17 @@ message {
} }
textbox { textbox {
padding: 15px; padding: 6px;
margin: 0px; margin: 0px;
border-radius: 0px; border-radius: 0px;
background-color: @background; background-color: transparent;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5; vertical-align: 0.5;
horizontal-align: 0.0; horizontal-align: 0.0;
} }
error-message { error-message {
padding: 15px; padding: 6px;
border-radius: 20px; border-radius: 20px;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;

30
config/rofi/config-rofi-Beats.rasi

@ -3,10 +3,10 @@
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
font: "Fira Code SemiBold 12"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -22,16 +22,16 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 45%; width: 35%;
height: 45%; /*height: 45%;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 2px; border: 1px;
border-color: @background; border-color: @active-background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -48,7 +48,7 @@ mainbox {
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
background-color: transparent; background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper",width);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
} }
@ -80,14 +80,16 @@ inputbar {
padding: 15px; padding: 15px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
expand: false; expand: false;
str: "🔎 "; str: "📻 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
@ -95,7 +97,7 @@ entry {
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Choose"; placeholder: "Choose Online Music";
placeholder-color: inherit; placeholder-color: inherit;
} }
@ -110,7 +112,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
border: 0px; border: 0px;
@ -138,7 +140,7 @@ listview {
margin: 0px; margin: 0px;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-color: transparent;
} }
/* ---- Element ---- */ /* ---- Element ---- */
@ -147,7 +149,7 @@ element {
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
} }
@ -226,7 +228,7 @@ textbox {
padding: 15px; padding: 15px;
margin: 0px; margin: 0px;
border-radius: 0px; border-radius: 0px;
background-color: @background; background-color: transparent;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5; vertical-align: 0.5;
horizontal-align: 0.0; horizontal-align: 0.0;

40
config/rofi/config-short.rasi → config/rofi/config-wallpaper.rasi

@ -3,10 +3,10 @@
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
font: "Fira Code SemiBold 12"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -23,7 +23,6 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 20%; width: 20%;
height: 50%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
@ -44,18 +43,18 @@ window {
/* ---- Mainbox ---- */ /* ---- Mainbox ---- */
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: vertical;
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
background-color: transparent; background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "listbox" ]; children: [ "listbox" ];
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
padding: 18px; padding: 6px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
@ -77,9 +76,10 @@ inputbar {
enabled: true; enabled: true;
text-color: @foreground; text-color: @foreground;
spacing: 10px; spacing: 10px;
padding: 15px; padding: 20px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
@ -88,6 +88,7 @@ textbox-prompt-colon {
expand: false; expand: false;
str: "🔎 "; str: "🔎 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
@ -95,7 +96,7 @@ entry {
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Choose"; placeholder: "Choose Wallpaper";
placeholder-color: inherit; placeholder-color: inherit;
} }
@ -125,7 +126,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 12; lines: 10;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: true; scrollbar: true;
@ -134,22 +135,21 @@ listview {
fixed-height: true; fixed-height: true;
fixed-columns: true; fixed-columns: true;
spacing: 0px; spacing: 0px;
padding: 10px; padding: 2px;
margin: 0px; margin: 0px;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-color: transparent;
} }
/* ---- Element ---- */ /* ---- Element ---- */
element { element {
enabled: true; enabled: true;
padding: 5px; padding: 2px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px;
} }
element normal.normal { element normal.normal {
@ -223,17 +223,17 @@ message {
} }
textbox { textbox {
padding: 15px; padding: 6px;
margin: 0px; margin: 0px;
border-radius: 0px; border-radius: 0px;
background-color: @background; background-color: transparent;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5; vertical-align: 0.5;
horizontal-align: 0.0; horizontal-align: 0.0;
} }
error-message { error-message {
padding: 15px; padding: 6px;
border-radius: 20px; border-radius: 20px;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;

88
config/rofi/config-waybar-layout.rasi

@ -6,7 +6,7 @@ configuration {
font: "Fira Code SemiBold 14"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -22,16 +22,15 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 50%; width: 34%;
height: 50%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 2px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 2px; border: 1px;
border-color: @background; border-color: @active-background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -45,27 +44,24 @@ window {
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
spacing: 0px; padding: 20px;
margin: 0px; background-image: url("~/.config/rofi/.current_wallpaper", height);
background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
padding: 18px; background-color: transparent;
background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 20px; spacing: 4px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "message", "listview" ]; children: [ "listview" ];
} }
/* ---- Dummy ---- */ /* ---- Dummy ---- */
dummy { dummy {
@ -80,22 +76,24 @@ inputbar {
padding: 15px; padding: 15px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
expand: false; expand: false;
str: "🔎 "; str: "🔎 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
enabled: true; enabled: true;
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Choose Waybar Layout"; placeholder: "Choose Waybar Style";
placeholder-color: inherit; placeholder-color: inherit;
} }
@ -108,16 +106,15 @@ mode-switcher{
} }
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
border: 0px;
} }
button selected { button selected {
background-color: @selected-normal-background; background-color: @selected-normal-background;
text-color: @foreground; text-color: @foreground;
} }
@ -125,20 +122,16 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 10; lines: 16;
cycle: true; spacing: 4px;
dynamic: true; dynamic: true;
scrollbar: true; cycle: true;
layout: vertical; scrollbar: false;
reverse: false; layout: vertical;
fixed-height: true; reverse: false;
fixed-columns: true; fixed-height: false;
spacing: 0px; fixed-columns: false;
padding: 10px; background-color: transparent;
margin: 0px;
border-radius: 10px;
border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
} }
/* ---- Element ---- */ /* ---- Element ---- */
@ -147,7 +140,7 @@ element {
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
} }
@ -215,26 +208,19 @@ element-text {
/*****----- Message -----*****/ /*****----- Message -----*****/
message { message {
background-color: transparent; background-color: transparent;
border: 0px;
margin: 20px 0px 0px 0px; margin: 20px 0px 0px 0px;
padding: 0px;
spacing: 0px;
border-radius: 10px; border-radius: 10px;
} }
textbox { textbox {
padding: 15px; padding: 15px;
margin: 0px; background-color: transparent;
border-radius: 0px;
background-color: @background;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
} }
error-message { error-message {
padding: 15px; padding: 15px;
border-radius: 20px; border-radius: 20px;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;
} }

88
config/rofi/config-waybar-style.rasi

@ -6,7 +6,7 @@ configuration {
font: "Fira Code SemiBold 14"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,7 +14,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -22,16 +22,15 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 50%; width: 34%;
height: 50%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 2px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 2px; border: 1px;
border-color: @background; border-color: @active-background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -45,27 +44,24 @@ window {
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
spacing: 0px; padding: 20px;
margin: 0px; background-image: url("~/.config/rofi/.current_wallpaper", height);
background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
padding: 18px; background-color: transparent;
background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 20px; spacing: 4px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "message", "listview" ]; children: [ "listview" ];
} }
/* ---- Dummy ---- */ /* ---- Dummy ---- */
dummy { dummy {
@ -80,22 +76,24 @@ inputbar {
padding: 15px; padding: 15px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
expand: false; expand: false;
str: "🔎 "; str: "🔎 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
enabled: true; enabled: true;
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Choose Waybar Syles"; placeholder: "Choose Waybar Style";
placeholder-color: inherit; placeholder-color: inherit;
} }
@ -108,16 +106,15 @@ mode-switcher{
} }
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
border: 0px;
} }
button selected { button selected {
background-color: @selected-normal-background; background-color: @selected-normal-background;
text-color: @foreground; text-color: @foreground;
} }
@ -125,20 +122,16 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 10; lines: 16;
cycle: true; spacing: 4px;
dynamic: true; dynamic: true;
scrollbar: true; cycle: true;
layout: vertical; scrollbar: false;
reverse: false; layout: vertical;
fixed-height: true; reverse: false;
fixed-columns: true; fixed-height: false;
spacing: 0px; fixed-columns: false;
padding: 10px; background-color: transparent;
margin: 0px;
border-radius: 10px;
border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
} }
/* ---- Element ---- */ /* ---- Element ---- */
@ -147,7 +140,7 @@ element {
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
} }
@ -215,26 +208,19 @@ element-text {
/*****----- Message -----*****/ /*****----- Message -----*****/
message { message {
background-color: transparent; background-color: transparent;
border: 0px;
margin: 20px 0px 0px 0px; margin: 20px 0px 0px 0px;
padding: 0px;
spacing: 0px;
border-radius: 10px; border-radius: 10px;
} }
textbox { textbox {
padding: 15px; padding: 15px;
margin: 0px; background-color: transparent;
border-radius: 0px;
background-color: @background;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
} }
error-message { error-message {
padding: 15px; padding: 15px;
border-radius: 20px; border-radius: 20px;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;
} }

91
config/rofi/config.rasi

@ -1,12 +1,13 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config */
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
font: "Fira Code SemiBold 12"; font: "Fira Code SemiBold 14";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
display-run: ""; display-run: "";
display-filebrowser: ""; display-filebrowser: "";
display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
@ -14,6 +15,7 @@ configuration {
me-select-entry: "MouseSecondary"; me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1;
} }
@ -22,16 +24,15 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 45%; width: 35%;
height: 45%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 2px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 2px; border: 1px;
border-color: @background; border-color: @active-background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -45,16 +46,13 @@ window {
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
spacing: 0px; padding: 20px;
margin: 0px; background-image: url("~/.config/rofi/.current_wallpaper", width);
background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
padding: 18px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
@ -62,10 +60,10 @@ imagebox {
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 20px; spacing: 4px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "message", "listview" ]; children: [ "listview" ];
} }
/* ---- Dummy ---- */ /* ---- Dummy ---- */
dummy { dummy {
@ -80,14 +78,16 @@ inputbar {
padding: 15px; padding: 15px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: transparent;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
expand: false; expand: false;
str: "🔎 "; str: "🔎 ";
text-color: inherit; text-color: inherit;
background-color: transparent;
} }
entry { entry {
@ -95,7 +95,7 @@ entry {
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Choose"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
} }
@ -108,37 +108,33 @@ mode-switcher{
} }
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: transparent;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
border: 0px;
} }
button selected { button selected {
background-color: @selected-normal-background; background-color: @selected-normal-background;
text-color: @foreground; text-color: @foreground;
} }
/* ---- Listview ---- */ /* ---- Listview ---- */
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 10; lines: 9;
cycle: true; spacing: 4px;
dynamic: true; dynamic: true;
scrollbar: false; enabled: true;
layout: vertical; cycle: true;
reverse: false; scrollbar: false;
fixed-height: true; layout: vertical;
fixed-columns: true; reverse: true;
spacing: 0px; fixed-height: false;
padding: 10px; fixed-columns: false;
margin: 0px; background-color: transparent;
border-radius: 10px;
border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
} }
/* ---- Element ---- */ /* ---- Element ---- */
@ -147,7 +143,7 @@ element {
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px; border: 0px;
} }
@ -215,26 +211,19 @@ element-text {
/*****----- Message -----*****/ /*****----- Message -----*****/
message { message {
background-color: transparent; background-color: transparent;
border: 0px;
margin: 20px 0px 0px 0px; margin: 20px 0px 0px 0px;
padding: 0px;
spacing: 0px;
border-radius: 10px; border-radius: 10px;
} }
textbox { textbox {
padding: 15px; padding: 15px;
margin: 0px; background-color: transparent;
border-radius: 0px;
background-color: @background;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
} }
error-message { error-message {
padding: 15px; padding: 15px;
border-radius: 20px; border-radius: 20px;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;
} }

4
config/rofi/resolution/1080p/config.rasi

@ -22,8 +22,8 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 45%; width: 45%;
height: 45%; height: 45%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;

4
config/rofi/resolution/1440p/config.rasi

@ -22,8 +22,8 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 45%; width: 45%;
height: 45%; height: 45%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;

Loading…
Cancel
Save