diff options
-rw-r--r-- | .config/polybar/config.ini | 126 | ||||
-rw-r--r-- | Desktop.org | 132 |
2 files changed, 258 insertions, 0 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini new file mode 100644 index 0000000..8e79a12 --- /dev/null +++ b/.config/polybar/config.ini | |||
@@ -0,0 +1,126 @@ | |||
1 | [settings] | ||
2 | screenchange-reload = true | ||
3 | pseudo-transparency = true | ||
4 | |||
5 | [colors] | ||
6 | background = #F20d1017 | ||
7 | background-alt = #131721 | ||
8 | foreground = #C5C8C6 | ||
9 | primary = #7fd962 | ||
10 | secondary = #bfbdb6 | ||
11 | alert = #A54242 | ||
12 | disabled = #707880 | ||
13 | |||
14 | [bar/example] | ||
15 | width = 100% | ||
16 | height = 18pt | ||
17 | |||
18 | background = ${colors.background} | ||
19 | foreground = ${colors.foreground} | ||
20 | |||
21 | line-size = 1.5pt | ||
22 | |||
23 | padding-left = 0 | ||
24 | padding-right = 1 | ||
25 | |||
26 | module-margin = 1 | ||
27 | |||
28 | separator = | | ||
29 | separator-foreground = ${colors.disabled} | ||
30 | |||
31 | font-0 = "sourcecodepro:size=11" | ||
32 | font-1 = "FontAwesome" | ||
33 | |||
34 | modules-left = xworkspaces | ||
35 | modules-right = memory cpu battery date | ||
36 | |||
37 | cursor-click = pointer | ||
38 | cursor-scroll = ns-resize | ||
39 | |||
40 | enable-ipc = true | ||
41 | |||
42 | tray-position = right | ||
43 | |||
44 | [module/xworkspaces] | ||
45 | type = internal/xworkspaces | ||
46 | |||
47 | icon-0 = 1;0 | ||
48 | icon-1 = 2;1 | ||
49 | icon-2 = 3;2 | ||
50 | icon-3 = 4;3 | ||
51 | icon-4 = 5;4 | ||
52 | icon-5 = 6;5 | ||
53 | icon-6 = 7;6 | ||
54 | icon-7 = 8;7 | ||
55 | icon-8 = 9;8 | ||
56 | icon-9 = 10;9 | ||
57 | |||
58 | label-active = %icon% | ||
59 | label-active-background = ${colors.background-alt} | ||
60 | label-active-underline= ${colors.primary} | ||
61 | label-active-padding = 1 | ||
62 | |||
63 | label-occupied = %icon% | ||
64 | label-occupied-padding = 1 | ||
65 | |||
66 | label-urgent = %icon% | ||
67 | label-urgent-background = ${colors.alert} | ||
68 | label-urgent-padding = 1 | ||
69 | |||
70 | label-empty = %icon% | ||
71 | label-empty-foreground = ${colors.disabled} | ||
72 | label-empty-padding = 1 | ||
73 | |||
74 | [module/battery] | ||
75 | type = internal/battery | ||
76 | battery = BAT0 | ||
77 | adapter = ADP1 | ||
78 | |||
79 | format-charging = <animation-charging> <label-charging> | ||
80 | format-discharging = <ramp-capacity> <label-discharging> | ||
81 | format-low = <ramp-capacity> <label-low> | ||
82 | format-full = <ramp-capacity> <label-full> | ||
83 | |||
84 | label-charging = %percentage%% | ||
85 | label-discharging = %percentage%% | ||
86 | label-low = LOW %percentage%% | ||
87 | label-full = FULL %percentage%% | ||
88 | |||
89 | ramp-capacity-0 = | ||
90 | ramp-capacity-1 = | ||
91 | ramp-capacity-2 = | ||
92 | ramp-capacity-3 = | ||
93 | ramp-capacity-4 = | ||
94 | ramp-capacity-foreground = ${colors.primary} | ||
95 | |||
96 | animation-charging-0 = | ||
97 | animation-charging-1 = | ||
98 | animation-charging-2 = | ||
99 | animation-charging-3 = | ||
100 | animation-charging-4 = | ||
101 | animation-charging-foreground = ${colors.primary} | ||
102 | animation-charging-framerate = 750 | ||
103 | |||
104 | [module/memory] | ||
105 | type = internal/memory | ||
106 | interval = 2 | ||
107 | format-prefix = "RAM " | ||
108 | format-prefix-foreground = ${colors.primary} | ||
109 | label = %percentage_used:2%% | ||
110 | |||
111 | [module/cpu] | ||
112 | type = internal/cpu | ||
113 | interval = 2 | ||
114 | format-prefix = "CPU " | ||
115 | format-prefix-foreground = ${colors.primary} | ||
116 | label = %percentage:2%% | ||
117 | |||
118 | [module/date] | ||
119 | type = internal/date | ||
120 | interval = 1 | ||
121 | |||
122 | date = %H:%M | ||
123 | date-alt = %Y-%m-%d %H:%M:%S | ||
124 | |||
125 | label = %date% | ||
126 | label-foreground = ${colors.primary} | ||
diff --git a/Desktop.org b/Desktop.org index d1a9188..04d6be3 100644 --- a/Desktop.org +++ b/Desktop.org | |||
@@ -345,3 +345,135 @@ | |||
345 | # Icon for notifications with critical urgency, uncomment to enable | 345 | # Icon for notifications with critical urgency, uncomment to enable |
346 | #icon = /path/to/icon | 346 | #icon = /path/to/icon |
347 | #+end_src | 347 | #+end_src |
348 | |||
349 | * Polybar | ||
350 | #+begin_src conf :tangle .config/polybar/config.ini | ||
351 | |||
352 | [settings] | ||
353 | screenchange-reload = true | ||
354 | pseudo-transparency = true | ||
355 | |||
356 | [colors] | ||
357 | background = #F20d1017 | ||
358 | background-alt = #131721 | ||
359 | foreground = #C5C8C6 | ||
360 | primary = #7fd962 | ||
361 | secondary = #bfbdb6 | ||
362 | alert = #A54242 | ||
363 | disabled = #707880 | ||
364 | |||
365 | [bar/example] | ||
366 | width = 100% | ||
367 | height = 18pt | ||
368 | |||
369 | background = ${colors.background} | ||
370 | foreground = ${colors.foreground} | ||
371 | |||
372 | line-size = 1.5pt | ||
373 | |||
374 | padding-left = 0 | ||
375 | padding-right = 1 | ||
376 | |||
377 | module-margin = 1 | ||
378 | |||
379 | separator = | | ||
380 | separator-foreground = ${colors.disabled} | ||
381 | |||
382 | font-0 = "sourcecodepro:size=11" | ||
383 | font-1 = "FontAwesome" | ||
384 | |||
385 | modules-left = xworkspaces | ||
386 | modules-right = memory cpu battery date | ||
387 | |||
388 | cursor-click = pointer | ||
389 | cursor-scroll = ns-resize | ||
390 | |||
391 | enable-ipc = true | ||
392 | |||
393 | tray-position = right | ||
394 | |||
395 | [module/xworkspaces] | ||
396 | type = internal/xworkspaces | ||
397 | |||
398 | icon-0 = 1;0 | ||
399 | icon-1 = 2;1 | ||
400 | icon-2 = 3;2 | ||
401 | icon-3 = 4;3 | ||
402 | icon-4 = 5;4 | ||
403 | icon-5 = 6;5 | ||
404 | icon-6 = 7;6 | ||
405 | icon-7 = 8;7 | ||
406 | icon-8 = 9;8 | ||
407 | icon-9 = 10;9 | ||
408 | |||
409 | label-active = %icon% | ||
410 | label-active-background = ${colors.background-alt} | ||
411 | label-active-underline= ${colors.primary} | ||
412 | label-active-padding = 1 | ||
413 | |||
414 | label-occupied = %icon% | ||
415 | label-occupied-padding = 1 | ||
416 | |||
417 | label-urgent = %icon% | ||
418 | label-urgent-background = ${colors.alert} | ||
419 | label-urgent-padding = 1 | ||
420 | |||
421 | label-empty = %icon% | ||
422 | label-empty-foreground = ${colors.disabled} | ||
423 | label-empty-padding = 1 | ||
424 | |||
425 | [module/battery] | ||
426 | type = internal/battery | ||
427 | battery = BAT0 | ||
428 | adapter = ADP1 | ||
429 | |||
430 | format-charging = <animation-charging> <label-charging> | ||
431 | format-discharging = <ramp-capacity> <label-discharging> | ||
432 | format-low = <ramp-capacity> <label-low> | ||
433 | format-full = <ramp-capacity> <label-full> | ||
434 | |||
435 | label-charging = %percentage%% | ||
436 | label-discharging = %percentage%% | ||
437 | label-low = LOW %percentage%% | ||
438 | label-full = FULL %percentage%% | ||
439 | |||
440 | ramp-capacity-0 = | ||
441 | ramp-capacity-1 = | ||
442 | ramp-capacity-2 = | ||
443 | ramp-capacity-3 = | ||
444 | ramp-capacity-4 = | ||
445 | ramp-capacity-foreground = ${colors.primary} | ||
446 | |||
447 | animation-charging-0 = | ||
448 | animation-charging-1 = | ||
449 | animation-charging-2 = | ||
450 | animation-charging-3 = | ||
451 | animation-charging-4 = | ||
452 | animation-charging-foreground = ${colors.primary} | ||
453 | animation-charging-framerate = 750 | ||
454 | |||
455 | [module/memory] | ||
456 | type = internal/memory | ||
457 | interval = 2 | ||
458 | format-prefix = "RAM " | ||
459 | format-prefix-foreground = ${colors.primary} | ||
460 | label = %percentage_used:2%% | ||
461 | |||
462 | [module/cpu] | ||
463 | type = internal/cpu | ||
464 | interval = 2 | ||
465 | format-prefix = "CPU " | ||
466 | format-prefix-foreground = ${colors.primary} | ||
467 | label = %percentage:2%% | ||
468 | |||
469 | [module/date] | ||
470 | type = internal/date | ||
471 | interval = 1 | ||
472 | |||
473 | date = %H:%M | ||
474 | date-alt = %Y-%m-%d %H:%M:%S | ||
475 | |||
476 | label = %date% | ||
477 | label-foreground = ${colors.primary} | ||
478 | |||
479 | #+end_src | ||