Browse Source

tweaked rofi main settings

pull/73/head
JaKooLit 2 years ago
parent
commit
eb04aa6811
  1. 25
      config/rofi/config.rasi
  2. 25
      config/rofi/resolution/1080p/config.rasi
  3. 23
      config/rofi/resolution/1440p/config.rasi

25
config/rofi/config.rasi

@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 700px; width: 600px;
/*height: 450px;*/ /*height: 450px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@ -48,23 +48,23 @@ mainbox {
orientation: vertical; orientation: vertical;
padding: 8px; padding: 8px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "inputbar", "listbox" ]; children: [ "inputbar", "imagebox" ];
border-radius: 12px; border-radius: 12px;
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: horizontal;
/*children: [ "inputbar"];*/ children: [ "mode-switcher", "listbox"];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 4px; spacing: 4px;
orientation: vertical; orientation: vertical;
children: [ "listview" ]; children: ["listview" ];
padding: 10px; padding: 6px;
border-radius: 12px; border-radius: 12px;
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
@ -84,14 +84,14 @@ inputbar {
border-radius: 12px; border-radius: 12px;
border-color: @foreground; border-color: @foreground;
background-color: @background; background-color: @background;
children: [ "mode-switcher", "entry" ]; children: [ "textbox-prompt-colon","entry" ];
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
padding: 10px 0px 10px 10px; padding: 6px 0px 6px 10px;
expand: false; expand: false;
str: "🐧"; str: "🐧";
text-color: inherit; text-color: inherit;
@ -100,7 +100,7 @@ textbox-prompt-colon {
entry { entry {
enabled: true; enabled: true;
padding: 10px 0px 10px 0px; padding: 6px 0px 0px 0px;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Search (ctrl tab to choose mode)"; placeholder: "Search (ctrl tab to choose mode)";
@ -110,14 +110,15 @@ entry {
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
mode-switcher{ mode-switcher{
orientation: vertical;
enabled: true; enabled: true;
spacing: 10px; spacing: 12px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
} }
button { button {
padding: 1px 12px 1px 12px; padding: 0px 10px 0px 10px;
border-radius: 12px; border-radius: 12px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
@ -139,7 +140,7 @@ listview {
enabled: true; enabled: true;
columns: 2; columns: 2;
lines: 6; lines: 6;
spacing: 5px; spacing: 2px;
padding: 6px; padding: 6px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

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

@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 700px; width: 600px;
/*height: 450px;*/ /*height: 450px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@ -48,23 +48,23 @@ mainbox {
orientation: vertical; orientation: vertical;
padding: 8px; padding: 8px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "inputbar", "listbox" ]; children: [ "inputbar", "imagebox" ];
border-radius: 12px; border-radius: 12px;
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: horizontal;
/*children: [ "inputbar"];*/ children: [ "mode-switcher", "listbox"];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 4px; spacing: 4px;
orientation: vertical; orientation: vertical;
children: [ "listview" ]; children: ["listview" ];
padding: 10px; padding: 6px;
border-radius: 12px; border-radius: 12px;
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
@ -84,14 +84,14 @@ inputbar {
border-radius: 12px; border-radius: 12px;
border-color: @foreground; border-color: @foreground;
background-color: @background; background-color: @background;
children: [ "mode-switcher", "entry" ]; children: [ "textbox-prompt-colon","entry" ];
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
padding: 10px 0px 10px 10px; padding: 6px 0px 6px 10px;
expand: false; expand: false;
str: "🐧"; str: "🐧";
text-color: inherit; text-color: inherit;
@ -100,7 +100,7 @@ textbox-prompt-colon {
entry { entry {
enabled: true; enabled: true;
padding: 10px 0px 10px 0px; padding: 6px 0px 0px 0px;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Search (ctrl tab to choose mode)"; placeholder: "Search (ctrl tab to choose mode)";
@ -110,14 +110,15 @@ entry {
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
mode-switcher{ mode-switcher{
orientation: vertical;
enabled: true; enabled: true;
spacing: 10px; spacing: 12px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
} }
button { button {
padding: 1px 12px 1px 12px; padding: 0px 10px 0px 10px;
border-radius: 12px; border-radius: 12px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
@ -139,7 +140,7 @@ listview {
enabled: true; enabled: true;
columns: 2; columns: 2;
lines: 6; lines: 6;
spacing: 5px; spacing: 2px;
padding: 6px; padding: 6px;
dynamic: true; dynamic: true;
cycle: true; cycle: true;

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

@ -24,7 +24,7 @@ configuration {
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 700px; width: 650px;
/*height: 450px;*/ /*height: 450px;*/
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@ -48,23 +48,23 @@ mainbox {
orientation: vertical; orientation: vertical;
padding: 8px; padding: 8px;
background-image: url("~/.config/rofi/.current_wallpaper", height); background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "inputbar", "listbox" ]; children: [ "inputbar", "imagebox" ];
border-radius: 12px; border-radius: 12px;
} }
/* ---- Imagebox ---- */ /* ---- Imagebox ---- */
imagebox { imagebox {
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: horizontal;
/*children: [ "inputbar"];*/ children: [ "mode-switcher", "listbox"];
} }
/* ---- Listbox ---- */ /* ---- Listbox ---- */
listbox { listbox {
spacing: 4px; spacing: 4px;
orientation: vertical; orientation: vertical;
children: [ "listview" ]; children: ["listview" ];
padding: 10px; padding: 6px;
border-radius: 12px; border-radius: 12px;
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
@ -84,14 +84,14 @@ inputbar {
border-radius: 12px; border-radius: 12px;
border-color: @foreground; border-color: @foreground;
background-color: @background; background-color: @background;
children: [ "mode-switcher", "entry" ]; children: [ "textbox-prompt-colon","entry" ];
border: 1px; border: 1px;
border-color: @active-background; border-color: @active-background;
} }
textbox-prompt-colon { textbox-prompt-colon {
enabled: true; enabled: true;
padding: 10px 0px 10px 10px; padding: 6px 0px 6px 10px;
expand: false; expand: false;
str: "🐧"; str: "🐧";
text-color: inherit; text-color: inherit;
@ -100,7 +100,7 @@ textbox-prompt-colon {
entry { entry {
enabled: true; enabled: true;
padding: 10px 0px 10px 0px; padding: 6px 0px 0px 0px;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Search (ctrl tab to choose mode)"; placeholder: "Search (ctrl tab to choose mode)";
@ -110,14 +110,15 @@ entry {
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
mode-switcher{ mode-switcher{
orientation: vertical;
enabled: true; enabled: true;
spacing: 10px; spacing: 12px;
background-color: transparent; background-color: transparent;
text-color: @foreground; text-color: @foreground;
} }
button { button {
padding: 1px 12px 1px 12px; padding: 0px 10px 0px 10px;
border-radius: 12px; border-radius: 12px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;

Loading…
Cancel
Save