Adds rofi styling

This commit is contained in:
Michel Fedde 2025-10-02 14:07:00 +02:00
parent f3bcacf369
commit d03146f3a1
25 changed files with 206 additions and 1191 deletions

View file

@ -6,7 +6,7 @@ $configs = $HOME/.config/hypr/configs
$files = hyprdrop ghostty --identifier yazi_hyprdrop --args="yazi" --env="PWD=~/"
$term = ghostty
$appLauncher = anyrun
$appLauncher = rofi -show drun -show-icons
bind = $mainMod, Q, killactive,
@ -89,7 +89,6 @@ bind = , F12, exec, $scriptsDir/screenshot.sh active # screenshot (active window
bind = $mainMod SHIFT, N, exec, $scriptsDir/anyrun/Toolkit.sh # swayNC notification panel
bind = , F13, movecurrentworkspacetomonitor, +1
bind = $mainMod SHIFT, H, movecurrentworkspacetomonitor, +1
@ -97,16 +96,16 @@ bind = $mainMod, F, fullscreen, 1
bind = $mainMod, Space, fullscreen, 0
# rofi App launcher
bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot"
#bind = $mainMod, Tab, exec, $appLauncher
bind = ALT, Tab, exec, $scriptsDir/anyrun/Windows.sh
#bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot"
bind = $mainMod, Tab, exec, $appLauncher
bind = ALT, Tab, exec, rofi -show window -show-icons
bind = $mainMod, Return, exec, $term
bind = $mainMod Shift, Return, exec, hyprdrop ghostty --identifier term_hyprdrop
bind = $mainMod, Z, exec, $files
bind = $mainMod, R, focusurgentorlast
bind = $mainMod SHIFT, P, exec, $scriptsDir/anyrun/Auth.sh
bind = $mainMod SHIFT, P, exec, rofi -modes "2fa" -show 2fa
bind = $mainMod, O, exec, killall -USR1 waybar

View file

@ -7,6 +7,9 @@ layerrule = ignorezero, waybar
layerrule = blur, anyrun
layerrule = ignorezero, anyrun
layerrule = blur, rofi
layerrule = ignorezero, rofi
layerrule = blur, swaync-notification-window
layerrule = ignorezero, swaync-notification-window

View file

@ -1,22 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config Calculator */
/* Submitted by: https://github.com/JosephArmas */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 27%;
placeholder: "🧮 Calculate";
}
/* ---- Window ---- */
window {
width: 30%;
}
/* ---- Message ---- */
textbox {
background-color: @selected;
text-color: @background;
}

View file

@ -1,16 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Clipboard Config - Clipboard */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 37%;
placeholder: "📋 Search Clipboard **note** 👀 CTRL Del - Cliphist del or Alt Del - cliphist wipe";
}
/* ---- Listview ---- */
listview {
columns: 1;
lines: 8;
}

View file

@ -1,43 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config (compact) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Configuration ---- */
configuration {
modi: "drun";
}
/* ---- Window ---- */
window {
width: 50%;
border-radius: 15px;
}
/* ---- Inputbar ---- */
inputbar {
background-image: url("~/.config/rofi/.current_wallpaper", width);
}
/* ---- Imagebox ---- */
imagebox {
orientation: vertical;
children: [ "entry", "listview"];
}
/* ---- Entry input ---- */
entry {
width: 23%;
placeholder: "👀 View / Edit Hyprland Configs";
}
/* ---- Listview ---- */
listview {
spacing: 4px;
border-radius: 12px;
}
/* ---- Element ---- */
element {
border-radius: 10px;
}

View file

@ -1,16 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config - emoji */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 37%;
placeholder: "💫 Search Emoji's **note** 👀 Click or Return to choose | Ctrl V to Paste";
}
/* ---- Listview ---- */
listview {
columns: 1;
lines: 8;
}

View file

@ -1,20 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config - For Keybinds generation */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 85%;
placeholder: " 🧮 Search Keybinds ☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function";
}
/* ---- Listview ---- */
listview {
columns: 2;
lines: 12;
}
window {
width: 95%;
}

View file

@ -1,22 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main config Rofi Beats Config (compact) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 20%;
placeholder: "📻 Choose Music Source";
}
/* ---- Window ---- */
window {
width: 24%;
}
/* ---- Listview ---- */
listview {
fixed-columns: false;
colums: 1;
lines: 3;
}

