From 25d11ccae0eb533bbbdae2f3535fac4bd64f3691 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 30 Oct 2021 18:12:10 +0300 Subject: rofi: new theme --- .config/rofi/config.rasi | 84 ++++++++++++++++++++++++++++++++++++++++++----- .config/rofi/img/bg.jpg | Bin 0 -> 1654584 bytes 2 files changed, 76 insertions(+), 8 deletions(-) create mode 100644 .config/rofi/img/bg.jpg diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 8f1c308..260674b 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,11 +1,79 @@ configuration { - modi: "combi,ssh"; - show-icons: true; - terminal: "kitty"; - combi-modi: "window,drun"; - display-window: "↪"; - display-run: "!"; - display-drun: "λ"; + modi: "drun,window"; + font: "Iosevka 10"; + drun-display-format: "{name} [ | {generic}]"; + sidebar-mode: false; + show-icons: true; + icon-theme: "Qogir-dark"; + terminal: "kitty"; } -@theme "/usr/share/rofi/themes/arthur.rasi" +@theme "/dev/null" + +* { + bg: #191724; + fg: #e0def4; + button: #31748f; + background-color: @bg; + text-color: @fg; +} + +window { + transparency: "real"; + width: 40%; +} + +prompt { enabled: false; } + +entry { + placeholder: "search"; + placeholder-color: @fg; + expand: true; + padding: 1.5%; + border-radius: 8px; +} + +inputbar { + children: [ prompt, entry ]; + background-image: url("img/bg.jpg", width); + expand: false; + border-radius: 0px 0 8px 8px; + padding: 100px 30px 30px 300px; +} + +listview { + columns: 1; + lines: 5; + cycle: false; + dynamic: true; + layout: vertical; + padding: 30px 200px 30px 30px; +} + +mainbox { children: [ inputbar, listview ]; } + +element { + orientation: horizontal; + padding: 1.5% 0%; + border-radius: 8px; +} + +element-text { + expand: true; + vertical-align: 0.5; + margin: 0% 0% 0% 0%; + background-color: inherit; + text-color: inherit; +} + +element-icon { + size: 24px; + vertical-align: 0.5; + margin: 0% 5%; + background-color: transparent; +} + +element selected { + background-color: @button; + border-radius: 8px; +} diff --git a/.config/rofi/img/bg.jpg b/.config/rofi/img/bg.jpg new file mode 100644 index 0000000..fef84a1 Binary files /dev/null and b/.config/rofi/img/bg.jpg differ -- cgit v1.2.3-70-g09d2