Browse Source

some changes on rofi

pull/31/head
JaKooLit 2 years ago
parent
commit
3b476e04fa
  1. 104
      config/rofi/config-compact.rasi
  2. 2
      config/rofi/config-long.rasi
  3. 4
      config/rofi/config-rofi-Beats.rasi
  4. 4
      config/rofi/config-wallpaper.rasi
  5. 4
      config/rofi/config.rasi
  6. 104
      config/rofi/resolution/1080p/config-compact.rasi
  7. 2
      config/rofi/resolution/1080p/config-long.rasi
  8. 4
      config/rofi/resolution/1080p/config-rofi-Beats.rasi
  9. 4
      config/rofi/resolution/1080p/config-wallpaper.rasi
  10. 4
      config/rofi/resolution/1080p/config.rasi

104
config/rofi/config-compact.rasi

@ -1,6 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config Hyprland Settings*/ /* Main Config (long) */
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
@ -16,7 +15,6 @@ configuration {
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1; dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -24,15 +22,15 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 35%; width: 20%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 2px; padding: 0px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 1px; border: 2px;
border-color: @active-background; border-color: @background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -45,26 +43,29 @@ window {
/* ---- Mainbox ---- */ /* ---- Mainbox ---- */
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: vertical;
spacing: 0px;
margin: 0px;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
background-color: transparent; padding: 6px;
background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 4px; spacing: 20px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "listview" ]; children: [ "inputbar", "message", "listview" ];
border-radius: 10px; border-radius: 10px;
} }
/* ---- Dummy ---- */ /* ---- Dummy ---- */
@ -80,59 +81,66 @@ inputbar {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: @backrgound; background-color: @background;
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;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "View / Edit Hyprland Settings"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
mode-switcher{ mode-switcher{
enabled: true; enabled: true;
spacing: 10px; spacing: 20px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
} }
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: @background;
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: 7; lines: 7;
spacing: 4px; cycle: true;
dynamic: true; dynamic: true;
cycle: true; scrollbar: false;
scrollbar: false; layout: vertical;
layout: vertical; reverse: false;
reverse: false; fixed-height: true;
fixed-height: true; fixed-columns: true;
fixed-columns: false; spacing: 0px;
padding: 2px;
margin: 0px;
border-radius: 10px;
border: 0px;
background-color: @background; background-color: @background;
border-radius: 10px; border-radius: 10px;
} }
@ -140,12 +148,11 @@ listview {
/* ---- Element ---- */ /* ---- Element ---- */
element { element {
enabled: true; enabled: true;
padding: 5px; padding: 2px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: transparent; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px;
} }
element normal.normal { element normal.normal {
@ -210,20 +217,27 @@ element-text {
/*****----- Message -----*****/ /*****----- Message -----*****/
message { message {
background-color: @background; 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: 6px;
background-color: @background; margin: 0px;
border-radius: 0px;
background-color: transparent;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5;
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;
} }

2
config/rofi/config-long.rasi

@ -47,7 +47,7 @@ mainbox {
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", width);
children: [ "listbox" ]; children: [ "listbox" ];
border-radius: 10px; border-radius: 10px;
} }

4
config/rofi/config-rofi-Beats.rasi

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -124,7 +124,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 9; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

4
config/rofi/config-wallpaper.rasi

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -125,7 +125,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 10; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

4
config/rofi/config.rasi

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", both); background-image: url("~/.config/rofi/.current_wallpaper", width);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -125,7 +125,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 9; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

104
config/rofi/resolution/1080p/config-compact.rasi

@ -1,6 +1,5 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ /* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config Hyprland Settings*/ /* Main Config (long) */
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
modi: "drun,run"; modi: "drun,run";
@ -16,7 +15,6 @@ configuration {
me-accept-entry: "MousePrimary"; me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
dpi: 1; dpi: 1;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -24,15 +22,15 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 35%; width: 20%;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
spacing: 0px; spacing: 0px;
padding: 2px; padding: 0px;
margin: 0px; margin: 0px;
color: transparent; color: transparent;
border: 1px; border: 2px;
border-color: @active-background; border-color: @background;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
@ -45,26 +43,29 @@ window {
/* ---- Mainbox ---- */ /* ---- Mainbox ---- */
mainbox { mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: vertical;
spacing: 0px;
margin: 0px;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
background-color: transparent; padding: 6px;
background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 4px; spacing: 20px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "listview" ]; children: [ "inputbar", "message", "listview" ];
border-radius: 10px; border-radius: 10px;
} }
/* ---- Dummy ---- */ /* ---- Dummy ---- */
@ -80,59 +81,66 @@ inputbar {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: @backrgound; background-color: @background;
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;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "View / Edit Hyprland Settings"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
mode-switcher{ mode-switcher{
enabled: true; enabled: true;
spacing: 10px; spacing: 20px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
} }
button { button {
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: @background; background-color: @background;
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: 7; lines: 7;
spacing: 4px; cycle: true;
dynamic: true; dynamic: true;
cycle: true; scrollbar: false;
scrollbar: false; layout: vertical;
layout: vertical; reverse: false;
reverse: false; fixed-height: true;
fixed-height: true; fixed-columns: true;
fixed-columns: false; spacing: 0px;
padding: 2px;
margin: 0px;
border-radius: 10px;
border: 0px;
background-color: @background; background-color: @background;
border-radius: 10px; border-radius: 10px;
} }
@ -140,12 +148,11 @@ listview {
/* ---- Element ---- */ /* ---- Element ---- */
element { element {
enabled: true; enabled: true;
padding: 5px; padding: 2px;
margin: 2px; margin: 2px;
cursor: pointer; cursor: pointer;
background-color: transparent; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 0px;
} }
element normal.normal { element normal.normal {
@ -210,20 +217,27 @@ element-text {
/*****----- Message -----*****/ /*****----- Message -----*****/
message { message {
background-color: @background; 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: 6px;
background-color: @background; margin: 0px;
border-radius: 0px;
background-color: transparent;
text-color: @foreground; text-color: @foreground;
vertical-align: 0.5;
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;
} }

2
config/rofi/resolution/1080p/config-long.rasi

@ -47,7 +47,7 @@ mainbox {
spacing: 0px; spacing: 0px;
margin: 0px; margin: 0px;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", width);
children: [ "listbox" ]; children: [ "listbox" ];
border-radius: 10px; border-radius: 10px;
} }

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

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -124,7 +124,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 9; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

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

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", width); background-image: url("~/.config/rofi/.current_wallpaper", both);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -125,7 +125,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 10; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

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

@ -47,7 +47,7 @@ mainbox {
enabled: true; enabled: true;
orientation: horizontal; orientation: horizontal;
padding: 20px; padding: 20px;
background-image: url("~/.config/rofi/.current_wallpaper", both); background-image: url("~/.config/rofi/.current_wallpaper", width);
children: [ "imagebox", "listbox" ]; children: [ "imagebox", "listbox" ];
border-radius: 10px; border-radius: 10px;
} }
@ -125,7 +125,7 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 9; lines: 8;
spacing: 4px; spacing: 4px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

Loading…
Cancel
Save