View file

@ -1,14 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Rofi Beats Config (compact) */
@import "~/.config/rofi/config-compact.rasi"
/* ---- Entry ---- */
entry {
placeholder: "📻 Choose Media or Stations to play";
}
/* ---- Listview ---- */
listview {
lines: 7;
}

View file

@ -1,28 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Rofi Config for Google Search) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Window ---- */
window {
width: 40%;
y-offset: 6px;
location: north;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
}
/* ---- Mainbox ---- */
mainbox {
padding: 0px;
children: [ "entry"];
}
/* ---- Entry ---- */
entry {
placeholder: "🔎 Google Search";
}

View file

@ -1,26 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Wallpaper Effects */
@import "~/.config/rofi/master-config.rasi"
/* ---- Entry ---- */
entry {
width: 20%;
placeholder: "🏙️ Choose desired wallpaper effect";
}
/* ---- Window ---- */
window {
width: 24%;
}
/* ---- Listview ---- */
listview {
fixed-columns: false;
lines: 8;
}
/* ---- Inputbar ---- */
inputbar {
background-image: url("~/.config/hypr/wallpaper_effects/.wallpaper_modified", width);
}

View file

@ -1,51 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config (wallpaper) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Configuration ---- */
configuration {
modi: "drun";
}
window {
width: 60%;
}
/* ---- Imagebox ---- */
imagebox {
orientation: vertical;
children:
[ "entry", "listbox"];
}
entry {
expand: false;
placeholder: "🎞️ Choose Wallpaper";
}
/* ---- Listview ---- */
listview {
columns: 5;
lines: 3;
flow: horizontal;
}
/* ---- Element ---- */
element {
orientation: vertical;
padding: 0px;
spacing: 0px;
border-radius: 12px;
}
element-icon {
size: 15%;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 12";
vertical-align: 0.5;
horizontal-align: 0.5;
}

View file

@ -1,10 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Layout Config (Waybar) */
@import "~/.config/rofi/config-waybar-style.rasi"
/* ---- Entry ---- */
entry {
placeholder: "🖼️ Choose Waybar Layout";
}

View file

@ -1,21 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config (waybar) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Configuration ---- */
configuration {
modi: "drun";
}
/* ---- Mainbox ---- */
mainbox {
children:
[ "inputbar", "listview"];
}
entry {
expand: true;
placeholder: "🖼️ Choose Waybar Style";
}

View file

@ -1,59 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config (compact) */
@import "~/.config/rofi/master-config.rasi"
/* ---- Configuration ---- */
configuration {
modi: "drun";
}
/* ---- Window ---- */
window {
width: 40%;
border-radius: 15px;
}
/* ---- Imagebox ---- */
imagebox {
orientation: vertical;
children:
[ "inputbar", "listbox"];
}
/* ---- Listbox ---- */
listbox {
border-radius: 12px;
}
/* ---- Inputbar ---- */
inputbar {
padding: 14px;
border-radius: 10px;
}
entry {
placeholder: "󰸉 Choose ZSH theme";
}
/* ---- Listview ---- */
listview {
columns: 3;
lines: 3;
spacing: 4px;
border-radius: 10px;
}
/* ---- Element ---- */
element {
border-radius: 10px;
}
/* ---- Message ---- */
message {
border-radius: 10px;
}
textbox {
padding: 15px;
}

139
.config/rofi/config.rasi Executable file → Normal file
View file

