summaryrefslogtreecommitdiffstats
path: root/.config/rofi
diff options
context:
space:
mode:
Diffstat (limited to '.config/rofi')
-rw-r--r--.config/rofi/config14
-rw-r--r--.config/rofi/onedark.rasi101
-rw-r--r--.config/rofi/sidebar.rasi136
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 @@
1rofi.color-enabled: true 1rofi.modi: window,run,ssh
2rofi.color-window: #141021, #0a0f14, #195466 2rofi.terminal: kitty
3rofi.color-normal: #141021, #ffeefc, #195466, #c23127, #ffeefc 3rofi.theme: onedark
4rofi.color-active: #141021, #2aa889, #195466, #d26939, #ffeefc
5rofi.color-urgent: #141021, #e4b226, #195466, #e4b226, #ffeefc
6rofi.width: 800
7rofi.padding: 50
8rofi.font: Lato 18
9rofi.bw: 3
10rofi.separator-style: solid
11rofi.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
11configuration {
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
34window {
35 transparency: "real";
36 fullscreen: true;
37 background-color: #2e3440dd;
38}
39
40mainbox {
41 padding: 30% 30%;
42}
43
44inputbar {
45 margin: 0px 0px 20px 0px;
46 children: [prompt, textbox-prompt-colon, entry, case-indicator];
47}
48
49prompt {
50 text-color: @blue;
51}
52
53textbox-prompt-colon {
54 expand: false;
55 str: ":";
56 text-color: @text-alt;
57}
58
59entry {
60 margin: 0px 10px;
61}
62
63listview {
64 spacing: 5px;
65 dynamic: true;
66 scrollbar: false;
67}
68
69element {
70 padding: 5px;
71 text-color: @text-alt;
72 highlight: bold #ebcb8b;
73 border-radius: 3px;
74}
75
76element selected {
77 background-color: @black;
78 text-color: @text;
79}
80
81element urgent, element selected urgent {
82 text-color: @red;
83}
84
85element active, element selected active {
86 text-color: @purple;
87}
88
89message {
90 padding: 5px;
91 border-radius: 3px;
92 background-color: @emphasis;
93 border: 1px;
94 border-color: @cyan;
95}
96
97button 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
6configuration {
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
50window {
51 location: west;
52 anchor: west;
53 height: 100%;
54 width: 22%;
55 orientation: horizontal;
56 children: [mainbox];
57}
58
59mainbox {
60 spacing: 0.8em;
61 children: [ entry,listview,sidebar ];
62}
63
64button { padding: 5px 2px; }
65
66button selected {
67 background-color: @active-background;
68 text-color: @background-color;
69}
70
71inputbar {
72 padding: 5px;
73 spacing: 5px;
74}
75
76listview {
77 spacing: 0.5em;
78 dynamic: false;
79 cycle: true;
80}
81
82element { padding: 10px; }
83
84entry {
85 expand: false;
86 text-color: @normal-foreground;
87 vertical-align: 1;
88 padding: 5px;
89}
90
91element normal.normal {
92 background-color: @normal-background;
93 text-color: @normal-foreground;
94}
95
96element normal.urgent {
97 background-color: @urgent-background;
98 text-color: @urgent-foreground;
99}
100
101element normal.active {
102 background-color: @active-background;
103 text-color: @active-foreground;
104}
105
106element 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
113element selected.urgent {
114 background-color: @selected-urgent-background;
115 text-color: @selected-urgent-foreground;
116}
117
118element selected.active {
119 background-color: @selected-active-background;
120 text-color: @selected-active-foreground;
121}
122
123element alternate.normal {
124 background-color: @normal-background;
125 text-color: @normal-foreground;
126}
127
128element alternate.urgent {
129 background-color: @urgent-background;
130 text-color: @urgent-foreground;
131}
132
133element alternate.active {
134 background-color: @active-background;
135 text-color: @active-foreground;
136}