diff options
| author | Yigit Sever | 2019-04-01 01:30:01 +0300 |
|---|---|---|
| committer | Yigit Sever | 2019-04-01 01:30:01 +0300 |
| commit | c5891f90c37a28b2779dbf6af164d2248b78e7e1 (patch) | |
| tree | 680dc1f26e8b5861426fd93802511e594dc1eb35 /.config/rofi | |
| parent | 3e25614fbb0d64cbc5c4f2392e580e4b996bbc76 (diff) | |
| parent | de99b25185ee2f2d65a8254f1a6bd64484e682b0 (diff) | |
| download | dotfiles-c5891f90c37a28b2779dbf6af164d2248b78e7e1.tar.gz dotfiles-c5891f90c37a28b2779dbf6af164d2248b78e7e1.tar.bz2 dotfiles-c5891f90c37a28b2779dbf6af164d2248b78e7e1.zip | |
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
Diffstat (limited to '.config/rofi')
| -rw-r--r-- | .config/rofi/config | 14 | ||||
| -rw-r--r-- | .config/rofi/onedark.rasi | 101 | ||||
| -rw-r--r-- | .config/rofi/sidebar.rasi | 136 |
3 files changed, 240 insertions, 11 deletions
diff --git a/.config/rofi/config b/.config/rofi/config index df6e244..e9bf877 100644 --- a/.config/rofi/config +++ b/.config/rofi/config | |||
| @@ -1,11 +1,3 @@ | |||
| 1 | rofi.color-enabled: true | 1 | rofi.modi: window,run,ssh |
| 2 | rofi.color-window: #141021, #0a0f14, #195466 | 2 | rofi.terminal: kitty |
| 3 | rofi.color-normal: #141021, #ffeefc, #195466, #c23127, #ffeefc | 3 | rofi.theme: onedark |
| 4 | rofi.color-active: #141021, #2aa889, #195466, #d26939, #ffeefc | ||
| 5 | rofi.color-urgent: #141021, #e4b226, #195466, #e4b226, #ffeefc | ||
| 6 | rofi.width: 800 | ||
| 7 | rofi.padding: 50 | ||
| 8 | rofi.font: Lato 18 | ||
| 9 | rofi.bw: 3 | ||
| 10 | rofi.separator-style: solid | ||
| 11 | rofi.hide-scrollbar: true | ||
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 @@ | |||
| 1 | /* | ||
| 2 | * ROFI One Dark | ||
| 3 | * | ||
| 4 | * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) | ||
| 5 | * | ||
| 6 | * Author: Benjamin Stauss | ||
| 7 | * User: me-benni | ||
| 8 | * | ||
| 9 | */ | ||
| 10 | |||
| 11 | configuration { | ||
| 12 | display-drun: "act"; | ||
| 13 | display-run: "run"; | ||
| 14 | display-window: "win"; | ||
| 15 | show-icons: true; | ||
| 16 | } | ||
| 17 | |||
| 18 | * { | ||
| 19 | black: #3b4252; | ||
| 20 | red: #bf616a; | ||
| 21 | blue: #81a1c1; | ||
| 22 | cyan: #88c0d0; | ||
| 23 | emphasis: #bf616a; | ||
| 24 | text-alt: #d8dee9; | ||
| 25 | text: #d8dee9; | ||
| 26 | |||
| 27 | spacing: 0; | ||
| 28 | background-color: transparent; | ||
| 29 | |||
| 30 | font: "Fira Code 14"; | ||
| 31 | text-color: @text; | ||
| 32 | } | ||
| 33 | |||
| 34 | window { | ||
| 35 | transparency: "real"; | ||
| 36 | fullscreen: true; | ||
| 37 | background-color: #2e3440dd; | ||
| 38 | } | ||
| 39 | |||
| 40 | mainbox { | ||
| 41 | padding: 30% 30%; | ||
| 42 | } | ||
| 43 | |||
| 44 | inputbar { | ||
| 45 | margin: 0px 0px 20px 0px; | ||
| 46 | children: [prompt, textbox-prompt-colon, entry, case-indicator]; | ||
| 47 | } | ||
| 48 | |||
| 49 | prompt { | ||
| 50 | text-color: @blue; | ||
| 51 | } | ||
| 52 | |||
| 53 | textbox-prompt-colon { | ||
| 54 | expand: false; | ||
| 55 | str: ":"; | ||
| 56 | text-color: @text-alt; | ||
| 57 | } | ||
| 58 | |||
| 59 | entry { | ||
| 60 | margin: 0px 10px; | ||
| 61 | } | ||
| 62 | |||
| 63 | listview { | ||
| 64 | spacing: 5px; | ||
| 65 | dynamic: true; | ||
| 66 | scrollbar: false; | ||
| 67 | } | ||
| 68 | |||
| 69 | element { | ||
| 70 | padding: 5px; | ||
| 71 | text-color: @text-alt; | ||
| 72 | highlight: bold #ebcb8b; | ||
| 73 | border-radius: 3px; | ||
| 74 | } | ||
| 75 | |||
| 76 | element selected { | ||
| 77 | background-color: @black; | ||
| 78 | text-color: @text; | ||
| 79 | } | ||
| 80 | |||
| 81 | element urgent, element selected urgent { | ||
| 82 | text-color: @red; | ||
| 83 | } | ||
| 84 | |||
| 85 | element active, element selected active { | ||
| 86 | text-color: @purple; | ||
| 87 | } | ||
| 88 | |||
| 89 | message { | ||
| 90 | padding: 5px; | ||
| 91 | border-radius: 3px; | ||
| 92 | background-color: @emphasis; | ||
| 93 | border: 1px; | ||
| 94 | border-color: @cyan; | ||
| 95 | } | ||
| 96 | |||
| 97 | button selected { | ||
| 98 | padding: 5px; | ||
| 99 | border-radius: 3px; | ||
| 100 | background-color: @emphasis; | ||
| 101 | } | ||
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 @@ | |||
| 1 | /** | ||
| 2 | * User: deadguy | ||
| 3 | * Copyright: deadguy | ||
| 4 | */ | ||
| 5 | |||
| 6 | configuration { | ||
| 7 | display-drun: "act"; | ||
| 8 | display-run: "run"; | ||
| 9 | display-window: "win"; | ||
| 10 | show-icons: true; | ||
| 11 | sidebar-mode: true; | ||
| 12 | } | ||
| 13 | |||
| 14 | * { | ||
| 15 | background-color: #2e3440; | ||
| 16 | text-color: #d8dee9; | ||
| 17 | selbg: #88c0d0; | ||
| 18 | actbg: #d08770; | ||
| 19 | urgbg: #bf616a; | ||
| 20 | winbg: #e5e0f0; | ||
| 21 | |||
| 22 | selected-normal-foreground: @winbg; | ||
| 23 | selected-normal-background: @actbg; | ||
| 24 | |||
| 25 | normal-foreground: @text-color; | ||
| 26 | normal-background: @background-color; | ||
| 27 | |||
| 28 | selected-urgent-foreground: @background-color; | ||
| 29 | selected-urgent-background: @urgbg; | ||
| 30 | |||
| 31 | urgent-foreground: @text-color; | ||
| 32 | urgent-background: @background-color; | ||
| 33 | |||
| 34 | selected-active-foreground: @winbg; | ||
| 35 | selected-active-background: @actbg; | ||
| 36 | |||
| 37 | active-foreground: @text-color; | ||
| 38 | active-background: @selbg; | ||
| 39 | |||
| 40 | line-margin: 2; | ||
| 41 | line-padding: 2; | ||
| 42 | separator-style: "none"; | ||
| 43 | hide-scrollbar: "true"; | ||
| 44 | margin: 0; | ||
| 45 | padding: 0; | ||
| 46 | font: "Fira Code 12"; | ||
| 47 | |||
| 48 | } | ||
| 49 | |||
| 50 | window { | ||
| 51 | location: west; | ||
| 52 | anchor: west; | ||
| 53 | height: 100%; | ||
| 54 | width: 22%; | ||
| 55 | orientation: horizontal; | ||
| 56 | children: [mainbox]; | ||
| 57 | } | ||
| 58 | |||
| 59 | mainbox { | ||
| 60 | spacing: 0.8em; | ||
| 61 | children: [ entry,listview,sidebar ]; | ||
| 62 | } | ||
| 63 | |||
| 64 | button { padding: 5px 2px; } | ||
| 65 | |||
| 66 | button selected { | ||
| 67 | background-color: @active-background; | ||
| 68 | text-color: @background-color; | ||
| 69 | } | ||
| 70 | |||
| 71 | inputbar { | ||
| 72 | padding: 5px; | ||
| 73 | spacing: 5px; | ||
| 74 | } | ||
| 75 | |||
| 76 | listview { | ||
| 77 | spacing: 0.5em; | ||
| 78 | dynamic: false; | ||
| 79 | cycle: true; | ||
| 80 | } | ||
| 81 | |||
| 82 | element { padding: 10px; } | ||
| 83 | |||
| 84 | entry { | ||
| 85 | expand: false; | ||
| 86 | text-color: @normal-foreground; | ||
| 87 | vertical-align: 1; | ||
| 88 | padding: 5px; | ||
| 89 | } | ||
| 90 | |||
| 91 | element normal.normal { | ||
| 92 | background-color: @normal-background; | ||
| 93 | text-color: @normal-foreground; | ||
| 94 | } | ||
| 95 | |||
| 96 | element normal.urgent { | ||
| 97 | background-color: @urgent-background; | ||
| 98 | text-color: @urgent-foreground; | ||
| 99 | } | ||
| 100 | |||
| 101 | element normal.active { | ||
| 102 | background-color: @active-background; | ||
| 103 | text-color: @active-foreground; | ||
| 104 | } | ||
| 105 | |||
| 106 | element selected.normal { | ||
| 107 | background-color: @selected-normal-background; | ||
| 108 | text-color: @selected-normal-foreground; | ||
| 109 | border: 0 5px solid 0 0; | ||
| 110 | border-color: @active-background; | ||
| 111 | } | ||
| 112 | |||
| 113 | element selected.urgent { | ||
| 114 | background-color: @selected-urgent-background; | ||
| 115 | text-color: @selected-urgent-foreground; | ||
| 116 | } | ||
| 117 | |||
| 118 | element selected.active { | ||
| 119 | background-color: @selected-active-background; | ||
| 120 | text-color: @selected-active-foreground; | ||
| 121 | } | ||
| 122 | |||
| 123 | element alternate.normal { | ||
| 124 | background-color: @normal-background; | ||
| 125 | text-color: @normal-foreground; | ||
| 126 | } | ||
| 127 | |||
| 128 | element alternate.urgent { | ||
| 129 | background-color: @urgent-background; | ||
| 130 | text-color: @urgent-foreground; | ||
| 131 | } | ||
| 132 | |||
| 133 | element alternate.active { | ||
| 134 | background-color: @active-background; | ||
| 135 | text-color: @active-foreground; | ||
| 136 | } | ||