@ -1,31 +1,120 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config 1080p */
configuration {
modes: "window,drun,calc,system";
/* font: "mono 12";*/
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* preview-cmd: ;*/
/* on-selection-changed: ;*/
/* on-mode-changed: ;*/
/* on-entry-accepted: ;*/
/* on-menu-canceled: ;*/
/* on-menu-error: ;*/
/* on-screenshot-taken: ;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
/* icon-theme: ;*/
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
/* drun-categories: ;*/
/* drun-exclude-categories: ;*/
/* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* drun-url-launcher: "xdg-open";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: "normal";*/
/* case-sensitive: false;*/
/* case-smart: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* hover-select: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
/* combi-modes: "window,run";*/
/* matching: "normal";*/
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scroll-method: 0;*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* global-kb: false;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* combi-display-format: "{mode} {text}";*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* window-thumbnail: false;*/
/* drun-use-desktop-cache: false;*/
/* drun-reload-desktop-cache: false;*/
/* normalize-match: false;*/
/* steal-focus: false;*/
/* application-fallback-icon: ;*/
/* refilter-timeout-limit: 300;*/
/* xserver-i300-workaround: false;*/
/* completer-mode: "filebrowser";*/
/* imdkit: true;*/
/* pid: "/run/user/1000/rofi.pid";*/
display-window: "Windows";
display-run: "Run";
display-ssh: "SSH";
display-drun: "Applications";
display-combi: "Combinations";
display-keys: "Keys";
display-filebrowser: "Files";
display-recursivebrowser: "Files";
display-system: "System";
display-calc: "Calculator";
display-2fa: "2FA Codes";
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
timeout {
action: "kb-cancel";
delay: 0;
}
filebrowser {
directories-first: true;
sorting-method: "name";
}
drun {
/** Scan the current users desktop for desktop files. */
scan-desktop: true;
/** Parse user desktop files. */
parse-user: true;
/** Parse system desktop files. */
parse-system: true;
/** Disable DBusActivatable */
DBusActivatable: false;
}
}
@import "~/.config/rofi/master-config.rasi"
@theme "./style.rasi"
/* ---- Window ---- */
window {
width: 50%;
width: calc(50% max 1080);
}
/* ---- Listview ---- */
listview {
columns: 5;
lines: 5;
fixed-height: true;
}
/* ---- Element ---- */
element {
orientation: vertical;
padding: 10px 5px 10px 5px;
spacing: 6px;
}
element-icon {
size: 3%;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 10";
horizontal-align: 0.5;
columns: 3;
dynamic: true;
fixed-height: false;
lines: 10;
}

View file

