Update all dotfiles
This commit is contained in:
241
configs/dotfiles/hyprland/laptop/.config/rofi/config.rasi
Executable file
241
configs/dotfiles/hyprland/laptop/.config/rofi/config.rasi
Executable file
@ -0,0 +1,241 @@
|
||||
/*
|
||||
# ____ __ _
|
||||
# | _ \ ___ / _(_)
|
||||
# | |_) / _ \| |_| |
|
||||
# | _ < (_) | _| |
|
||||
# |_| \_\___/|_| |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---- Configuration ---- */
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
font: "Fira Sans 11";
|
||||
show-icons: true;
|
||||
icon-theme: "kora";
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
hover-select: false;
|
||||
scroll-method: 1;
|
||||
me-select-entry: "";
|
||||
me-accept-entry: "MousePrimary";
|
||||
window-format: "{w} · {c} · {t}";
|
||||
|
||||
}
|
||||
|
||||
/* ---- Load font ---- */
|
||||
@import "~/.config/ml4w/settings/rofi-font.rasi"
|
||||
|
||||
/* ---- Load pywal colors (custom wal template) ---- */
|
||||
@theme "~/.cache/wal/colors-rofi-pywal"
|
||||
|
||||
/* ---- Load wallpaper ---- */
|
||||
@import "~/.config/ml4w/cache/current_wallpaper.rasi"
|
||||
|
||||
/* ---- Load border width ---- */
|
||||
@import "~/.config/ml4w/settings/rofi-border.rasi"
|
||||
|
||||
/* ---- Load border radius ---- */
|
||||
@import "~/.config/ml4w/settings/rofi-border-radius.rasi"
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 20em;
|
||||
width: 35em;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0em;
|
||||
padding: 0em;
|
||||
border: @border-width;
|
||||
border-color: @color11;
|
||||
border-radius: @border-radius;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 0em;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: @current-image;
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 2em;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/ml4w/cache/current_wallpaper", width);
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: " ";
|
||||
padding: 1em 0em 0em 1em;
|
||||
text-color: @foreground;
|
||||
border-radius: 2em 0em 0em 2em;
|
||||
background-color: @background;
|
||||
background-image: url("~/.config/ml4w/cache/current_wallpaper", width);
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: true;
|
||||
border-radius: 0em 2em 2em 0em;
|
||||
spacing: 1em;
|
||||
padding: 1em;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
padding: 0em;
|
||||
spacing: 0em;
|
||||
orientation: horizontal;
|
||||
children: [ "listview" , "mode-switcher" ];
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 1.5em;
|
||||
spacing: 0.5em;
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher {
|
||||
orientation: vertical;
|
||||
width: 6em;
|
||||
enabled: true;
|
||||
padding: 1.5em;
|
||||
spacing: 1.5em;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 2em;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: @color11;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 0.5em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @color11;
|
||||
text-color: @foreground;
|
||||
border-radius: 1.5em;
|
||||
}
|
||||
|
||||
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.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 {
|
||||
size: 1em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.1;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: @foreground;
|
||||
background-color: @background;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
Reference in New Issue
Block a user