summaryrefslogtreecommitdiffstats
path: root/.config/rofi
diff options
context:
space:
mode:
authorYigit Sever2019-03-31 15:31:47 +0300
committerYigit Sever2019-03-31 15:31:47 +0300
commitde99b25185ee2f2d65a8254f1a6bd64484e682b0 (patch)
tree9adcb27228506f010d9362043ecbb7e984bc7b2c /.config/rofi
parent23400c3fe898328077ee775e857d47ecbaeebf1e (diff)
downloaddotfiles-de99b25185ee2f2d65a8254f1a6bd64484e682b0.tar.gz
dotfiles-de99b25185ee2f2d65a8254f1a6bd64484e682b0.tar.bz2
dotfiles-de99b25185ee2f2d65a8254f1a6bd64484e682b0.zip
Rofi config and theme separated
diffstat (limited to '.config/rofi')
-rw-r--r--.config/rofi/config3
-rw-r--r--.config/rofi/onedark.rasi (renamed from .config/rofi/config.rasi)0
-rw-r--r--.config/rofi/sidebar.rasi136
3 files changed, 139 insertions, 0 deletions
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 @@
1rofi.modi: window,run,ssh
2rofi.terminal: kitty
3rofi.theme: onedark
diff --git a/.config/rofi/config.rasi b/.config/rofi/onedark.rasi
index 2902fcb..2902fcb 100644
--- a/.config/rofi/config.rasi
+++ b/.config/rofi/onedark.rasi
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}