From d4a8804f5ac3de71277abeca06c657e1be464543 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Wed, 4 Jan 2023 15:26:30 +0300 Subject: [PATCH] add rofi --- .config/rofi/appmnu.rasi | 94 +++++++++++++++++++++++++++++++++ .config/rofi/colors/colors.rasi | 10 ++++ .config/rofi/config.rasi | 1 + 3 files changed, 105 insertions(+) create mode 100644 .config/rofi/appmnu.rasi create mode 100644 .config/rofi/colors/colors.rasi create mode 100644 .config/rofi/config.rasi diff --git a/.config/rofi/appmnu.rasi b/.config/rofi/appmnu.rasi new file mode 100644 index 0000000..b72ea52 --- /dev/null +++ b/.config/rofi/appmnu.rasi @@ -0,0 +1,94 @@ +@import "colors/colors.rasi" + +configuration { + show-icons: true; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +window { + transparency: "real"; + font: "Iosevka Nerd Font 11"; + width: 36%; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "  Type here to search..."; + padding: 7px; + margin: 0 1%; + blink: true; + border: 0px 0px 2px 0px; + border-radius: 0px; + border-color: @accent; +} + +inputbar { + children: [ entry ]; + background-color: @background; + text-color: @background; + expand: false; + margin: 0px 0px 0px 0px; + padding: 1%; +} + +listview { + background-color: @background; + padding: 10px; + columns: 4; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 10px; +} + +element { + orientation: vertical; + background-color: @background; + text-color: @foreground; + border-radius: 0%; + padding: 6px; +} + +element-icon, element-text { + background-color: inherit; + text-color: inherit; +} + +element-icon { + horizontal-align: 0.5; + vertical-align: 0.5; + size: 32px; + border: 16px; + border-color: transparent; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: -12px 0px 12px 0px; +} + +element selected { + background-color: @background-alt; + text-color: @foreground; + border: 0px 0px 2px 0px; + border-color: @border; + border-radius: 0px; +} diff --git a/.config/rofi/colors/colors.rasi b/.config/rofi/colors/colors.rasi new file mode 100644 index 0000000..74046c8 --- /dev/null +++ b/.config/rofi/colors/colors.rasi @@ -0,0 +1,10 @@ +* { + background: #101419; + background-alt: #15191e; + border: #1a1e23; + foreground: #d2daf4; + accent: #78DBA9; + + text-color: @fg; + javacafe-blue: #74bee9; +} diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..890bd09 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1 @@ +@theme "appmnu"