diff options
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##h.lowe | 178 |
1 files changed, 41 insertions, 137 deletions
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe index 8df5653..e31d3cc 100644 --- a/.config/polybar/config##h.lowe +++ b/.config/polybar/config##h.lowe | |||
@@ -10,26 +10,20 @@ | |||
10 | ;========================================================== | 10 | ;========================================================== |
11 | 11 | ||
12 | [colors] | 12 | [colors] |
13 | background = #0c1014 | 13 | background = #cc191724 |
14 | background_alt = #0a3749 | 14 | background_modules = #cce0def4 |
15 | background_modules = #fbf1c7 | 15 | foreground = #e0def4 |
16 | foreground = #d3ebe9 | 16 | foreground_modules = #1f1d2e |
17 | foreground_alt = #99d1ce | 17 | red = #eb6f92 |
18 | foreground_modules = #282828 | 18 | green = #9ccfd8 |
19 | red = #9d0006 | ||
20 | green = #427b58 | ||
21 | sold_out_green = #1DB954 | 19 | sold_out_green = #1DB954 |
22 | yellow = #b56714 | 20 | yellow = #f6c177 |
23 | blue = #458588 | 21 | blue = #31748f |
24 | purple = #8f3f71 | 22 | purple = #ebbcba |
25 | aqua = #689d6a | 23 | pink = #c4a7e7 |
26 | orange = #d65d0e | ||
27 | primary = #d26937 | ||
28 | secondary = #888ca6 | ||
29 | alert = #c23127 | ||
30 | 24 | ||
31 | [bar/top] | 25 | [bar/top] |
32 | monitor = DP-2 | 26 | monitor = VGA-1 |
33 | width = 100% | 27 | width = 100% |
34 | height = 20 | 28 | height = 20 |
35 | offset-x = 0 | 29 | offset-x = 0 |
@@ -48,14 +42,12 @@ border-bottom-color = ${colors.background} | |||
48 | padding = 2 | 42 | padding = 2 |
49 | module-margin = 1 | 43 | module-margin = 1 |
50 | 44 | ||
51 | font-0 = Cozette:antialias=false;2 | 45 | font-0 = scientifica:antialias=false;1 |
52 | font-1 = Lato:size=10;1 | 46 | font-1 = Siji:size=20;1 |
53 | font-2 = Raleway:size=10;1 | ||
54 | font-3 = FuraCode Nerd Font:size=11;2 | ||
55 | 47 | ||
56 | modules-left = i3 pulseaudio-control spotify | 48 | modules-left = i3 pulseaudio-control spotify |
57 | modules-center = xwindow | 49 | modules-center = xwindow |
58 | modules-right = focus date time xkeyboard | 50 | modules-right = focus date time |
59 | 51 | ||
60 | tray-position = right | 52 | tray-position = right |
61 | 53 | ||
@@ -73,26 +65,9 @@ format-prefix-background = ${colors.sold_out_green} | |||
73 | format-prefix-foreground = ${colors.foreground} | 65 | format-prefix-foreground = ${colors.foreground} |
74 | format = <label> | 66 | format = <label> |
75 | format-padding = 0 | 67 | format-padding = 0 |
76 | exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , ' | 68 | exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', ' |
77 | ;契 | 69 | ;契 |
78 | 70 | ||
79 | ; [module/dpmpd] | ||
80 | ; type = internal/mpd | ||
81 | ; host = 127.0.0.1 | ||
82 | ; port = 6600 | ||
83 | |||
84 | ; format-online = <toggle> <label-song> <icon-random> | ||
85 | ; label-song = %artist:0:24:...% - %title:0:24:...% | ||
86 | ; icon-pause = | ||
87 | ; icon-play = | ||
88 | ; icon-random = 咽 | ||
89 | |||
90 | ; toggle-on-foreground = ${colors.background_modules} | ||
91 | ; toggle-off-foreground = ${colors.foreground_modules} | ||
92 | |||
93 | ; format-offline = <label-offline> | ||
94 | ; label-offline = mpd is offline | ||
95 | |||
96 | [module/xwindow] | 71 | [module/xwindow] |
97 | type = internal/xwindow | 72 | type = internal/xwindow |
98 | format = <label> | 73 | format = <label> |
@@ -100,103 +75,56 @@ label = %title:0:70:...% | |||
100 | 75 | ||
101 | y-offset = 10 | 76 | y-offset = 10 |
102 | label-padding = 1 | 77 | label-padding = 1 |
103 | label-font = 1 | ||
104 | 78 | ||
105 | label-empty = | 79 | label-empty = |
106 | label-empty-font = 3 | ||
107 | label-empty-padding = 5 | 80 | label-empty-padding = 5 |
108 | 81 | ||
109 | [module/xkeyboard] | ||
110 | type = internal/xkeyboard | ||
111 | blacklist-0 = num lock | ||
112 | blacklist-1 = scroll lock | ||
113 | |||
114 | format = <label-layout> <label-indicator> | ||
115 | format-spacing = 0 | ||
116 | |||
117 | format-prefix = | ||
118 | format-prefix-padding = 1 | ||
119 | format-prefix-background = ${colors.blue} | ||
120 | format-prefix-foreground = ${colors.foreground} | ||
121 | format-prefix-font = 3 | ||
122 | |||
123 | label-layout = %name% | ||
124 | label-layout-padding = 1 | ||
125 | label-layout-background = ${colors.background_modules} | ||
126 | label-layout-foreground = ${colors.foreground_modules} | ||
127 | |||
128 | label-indicator-padding = 2 | ||
129 | label-indicator-margin = | ||
130 | label-indicator-background = ${colors.alert} | ||
131 | |||
132 | [module/i3] | 82 | [module/i3] |
133 | type = internal/i3 | 83 | type = internal/i3 |
134 | format = <label-state> <label-mode> | 84 | format = <label-state> |
135 | index-sort = true | 85 | index-sort = true |
136 | wrapping-scroll = false | 86 | wrapping-scroll = false |
137 | strip-wsnumbers = true | 87 | strip-wsnumbers = true |
138 | 88 | ||
89 | ws-icon-default = | ||
90 | ws-icon-0 = 0; | ||
91 | ws-icon-1 = 1; | ||
92 | ws-icon-2 = 2; | ||
93 | ws-icon-3 = 3; | ||
94 | ws-icon-4 = 4; | ||
95 | ws-icon-5 = 5; | ||
96 | ws-icon-6 = 6; | ||
97 | ws-icon-7 = 7; | ||
98 | ws-icon-8 = 8; | ||
99 | ws-icon-9 = 9; | ||
100 | ws-icon-10 = zotero; | ||
101 | ws-icon-11 = desktop; | ||
102 | ws-icon-12 = browser; | ||
103 | |||
139 | label-mode-background = ${colors.background_modules} | 104 | label-mode-background = ${colors.background_modules} |
140 | label-mode-foreground = ${colors.foreground_modules} | 105 | label-mode-foreground = ${colors.foreground_modules} |
141 | label-mode-padding = 2 | 106 | label-mode-padding = 2 |
142 | 107 | ||
143 | label-focused = %name% | 108 | label-focused = %icon% |
144 | label-focused-background = ${colors.red} | 109 | label-focused-background = ${colors.blue} |
145 | label-focused-foreground = ${colors.background_modules} | 110 | label-focused-foreground = ${colors.background_modules} |
146 | label-focused-padding = 1 | 111 | label-focused-padding = 1 |
147 | 112 | ||
148 | label-unfocused = %name% | 113 | label-unfocused = %icon% |
149 | label-unfocused-background = ${colors.background_modules} | 114 | label-unfocused-background = ${colors.background_modules} |
150 | label-unfocused-foreground = ${colors.foreground_modules} | 115 | label-unfocused-foreground = ${colors.foreground_modules} |
151 | label-unfocused-padding = 1 | 116 | label-unfocused-padding = 1 |
152 | 117 | ||
153 | label-visible = %name% | 118 | label-visible = %icon% |
154 | label-visible-background = ${colors.background_modules} | 119 | label-visible-background = ${colors.background_modules} |
155 | label-visible-foreground = ${colors.foreground_modules} | 120 | label-visible-foreground = ${colors.foreground_modules} |
156 | label-visible-padding = 1 | 121 | label-visible-padding = 1 |
157 | 122 | ||
158 | label-urgent = %index% | 123 | label-urgent = %icon% |
159 | label-urgent-background = ${colors.alert} | 124 | label-urgent-background = ${colors.red} |
160 | label-urgent-foreground = ${colors.background} | 125 | label-urgent-foreground = ${colors.background} |
161 | label-urgent-padding = 1 | 126 | label-urgent-padding = 1 |
162 | 127 | ||
163 | [module/download] | ||
164 | type = internal/network | ||
165 | interface = enp1s0 | ||
166 | interval = 3.0 | ||
167 | |||
168 | format-connected = <label-connected> | ||
169 | |||
170 | format-connected-prefix = | ||
171 | format-connected-prefix-padding = 1 | ||
172 | format-connected-prefix-background = ${colors.green} | ||
173 | format-connected-prefix-foreground = ${colors.foreground} | ||
174 | |||
175 | label-connected = %downspeed% | ||
176 | label-connected-background = ${colors.background_modules} | ||
177 | label-connected-foreground = ${colors.foreground_modules} | ||
178 | label-connected-padding = 1 | ||
179 | |||
180 | format-disconnected = <label-disconnected> | ||
181 | label-disconnected = %ifname% disconnected | ||
182 | |||
183 | [module/upload] | ||
184 | type = internal/network | ||
185 | interface = enp1s0 | ||
186 | interval = 3.0 | ||
187 | |||
188 | format-connected = <label-connected> | ||
189 | |||
190 | format-connected-prefix = | ||
191 | format-connected-prefix-padding = 1 | ||
192 | format-connected-prefix-background = ${colors.yellow} | ||
193 | format-connected-prefix-foreground = ${colors.foreground} | ||
194 | |||
195 | label-connected = %upspeed% | ||
196 | label-connected-background = ${colors.background_modules} | ||
197 | label-connected-foreground = ${colors.foreground_modules} | ||
198 | label-connected-padding = 1 | ||
199 | |||
200 | [module/date] | 128 | [module/date] |
201 | type = internal/date | 129 | type = internal/date |
202 | interval = 1 | 130 | interval = 1 |
@@ -205,10 +133,9 @@ date = %Y-%m-%d %A | |||
205 | label = %date% | 133 | label = %date% |
206 | format = <label> | 134 | format = <label> |
207 | 135 | ||
208 | format-prefix = | 136 | format-prefix = |
209 | format-prefix-background = ${colors.orange} | 137 | format-prefix-background = ${colors.yellow} |
210 | format-prefix-foreground = ${colors.foreground} | 138 | format-prefix-foreground = ${colors.foreground} |
211 | format-prefix-font = 3 | ||
212 | format-prefix-padding = 1 | 139 | format-prefix-padding = 1 |
213 | 140 | ||
214 | label-background = ${colors.background_modules} | 141 | label-background = ${colors.background_modules} |
@@ -223,38 +150,15 @@ time = %H:%M | |||
223 | label = %time% | 150 | label = %time% |
224 | format = <label> | 151 | format = <label> |
225 | 152 | ||
226 | format-prefix = | 153 | format-prefix = |
227 | format-prefix-background = ${colors.secondary} | 154 | format-prefix-background = ${colors.blue} |
228 | format-prefix-foreground = ${colors.foreground} | 155 | format-prefix-foreground = ${colors.foreground} |
229 | format-prefix-font = 3 | ||
230 | format-prefix-padding = 1 | 156 | format-prefix-padding = 1 |
231 | 157 | ||
232 | label-background = ${colors.background_modules} | 158 | label-background = ${colors.background_modules} |
233 | label-foreground = ${colors.foreground_modules} | 159 | label-foreground = ${colors.foreground_modules} |
234 | label-padding = 1 | 160 | label-padding = 1 |
235 | 161 | ||
236 | [module/pulseaudio] | ||
237 | type = internal/pulseaudio | ||
238 | interval = 5 | ||
239 | |||
240 | format-volume = <label-volume> | ||
241 | |||
242 | format-volume-prefix = | ||
243 | format-volume-prefix-background = ${colors.purple} | ||
244 | format-volume-prefix-foreground = ${colors.background_modules} | ||
245 | format-volume-prefix-font = 3 | ||
246 | format-volume-prefix-padding = 1 | ||
247 | |||
248 | label-volume = %percentage% | ||
249 | label-volume-background = ${colors.background_modules} | ||
250 | label-volume-foreground = ${colors.foreground_modules} | ||
251 | label-volume-padding = 1 | ||
252 | |||
253 | label-muted = | ||
254 | label-muted-background = ${colors.purple} | ||
255 | label-muted-foreground = ${colors.foreground} | ||
256 | label-muted-padding = 2 | ||
257 | |||
258 | [module/pulseaudio-control] | 162 | [module/pulseaudio-control] |
259 | type = custom/script | 163 | type = custom/script |
260 | tail = true | 164 | tail = true |