Browse Source

cleaned up and adjusted rofi for 1080p

pull/18/head
Ja.KooLit 2 years ago
parent
commit
022fa1b4f2
  1. 2
      config/hypr/scripts/RofiEmoji.sh
  2. 2
      config/hypr/scripts/Wlogout.sh
  3. 240
      config/rofi/config-cliphist.rasi
  4. 2
      config/rofi/config-compact.rasi
  5. 6
      config/rofi/config-long.rasi
  6. 4
      config/rofi/config-rofi-Beats.rasi
  7. 2
      config/rofi/config-short.rasi
  8. 4
      config/rofi/config-waybar.rasi
  9. 4
      config/rofi/config.rasi

2
config/hypr/scripts/RofiEmoji.sh

@ -1,7 +1,7 @@
#!/bin/bash
sed '1,/^### DATA ###$/d' $0 |
rofi -dmenu |
rofi -dmenu -config ~/.config/rofi/config-long.rasi |
cut -d ' ' -f 1 | tr -d '\n' | wl-copy
exit

2
config/hypr/scripts/Wlogout.sh

@ -1,7 +1,7 @@
#!/bin/bash
# If you have 1440p, better to use this
# wlogout --protocol layer-shell -b 5 -T 600 -B 600 &
#wlogout --protocol layer-shell -b 5 -T 600 -B 600 &
# for 1080p
wlogout --protocol layer-shell -b 5 -T 450 -B 450 &

240
config/rofi/config-cliphist.rasi

@ -1,240 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
font: "Fira Code SemiBold 12";
show-icons: true;
display-drun: "";
display-run: "";
display-filebrowser: "";
display-window: "";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
}
/* ---- Load pywal colors (custom wal template) ---- */
@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Window ---- */
window {
width: 30%;
height: 30%;
x-offset: 0px;
y-offset: 0px;
spacing: 0px;
padding: 0px;
margin: 0px;
color: transparent;
border: 2px;
border-color: @background;
cursor: "default";
transparency: "real";
location: center;
anchor: center;
fullscreen: false;
enabled: true;
border-radius: 10px;
}
/* ---- Mainbox ---- */
mainbox {
enabled: true;
orientation: horizontal;
spacing: 0px;
margin: 0px;
background-color: transparent;
background-image: url("~/.config/rofi/.current_wallpaper", height);
children: [ "imagebox", "listbox" ];
}
/* ---- Imagebox ---- */
imagebox {
padding: 18px;
background-color: transparent;
orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ];
}
/* ---- Listbox ---- */
listbox {
spacing: 20px;
background-color: transparent;
orientation: vertical;
children: [ "message", "listview" ];
}
/* ---- Dummy ---- */
dummy {
background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
text-color: @foreground;
spacing: 10px;
padding: 15px;
border-radius: 10px;
border-color: @foreground;
children: [ "textbox-prompt-colon", "entry" ];
}
textbox-prompt-colon {
enabled: true;
expand: false;
str: "🔎 ";
text-color: inherit;
}
entry {
enabled: true;
background-color: transparent;
text-color: inherit;
cursor: text;
placeholder: "Choose";
placeholder-color: inherit;
}
/* ---- Mode Switcher ---- */
mode-switcher{
enabled: true;
spacing: 20px;
background-color: transparent;
text-color: @foreground;
}
button {
padding: 10px;
border-radius: 10px;
background-color: @background;
text-color: inherit;
cursor: pointer;
border: 0px;
}
button selected {
background-color: @selected-normal-background;
text-color: @foreground;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 1;
lines: 8;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 0px;
padding: 10px;
margin: 0px;
border-radius: 10px;
border: 0px;
background-image: url("~/.config/rofi/.current_wallpaper", height);
}
/* ---- Element ---- */
element {
enabled: true;
padding: 5px;
margin: 2px;
cursor: pointer;
background-color: @background;
border-radius: 10px;
border: 0px;
}
element normal.normal {
background-color: inherit;
text-color: @foreground;
}
element normal.urgent {
background-color: inherit;
text-color: @foreground;
}
element normal.active {
background-color: inherit;
text-color: @foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @foreground;
}
element selected.urgent {
background-color: inherit;
text-color: @foreground;
}
element selected.active {
background-color: inherit;
text-color: @foreground;
}
element alternate.normal {
background-color: inherit;
text-color: @foreground;
}
element alternate.urgent {
background-color: inherit;
text-color: @foreground;
}
element alternate.active {
background-color: inherit;
text-color: @foreground;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 32px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- Message -----*****/
message {
background-color: transparent;
border: 0px;
margin: 20px 0px 0px 0px;
padding: 0px;
spacing: 0px;
border-radius: 10px;
}
textbox {
padding: 15px;
margin: 0px;
border-radius: 0px;
background-color: @background;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
}
error-message {
padding: 15px;
border-radius: 20px;
background-color: @background;
text-color: @foreground;
}

2
config/rofi/config-compact.rasi

@ -22,7 +22,7 @@ configuration {
/* ---- Window ---- */
window {
width: 30%;
width: 40%;
height: 30%;
x-offset: 0px;
y-offset: 0px;

6
config/rofi/config-long.rasi

@ -22,8 +22,8 @@ configuration {
/* ---- Window ---- */
window {
width: 20%;
height: 50%;
width: 35%;
height: 60%;
x-offset: 0px;
y-offset: 0px;
spacing: 0px;
@ -128,7 +128,7 @@ listview {
lines: 12;
cycle: true;
dynamic: true;
scrollbar: false;
scrollbar: true;
layout: vertical;
reverse: false;
fixed-height: true;

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

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

2
config/rofi/config-short.rasi

@ -128,7 +128,7 @@ listview {
lines: 12;
cycle: true;
dynamic: true;
scrollbar: false;
scrollbar: true;
layout: vertical;
reverse: false;
fixed-height: true;

4
config/rofi/config-waybar.rasi

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

4
config/rofi/config.rasi

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

Loading…
Cancel
Save