From de99b25185ee2f2d65a8254f1a6bd64484e682b0 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 31 Mar 2019 15:31:47 +0300 Subject: Rofi config and theme separated --- .config/rofi/config | 3 + .config/rofi/config.rasi | 101 ---------------------------------- .config/rofi/onedark.rasi | 101 ++++++++++++++++++++++++++++++++++ .config/rofi/sidebar.rasi | 136 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 240 insertions(+), 101 deletions(-) create mode 100644 .config/rofi/config delete mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/onedark.rasi create mode 100644 .config/rofi/sidebar.rasi (limited to '.config/rofi') diff --git a/.config/rofi/config b/.config/rofi/config new file mode 100644 index 0000000..e9bf877 --- /dev/null +++ b/.config/rofi/config @@ -0,0 +1,3 @@ +rofi.modi: window,run,ssh +rofi.terminal: kitty +rofi.theme: onedark diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi deleted file mode 100644 index 2902fcb..0000000 --- a/.config/rofi/config.rasi +++ /dev/null @@ -1,101 +0,0 @@ -/* - * ROFI One Dark - * - * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) - * - * Author: Benjamin Stauss - * User: me-benni - * - */ - -configuration { - display-drun: "act"; - display-run: "run"; - display-window: "win"; - show-icons: true; -} - -* { - black: #3b4252; - red: #bf616a; - blue: #81a1c1; - cyan: #88c0d0; - emphasis: #bf616a; - text-alt: #d8dee9; - text: #d8dee9; - - spacing: 0; - background-color: transparent; - - font: "Fira Code 14"; - text-color: @text; -} - -window { - transparency: "real"; - fullscreen: true; - background-color: #2e3440dd; -} - -mainbox { - padding: 30% 30%; -} - -inputbar { - margin: 0px 0px 20px 0px; - children: [prompt, textbox-prompt-colon, entry, case-indicator]; -} - -prompt { - text-color: @blue; -} - -textbox-prompt-colon { - expand: false; - str: ":"; - text-color: @text-alt; -} - -entry { - margin: 0px 10px; -} - -listview { - spacing: 5px; - dynamic: true; - scrollbar: false; -} - -element { - padding: 5px; - text-color: @text-alt; - highlight: bold #ebcb8b; - border-radius: 3px; -} - -element selected { - background-color: @black; - text-color: @text; -} - -element urgent, element selected urgent { - text-color: @red; -} - -element active, element selected active { - text-color: @purple; -} - -message { - padding: 5px; - border-radius: 3px; - background-color: @emphasis; - border: 1px; - border-color: @cyan; -} - -button selected { - padding: 5px; - border-radius: 3px; - background-color: @emphasis; -} diff --git a/.config/rofi/onedark.rasi b/.config/rofi/onedark.rasi new file mode 100644 index 0000000..2902fcb --- /dev/null +++ b/.config/rofi/onedark.rasi @@ -0,0 +1,101 @@ +/* + * ROFI One Dark + * + * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) + * + * Author: Benjamin Stauss + * User: me-benni + * + */ + +configuration { + display-drun: "act"; + display-run: "run"; + display-window: "win"; + show-icons: true; +} + +* { + black: #3b4252; + red: #bf616a; + blue: #81a1c1; + cyan: #88c0d0; + emphasis: #bf616a; + text-alt: #d8dee9; + text: #d8dee9; + + spacing: 0; + background-color: transparent; + + font: "Fira Code 14"; + text-color: @text; +} + +window { + transparency: "real"; + fullscreen: true; + background-color: #2e3440dd; +} + +mainbox { + padding: 30% 30%; +} + +inputbar { + margin: 0px 0px 20px 0px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @blue; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + text-color: @text-alt; +} + +entry { + margin: 0px 10px; +} + +listview { + spacing: 5px; + dynamic: true; + scrollbar: false; +} + +element { + padding: 5px; + text-color: @text-alt; + highlight: bold #ebcb8b; + border-radius: 3px; +} + +element selected { + background-color: @black; + text-color: @text; +} + +element urgent, element selected urgent { + text-color: @red; +} + +element active, element selected active { + text-color: @purple; +} + +message { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; + border: 1px; + border-color: @cyan; +} + +button selected { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; +} diff --git a/.config/rofi/sidebar.rasi b/.config/rofi/sidebar.rasi new file mode 100644 index 0000000..87ea535 --- /dev/null +++ b/.config/rofi/sidebar.rasi @@ -0,0 +1,136 @@ +/** + * User: deadguy + * Copyright: deadguy + */ + +configuration { + display-drun: "act"; + display-run: "run"; + display-window: "win"; + show-icons: true; + sidebar-mode: true; +} + +* { + background-color: #2e3440; + text-color: #d8dee9; + selbg: #88c0d0; + actbg: #d08770; + urgbg: #bf616a; + winbg: #e5e0f0; + + selected-normal-foreground: @winbg; + selected-normal-background: @actbg; + + normal-foreground: @text-color; + normal-background: @background-color; + + selected-urgent-foreground: @background-color; + selected-urgent-background: @urgbg; + + urgent-foreground: @text-color; + urgent-background: @background-color; + + selected-active-foreground: @winbg; + selected-active-background: @actbg; + + active-foreground: @text-color; + active-background: @selbg; + + line-margin: 2; + line-padding: 2; + separator-style: "none"; + hide-scrollbar: "true"; + margin: 0; + padding: 0; + font: "Fira Code 12"; + +} + +window { + location: west; + anchor: west; + height: 100%; + width: 22%; + orientation: horizontal; + children: [mainbox]; +} + +mainbox { + spacing: 0.8em; + children: [ entry,listview,sidebar ]; +} + +button { padding: 5px 2px; } + +button selected { + background-color: @active-background; + text-color: @background-color; +} + +inputbar { + padding: 5px; + spacing: 5px; +} + +listview { + spacing: 0.5em; + dynamic: false; + cycle: true; +} + +element { padding: 10px; } + +entry { + expand: false; + text-color: @normal-foreground; + vertical-align: 1; + padding: 5px; +} + +element normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; + border: 0 5px solid 0 0; + border-color: @active-background; +} + +element selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element alternate.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element alternate.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element alternate.active { + background-color: @active-background; + text-color: @active-foreground; +} -- cgit v1.2.3-70-g09d2