diff options
Diffstat (limited to 'Desktop.org')
-rw-r--r-- | Desktop.org | 132 |
1 files changed, 132 insertions, 0 deletions
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 | ||