config.ini.bk 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. ;==========================================================
  2. ;
  3. ;
  4. ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
  5. ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
  8. ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
  9. ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
  10. ;
  11. ;
  12. ; To learn more about how to configure Polybar
  13. ; go to https://github.com/polybar/polybar
  14. ;
  15. ; The README contains a lot of information
  16. ;
  17. ;==========================================================
  18. [colors]
  19. background = #282A2E
  20. background-alt = #373B41
  21. foreground = #C5C8C6
  22. primary = #F0C674
  23. secondary = #8ABEB7
  24. alert = #A54242
  25. disabled = #707880
  26. [bar/example]
  27. width = 100%
  28. height = 24pt
  29. radius = 6
  30. ; dpi = 96
  31. background = ${colors.background}
  32. foreground = ${colors.foreground}
  33. line-size = 3pt
  34. border-size = 4pt
  35. border-color = #00000000
  36. padding-left = 0
  37. padding-right = 1
  38. module-margin = 1
  39. separator = |
  40. separator-foreground = ${colors.disabled}
  41. font-0 = monospace;2
  42. modules-left = xworkspaces xwindow
  43. modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date systray
  44. cursor-click = pointer
  45. cursor-scroll = ns-resize
  46. enable-ipc = true
  47. ; wm-restack = generic
  48. wm-restack = bspwm
  49. ; wm-restack = i3
  50. ; override-redirect = true
  51. ; This module is not active by default (to enable it, add it to one of the
  52. ; modules-* list above).
  53. ; Please note that only a single tray can exist at any time. If you launch
  54. ; multiple bars with this module, only a single one will show it, the others
  55. ; will produce a warning. Which bar gets the module is timing dependent and can
  56. ; be quite random.
  57. ; For more information, see the documentation page for this module:
  58. ; https://polybar.readthedocs.io/en/stable/user/modules/tray.html
  59. [module/systray]
  60. type = internal/tray
  61. format-margin = 8pt
  62. tray-spacing = 16pt
  63. [module/xworkspaces]
  64. type = internal/xworkspaces
  65. label-active = %name%
  66. label-active-background = ${colors.background-alt}
  67. label-active-underline= ${colors.primary}
  68. label-active-padding = 1
  69. label-occupied = %name%
  70. label-occupied-padding = 1
  71. label-urgent = %name%
  72. label-urgent-background = ${colors.alert}
  73. label-urgent-padding = 1
  74. label-empty = %name%
  75. label-empty-foreground = ${colors.disabled}
  76. label-empty-padding = 1
  77. [module/xwindow]
  78. type = internal/xwindow
  79. label = %title:0:60:...%
  80. [module/filesystem]
  81. type = internal/fs
  82. interval = 25
  83. mount-0 = /
  84. label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
  85. label-unmounted = %mountpoint% not mounted
  86. label-unmounted-foreground = ${colors.disabled}
  87. [module/pulseaudio]
  88. type = internal/pulseaudio
  89. format-volume-prefix = "VOL "
  90. format-volume-prefix-foreground = ${colors.primary}
  91. format-volume = <label-volume>
  92. label-volume = %percentage%%
  93. label-muted = muted
  94. label-muted-foreground = ${colors.disabled}
  95. [module/xkeyboard]
  96. type = internal/xkeyboard
  97. blacklist-0 = num lock
  98. label-layout = %layout%
  99. label-layout-foreground = ${colors.primary}
  100. label-indicator-padding = 2
  101. label-indicator-margin = 1
  102. label-indicator-foreground = ${colors.background}
  103. label-indicator-background = ${colors.secondary}
  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. [module/cpu]
  111. type = internal/cpu
  112. interval = 2
  113. format-prefix = "CPU "
  114. format-prefix-foreground = ${colors.primary}
  115. label = %percentage:2%%
  116. [network-base]
  117. type = internal/network
  118. interval = 5
  119. format-connected = <label-connected>
  120. format-disconnected = <label-disconnected>
  121. label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
  122. [module/wlan]
  123. inherit = network-base
  124. interface-type = wireless
  125. label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
  126. [module/eth]
  127. inherit = network-base
  128. interface-type = wired
  129. label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
  130. [module/date]
  131. type = internal/date
  132. interval = 1
  133. date = %a, %b %d %T
  134. ; date = %H:%M
  135. ; date-alt = %Y-%m-%d %H:%M:%S
  136. label = %date%
  137. label-foreground = ${colors.primary}
  138. [settings]
  139. screenchange-reload = true
  140. pseudo-transparency = true
  141. ; vim:ft=dosini