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

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;
columns: 3;
dynamic: true;
fixed-height: false;
lines: 10;
}
/* ---- 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;
}