@ -1,237 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Master Config 1080p*/
/* ---- Configuration ---- */
configuration {
font: "JetBrainsMono Nerd Font SemiBold 12";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: "Apps";
display-run: "Run";
display-filebrowser: "Files";
display-window: "Windows";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
}
/* ---- Load wallust colors ---- */
@theme "~/.config/rofi/wallust/colors-rofi.rasi"
/* ---- Global Properties ---- */
* {
background-alt: @selected-active-background; // Buttons background
selected: @selected-urgent-background; // Button selected
active: @selected-normal-background; // Window activated
urgent: @selected; // When hovering the activated window (maybe more?)
text-selected: @background;
text-color: @foreground;
border-color: @selected;
}
/* ---- Window ---- */
window {
// Default
enabled: true;
fullscreen: false;
transparency: "real";
cursor: "default";
spacing: 0px;
border: 3px 0px 3px 0px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 50%;
background-color: @background;
}
/* ----- Main Box ----- */
mainbox {
padding: 12px;
enabled: true;
orientation: vertical;
children: [ "inputbar", "listbox" ];
background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 10px 10px 50px 10px;
margin: 10px;
background-color: transparent;
border-radius: 25px;
orientation: horizontal;
children: ["entry", "dummy", "mode-switcher" ];
background-image: url("~/.config/rofi/.current_wallpaper", width);
}
/* ---- Entry input ---- */
entry {
enabled: true;
expand: false;
width: 20%;
padding: 10px;
border-radius: 12px;
background-color: @selected;
text-color: @text-selected;
cursor: text;
placeholder: "🖥️ Search "; // << Search symbol
placeholder-color: inherit;
}
/* ---- Listbox ---- */
listbox {
spacing: 10px;
padding: 10px;
background-color: transparent;
orientation: vertical;
children: [ "message", "listview" ];
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 2;
lines: 6;
cycle: true;
dynamic: true;
scrollbar: true;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 10px;
background-color: transparent;
// Adapt rofi theme
border: 0px;
}
/* ---- Dummy ---- */
dummy {
expand: true;
background-color: transparent;
}
/* ---- Mode Switcher ---- */
mode-switcher{
enabled: true;
spacing: 10px;
background-color: transparent;
}
button {
width: 5%;
padding: 12px;
border-radius: 12px;
background-color: @text-selected;
text-color: @text-color;
cursor: pointer;
}
button selected {
background-color: @selected;
text-color: @text-selected;
}
/* ---- Scrollbar ---- */
scrollbar {
border: 0;
handle-color: @border-color;
handle-width: 2px ;
padding: 0;
}
/* ---- Elements ---- */
element {
enabled: true;
spacing: 10px;
padding: 10px;
border-radius: 12px;
background-color: transparent;
cursor: pointer;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
}
element selected.normal {
border: 0px 3px 0px 3px;
border-radius: 16px;
border-color: @selected;
background-color: transparent;
text-color: @selected;
}
element selected.urgent {
background-color: @urgent;
text-color: @text-selected;
}
element selected.active {
background-color: @urgent;
text-color: @text-selected;
}
// Adapt rofi theme
element alternate.normal {
background-color: transparent;
text-color: inherit;
}
element alternate.urgent {
background-color: transparent;
text-color: inherit;
}
element alternate.active {
background-color: transparent;
text-color: inherit;
}
element-icon {
background-color: transparent;
text-color: inherit;
cursor: inherit;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 12";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/* ---- Message ---- */
message {
background-color: transparent;
border: 0px;
}
textbox {
padding: 12px;
border-radius: 10px;
background-color: @background-alt;
text-color: @background;
vertical-align: 0.5;
horizontal-align: 0.0;
}
error-message {
padding: 12px;
border-radius: 20px;
background-color: @background-alt;
text-color: @background;
}

View file

@ -1,31 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config 1080p */
@import "~/.config/rofi/master-config.rasi"
/* ---- Window ---- */
window {
width: 50%;
}
/* ---- Listview ---- */
listview {
columns: 5;
lines: 5;
fixed-height: true;
}
/* ---- Element ---- */
element {
orientation: vertical;
padding: 10px 5px 10px 5px;
spacing: 6px;
}
element-icon {
size: 3%;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 10";
horizontal-align: 0.5;
}

View file

@ -1,237 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Master Config 1080p*/
/* ---- Configuration ---- */
configuration {
font: "JetBrainsMono Nerd Font SemiBold 12";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: "Apps";
display-run: "Run";
display-filebrowser: "Files";
display-window: "Windows";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
}
/* ---- Load wallust colors ---- */
@theme "~/.config/rofi/wallust/colors-rofi.rasi"
/* ---- Global Properties ---- */
* {
background-alt: @selected-active-background; // Buttons background
selected: @selected-urgent-background; // Button selected
active: @selected-normal-background; // Window activated
urgent: @selected; // When hovering the activated window (maybe more?)
text-selected: @background;
text-color: @foreground;
border-color: @selected;
}
/* ---- Window ---- */
window {
// Default
enabled: true;
fullscreen: false;
transparency: "real";
cursor: "default";
spacing: 0px;
border: 3px 0px 3px 0px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 50%;
background-color: @background;
}
/* ----- Main Box ----- */
mainbox {
padding: 12px;
enabled: true;
orientation: vertical;
children: [ "inputbar", "listbox" ];
background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 10px 10px 50px 10px;
margin: 10px;
background-color: transparent;
border-radius: 25px;
orientation: horizontal;
children: ["entry", "dummy", "mode-switcher" ];
background-image: url("~/.config/rofi/.current_wallpaper", width);
}
/* ---- Entry input ---- */
entry {
enabled: true;
expand: false;
width: 20%;
padding: 10px;
border-radius: 12px;
background-color: @selected;
text-color: @text-selected;
cursor: text;
placeholder: "🖥️ Search "; // << Search symbol
placeholder-color: inherit;
}
/* ---- Listbox ---- */
listbox {
spacing: 10px;
padding: 10px;
background-color: transparent;
orientation: vertical;
children: [ "message", "listview" ];
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 2;
lines: 6;
cycle: true;
dynamic: true;
scrollbar: true;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 10px;
background-color: transparent;
// Adapt rofi theme
border: 0px;
}
/* ---- Dummy ---- */
dummy {
expand: true;
background-color: transparent;
}
/* ---- Mode Switcher ---- */
mode-switcher{
enabled: true;
spacing: 10px;
background-color: transparent;
}
button {
width: 5%;
padding: 12px;
border-radius: 12px;
background-color: @text-selected;
text-color: @text-color;
cursor: pointer;
}
button selected {
background-color: @selected;
text-color: @text-selected;
}
/* ---- Scrollbar ---- */
scrollbar {
border: 0;
handle-color: @border-color;
handle-width: 2px ;
padding: 0;
}
/* ---- Elements ---- */
element {
enabled: true;
spacing: 10px;
padding: 10px;
border-radius: 12px;
background-color: transparent;
cursor: pointer;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
}
element selected.normal {
border: 0px 3px 0px 3px;
border-radius: 16px;
border-color: @selected;
background-color: transparent;
text-color: @selected;
}
element selected.urgent {
background-color: @urgent;
text-color: @text-selected;
}
element selected.active {
background-color: @urgent;
text-color: @text-selected;
}
// Adapt rofi theme
element alternate.normal {
background-color: transparent;
text-color: inherit;
}
element alternate.urgent {
background-color: transparent;
text-color: inherit;
}
element alternate.active {
background-color: transparent;
text-color: inherit;
}
element-icon {
background-color: transparent;
text-color: inherit;
cursor: inherit;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 12";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/* ---- Message ---- */
message {
background-color: transparent;
border: 0px;
}
textbox {
padding: 12px;
border-radius: 10px;
background-color: @background-alt;
text-color: @background;
vertical-align: 0.5;
horizontal-align: 0.0;
}
error-message {
padding: 12px;
border-radius: 20px;
background-color: @background-alt;
text-color: @background;
}

View file

@ -1,37 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Main Config 1440p */
@import "~/.config/rofi/master-config.rasi"
/* ---- Window ---- */
window {
width: 50%;
}
/* ---- Mode Switcher ---- */
button {
width: 110px;
}
/* ---- Listview ---- */
listview {
columns: 5;
lines: 5;
fixed-height: true;
}
/* ---- Element ---- */
element {
orientation: vertical;
padding: 10px 5px 10px 5px;
spacing: 6px;
}
element-icon {
size: 3%;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 12";
horizontal-align: 0.5;
}

View file

@ -1,237 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* Master Config 1440p*/
/* ---- Configuration ---- */
configuration {
font: "JetBrainsMono Nerd Font SemiBold 12";
modi: "drun,run,filebrowser";
show-icons: true;
display-drun: "Apps";
display-run: "Run";
display-filebrowser: "Files";
display-window: "Windows";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
}
/* ---- Load wallust colors ---- */
@theme "~/.config/rofi/wallust/colors-rofi.rasi"
/* ---- Global Properties ---- */
* {
background-alt: @selected-active-background; // Buttons background
selected: @selected-urgent-background; // Button selected
active: @selected-normal-background; // Window activated
urgent: @selected; // When hovering the activated window (maybe more?)
text-selected: @background;
text-color: @foreground;
border-color: @selected;
}
/* ---- Window ---- */
window {
// Default
enabled: true;
fullscreen: false;
transparency: "real";
cursor: "default";
spacing: 0px;
border: 3px 0px 3px 0px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 50%;
background-color: @background;
}
/* ----- Main Box ----- */
mainbox {
padding: 12px;
enabled: true;
orientation: vertical;
children: [ "inputbar", "listbox" ];
background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
enabled: true;
padding: 10px 10px 50px 10px;
margin: 10px;
background-color: transparent;
border-radius: 20px;
orientation: horizontal;
children: ["entry", "dummy", "mode-switcher" ];
background-image: url("~/.config/rofi/.current_wallpaper", width);
}
/* ---- Entry input ---- */
entry {
enabled: true;
expand: false;
width: 20%;
padding: 10px;
border-radius: 12px;
background-color: @selected;
text-color: @text-selected;
cursor: text;
placeholder: "🖥️ Search "; // << Search symbol
placeholder-color: inherit;
}
/* ---- Listbox ---- */
listbox {
spacing: 10px;
padding: 10px;
background-color: transparent;
orientation: vertical;
children: [ "message", "listview" ];
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 2;
lines: 6;
cycle: true;
dynamic: true;
scrollbar: true;
layout: vertical;
reverse: false;
fixed-height: false;
fixed-columns: true;
spacing: 10px;
background-color: transparent;
// Adapt rofi theme
border: 0px;
}
/* ---- Dummy ---- */
dummy {
expand: true;
background-color: transparent;
}
/* ---- Mode Switcher ---- */
mode-switcher{
enabled: true;
spacing: 10px;
background-color: transparent;
}
button {
width: 5%;
padding: 12px;
border-radius: 12px;
background-color: @text-selected;
text-color: @text-color;
cursor: pointer;
}
button selected {
background-color: @selected;
text-color: @text-selected;
}
/* ---- Scrollbar ---- */
scrollbar {
border: 0;
handle-color: @border-color;
handle-width: 2px ;
padding: 0;
}
/* ---- Elements ---- */
element {
enabled: true;
spacing: 10px;
padding: 10px;
border-radius: 12px;
background-color: transparent;
cursor: pointer;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
}
element selected.normal {
border: 0px 3px 0px 3px;
border-radius: 16px;
border-color: @selected;
background-color: transparent;
text-color: @selected;
}
element selected.urgent {
background-color: @urgent;
text-color: @text-selected;
}
element selected.active {
background-color: @urgent;
text-color: @text-selected;
}
// Adapt rofi theme
element alternate.normal {
background-color: transparent;
text-color: inherit;
}
element alternate.urgent {
background-color: transparent;
text-color: inherit;
}
element alternate.active {
background-color: transparent;
text-color: inherit;
}
element-icon {
background-color: transparent;
text-color: inherit;
cursor: inherit;
}
element-text {
font: "JetBrainsMono Nerd Font SemiBold 14";
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/* ---- Message ---- */
message {
background-color: transparent;
border: 0px;
}
textbox {
padding: 12px;
border-radius: 10px;
background-color: @background-alt;
text-color: @background;
vertical-align: 0.5;
horizontal-align: 0.0;
}
error-message {
padding: 12px;
border-radius: 20px;
background-color: @background-alt;
text-color: @background;
}

View file

@ -1,31 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* wallust template - colors-rofi */
* {
active-background: #7A5A4B;
active-foreground: #F5F3F2;
normal-background: #26272C;
normal-foreground: #F5F3F2;
urgent-background: #AE9B92;
urgent-foreground: #F5F3F2;
alternate-active-background: #A0865E;
alternate-active-foreground: #F5F3F2;
alternate-normal-background: #26272C;
alternate-normal-foreground: #F5F3F2;
alternate-urgent-background: #26272C;
alternate-urgent-foreground: #F5F3F2;
selected-active-background: #7A5A4B;
selected-active-foreground: #F5F3F2;
selected-normal-background: #E8E5E3;
selected-normal-foreground: #F5F3F2;
selected-urgent-background: #AE9B92;
background: rgba(0,0,0,0.7);
background-color: #26272C;
background: rgba(0,0,0,0.7);
foreground: #E8E5E3;
border-color: #7A5A4B;
}

View file

@ -0,0 +1,81 @@
@import "../../library/entry.scss";
$border-gray: $border-color;
$border-primary: $color2;
$transparentBackground: rgba(128,128,128, 0.6);
* {
text-color: $foreground;
background-color: transparent;
}
window {
transparency: "real";
}
inputbar, listview {
border-radius: $border-radius;
border: 1px solid;
border-color: $border-color;
text-color: $foreground;
background-color: $background;
}
inputbar, listview, message, element {
margin: $input-padding;
}
inputbar {
children: [mode-switcher, entry]
}
prompt {
border: 0 1px 0 0;
border-color: $border-color;
}
entry {
border: 0 0 0 1px;
border-color: $border-color;
padding: $input-padding;
margin: 0 0 0 4px;
}
listview {
padding: 0.3em;
margin: 3px;
}
element {
margin: 0;
border-radius: $border-radius;
padding: $input-padding;
selected {
background-color: $transparentBackground;
}
}
element-icon {
padding: 0 0.5em 0 0;
size: 16;
}
mode-switcher {
enabled: true;
}
button {
border-radius: $border-radius;
expand: false;
margin: 4px;
padding: 4px 12px;
selected {
border: 1px solid;
border-color: $border-primary;
}
}

View file

@ -7,4 +7,5 @@ sass --no-source-map \
$APPLICATIONS_PATH/waybar/style.scss:$HOME/.config/waybar/style.css \
$APPLICATIONS_PATH/nwg-drawer/style.scss:$HOME/.config/nwg-drawer/drawer.css \
$APPLICATIONS_PATH/anyrun/entry.scss:$HOME/.config/anyrun/style.css \
$APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css
$APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css \
$APPLICATIONS_PATH/rofi/style.scss:$HOME/.config/rofi/style.rasi

View file

@ -28,7 +28,7 @@ if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then
grim slurp pinta \
hyprsunset \
darkman \
anyrun-git \
rofi rink \
posy-improved-cursors \
pamixer
fi