From bf8d1458d65cda75c4af7fcbf76d81f7c8613c44 Mon Sep 17 00:00:00 2001 From: chlorospingus Date: Mon, 13 Oct 2025 19:09:37 -0700 Subject: [PATCH] rofi --- rofi/colors.rasi | 47 +++++++++++++++++ rofi/config.rasi | 36 +++++++++++++ rofi/mocha.rasi | 134 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 217 insertions(+) create mode 100644 rofi/colors.rasi create mode 100644 rofi/config.rasi create mode 100644 rofi/mocha.rasi diff --git a/rofi/colors.rasi b/rofi/colors.rasi new file mode 100644 index 0000000..42f517f --- /dev/null +++ b/rofi/colors.rasi @@ -0,0 +1,47 @@ +* { + primary: #53d7f1; + primary-fixed: #a6eeff; + primary-fixed-dim: #53d7f1; + on-primary: #00363f; + on-primary-fixed: #001f25; + on-primary-fixed-variant: #004e5b; + primary-container: #004e5b; + on-primary-container: #a6eeff; + secondary: #83d2e5; + secondary-fixed: #a6eeff; + secondary-fixed-dim: #83d2e5; + on-secondary: #00363f; + on-secondary-fixed: #001f25; + on-secondary-fixed-variant: #004e5b; + secondary-container: #004e5b; + on-secondary-container: #a6eeff; + tertiary: #acc7ff; + tertiary-fixed: #d7e2ff; + tertiary-fixed-dim: #acc7ff; + on-tertiary: #0d2f5f; + on-tertiary-fixed: #001b40; + on-tertiary-fixed-variant: #294677; + tertiary-container: #294677; + on-tertiary-container: #d7e2ff; + error: #ffb4ab; + on-error: #690005; + error-container: #93000a; + on-error-container: #ffdad6; + surface: #0f131c; + on-surface: #dfe2ef; + on-surface-variant: #bec6dc; + outline: #8891a5; + outline-variant: #3f4759; + shadow: #000000; + scrim: #000000; + inverse-surface: #dfe2ef; + inverse-on-surface: #2c303a; + inverse-primary: #006878; + surface-dim: #0f131c; + surface-bright: #353943; + surface-container-lowest: #0a0e17; + surface-container-low: #171c25; + surface-container: #1b2029; + surface-container-high: #262a33; + surface-container-highest: #31353e; +} diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..502d2cc --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,36 @@ +configuration { + modi: "drun"; + terminal: "kitty"; + + icon-theme: "BeautyLine"; + show-icons: true; + + + location: 0; + sidebar-mode: false; + + sort: true; + disable-history: false; + matching: "normal"; + hide-scrollbar: true; + drun-match-fields: ["name"]; + + display-drun: "Apps"; + display-recursivebrowser: "Files"; + display-emoji: "Emoji"; + window-format: "{t}"; + + drun-display-format: "{name}"; + emoji-display-format: "{emoji}"; + + kb-row-up: ""; + kb-row-down: ""; + kb-move-char-back: ""; + kb-move-char-forward: ""; + kb-mode-next: "Down"; + kb-mode-previous: "Up"; + kb-element-next: "Right"; + kb-element-prev: "Left"; +} + +@theme "mocha" diff --git a/rofi/mocha.rasi b/rofi/mocha.rasi new file mode 100644 index 0000000..8e19506 --- /dev/null +++ b/rofi/mocha.rasi @@ -0,0 +1,134 @@ +* { + bg-col: #1e1e2e; + bg-col-light: #313244; + bg-col-dark: #11111b; + border-col: #89b4fa; + selected-col: #1e1e2e; + highlight: #c27dd6; + fg-col: #cdd6f4; + fg-col2: #f38ba8; + grey: #6c7086; + + font: "comfortaa 14"; +} + +element-text, element-icon , mode-switcher { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; +} + +window { + width: 699px; + margin: 60px 0 0 0; + location: north; + border: 3px; + border-radius: 16px; + border-color: @highlight; + background-color: @bg-col; +} + +mainbox { + background-color: @bg-col; + spacing: 16px; + margin: 16px; +} + +inputbar { + children: [icon-search, entry, mode-switcher]; + background-color: @bg-col; + border-radius: 8px; +} + +icon-search { + expand: false; + filename: "launch"; + padding: 0 4px 0 4px; + background-color: inherit; + size: 24px; + width: 24px; +} + +entry { + padding: 8px; + text-color: @fg-col; + background-color: @bg-col-dark; + margin: 0 8px 0 0; + border-radius: 12px; +} + +listview { + border: 0; + columns: 5; + lines: 5; + background-color: @bg-col; + layout: horizontal; + flow: horizontal; + position: center; + spacing: 0; + dynamic: true; +} + +element { + width: 132px; + background-color: @bg-col; + font: "Rubik 12"; + text-color: @fg-col; + orientation: vertical; + horizontal-align: 0.5; + padding: 0px; + border-radius: 12px; + border: none; +} + +element-text { + margin: 0; + padding: 0 4px 0 4px; + horizontal-align: 0.5; +} + +element-icon { + size: 64px; +} + +element selected { + background-color: @bg-col-light; + text-color: @fg-col; + border: @fg-col; + border-width: 2px; +} + +mode-switcher { + margin: 0; + padding: 0 -4px 0 -4px; + spacing: 0; + width: 0; +} + +button { + width: 100px; + border-radius: 12px; + background-color: @bg-col; + text-color: @grey; + vertical-align: 0.5; + margin: 0 4px 0 4px; + background-color: @bg-col-dark; +} + +button selected { + background-color: @highlight; + text-color: @bg-col; +} + +message { + enabled: false; + background-color: transparent; +} + +textbox { + enabled: false; + background-color: transparent; + font: "Rukik 1"; + padding: 0; + margin: 0; +}