Browse Source

Fix Rofi colors

Ian Adam Naval 2 years ago
parent
commit
7e907bcb33
2 changed files with 156 additions and 4 deletions
  1. 5
    4
      X11/Xresources.dotfile
  2. 151
    0
      rofi/rofi.configdir/ianonavy.rasi

+ 5
- 4
X11/Xresources.dotfile View File

@@ -48,8 +48,8 @@ xterm*borderWidth:        0
48 48
 rofi.modi:                 window,run,ssh
49 49
 rofi.opacity:              100
50 50
 rofi.width:                720
51
-rofi.lines:                5
52
-rofi.columns:              1
51
+rofi.lines:                20
52
+rofi.columns:              2
53 53
 rofi.font:                 Meslo LG S DZ 10
54 54
 rofi.fg:                   #f8f8f2
55 55
 rofi.bg:                   #252525
@@ -77,9 +77,10 @@ rofi.lazy-filter-limit:    5000
77 77
 rofi.eh:                   1
78 78
 rofi.auto-select:          false
79 79
 rofi.pid:                  /run/user/1000/rofi.pid
80
-rofi.key-window:           
81
-rofi.key-run:              
80
+rofi.key-window:
81
+rofi.key-run:
82 82
 rofi.key-ssh:
83
+rofi.theme:                ~/.config/rofi/ianonavy.rasi
83 84
 
84 85
 *.cursorBlink:  true
85 86
 *.foreground:   #f8f8f2

+ 151
- 0
rofi/rofi.configdir/ianonavy.rasi View File

@@ -0,0 +1,151 @@
1
+/**
2
+ * ROFI Color theme
3
+ * User: ianonavy
4
+ * Copyright: public domain
5
+ */
6
+
7
+* {
8
+    /* colors */
9
+    foreground:                  #f8f8f2;
10
+    background:                  #252525;
11
+    red:                         #660000;
12
+    yellow:                      #f4bf75;
13
+
14
+    /* normal */
15
+    normal-background:           @background;
16
+    normal-foreground:           @foreground;
17
+    urgent-background:           @background;
18
+    urgent-foreground:           @foreground;
19
+    active-background:           @background;
20
+    active-foreground:           @yellow;
21
+
22
+    selected-normal-background:  @red;
23
+    selected-normal-foreground:  @foreground;
24
+
25
+    selected-urgent-background:  @background;
26
+    selected-urgent-foreground:  @foreground;
27
+
28
+    selected-active-background:  @selected-normal-background;
29
+    selected-active-foreground:  @active-foreground;
30
+
31
+    alternate-normal-background: @background;
32
+    alternate-normal-foreground: @foreground;
33
+
34
+    alternate-urgent-background: @background;
35
+    alternate-urgent-foreground: @urgent-foreground;
36
+
37
+    alternate-active-background: @background;
38
+    alternate-active-foreground: @active-foreground;
39
+
40
+    bordercolor:                 @red;
41
+    border-color:                @background;
42
+    separatorcolor:              #660000;
43
+    background-color:            rgba ( 0, 0, 0, 0 % );
44
+}
45
+#window {
46
+    background-color: @background;
47
+    border:           1;
48
+    padding:          0;
49
+}
50
+#mainbox {
51
+    border:  0;
52
+    padding: 0;
53
+}
54
+#message {
55
+    border:       1px 0px 0px ;
56
+    border-color: @separatorcolor;
57
+    padding:      1px ;
58
+}
59
+#textbox {
60
+    text-color: @foreground;
61
+}
62
+#listview {
63
+    fixed-height: 0;
64
+    border:       1px 0px 0px ;
65
+    border-color: @separatorcolor;
66
+    spacing:      0px ;
67
+    scrollbar:    true;
68
+    padding:      0px 0px 0px ;
69
+}
70
+#element {
71
+    border:  0;
72
+    padding: 1px ;
73
+}
74
+#element.normal.normal {
75
+    background-color: @normal-background;
76
+    text-color:       @normal-foreground;
77
+}
78
+#element.normal.urgent {
79
+    background-color: @urgent-background;
80
+    text-color:       @urgent-foreground;
81
+}
82
+#element.normal.active {
83
+    background-color: @active-background;
84
+    text-color:       @active-foreground;
85
+}
86
+#element.selected.normal {
87
+    background-color: @selected-normal-background;
88
+    text-color:       @selected-normal-foreground;
89
+}
90
+#element.selected.urgent {
91
+    background-color: @selected-urgent-background;
92
+    text-color:       @selected-urgent-foreground;
93
+}
94
+#element.selected.active {
95
+    background-color: @selected-active-background;
96
+    text-color:       @selected-active-foreground;
97
+}
98
+#element.alternate.normal {
99
+    background-color: @alternate-normal-background;
100
+    text-color:       @alternate-normal-foreground;
101
+}
102
+#element.alternate.urgent {
103
+    background-color: @alternate-urgent-background;
104
+    text-color:       @alternate-urgent-foreground;
105
+}
106
+#element.alternate.active {
107
+    background-color: @alternate-active-background;
108
+    text-color:       @alternate-active-foreground;
109
+}
110
+#scrollbar {
111
+    width:        4px ;
112
+    border:       0;
113
+    handle-width: 8px ;
114
+    padding:      0;
115
+    background-color: @background;
116
+    handle-color: #660000;
117
+}
118
+#sidebar {
119
+    border:       1px 0px 0px ;
120
+    border-color: @separatorcolor;
121
+}
122
+#button.selected {
123
+    background-color: @selected-normal-background;
124
+    text-color:       @selected-normal-foreground;
125
+}
126
+#inputbar {
127
+    spacing:    0;
128
+    text-color: @normal-foreground;
129
+    padding:    1px ;
130
+}
131
+#case-indicator {
132
+    spacing:    0;
133
+    text-color: @normal-foreground;
134
+}
135
+#entry {
136
+    spacing:    0;
137
+    text-color: @normal-foreground;
138
+}
139
+#prompt {
140
+    spacing:    0;
141
+    text-color: @normal-foreground;
142
+}
143
+#inputbar {
144
+    children:   [ prompt,textbox-prompt-colon,entry,case-indicator ];
145
+}
146
+#textbox-prompt-colon {
147
+    expand:     false;
148
+    str:        ":";
149
+    margin:     0px 0.3em 0em 0em ;
150
+    text-color: @normal-foreground;
151
+}

Loading…
Cancel
Save