config.ini 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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 = 0
  30. monitor = ${env:MONITOR:}
  31. ; dpi = 96
  32. background = ${colors.background}
  33. foreground = ${colors.foreground}
  34. line-size = 3pt
  35. border-size = 0pt
  36. border-color = #00000000
  37. padding-left = 0
  38. padding-right = 1
  39. module-margin = 1
  40. separator = |
  41. separator-foreground = ${colors.disabled}
  42. font-0 = monospace;2
  43. modules-left = xworkspaces xwindow
  44. modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date
  45. cursor-click = pointer
  46. cursor-scroll = ns-resize
  47. enable-ipc = true
  48. ; tray-position = right
  49. ; wm-restack = generic
  50. ; wm-restack = bspwm
  51. ; wm-restack = i3
  52. ; override-redirect = true
  53. [module/xworkspaces]
  54. type = internal/xworkspaces
  55. label-active = %name%
  56. label-active-background = ${colors.background-alt}
  57. label-active-underline= ${colors.primary}
  58. label-active-padding = 1
  59. label-occupied = %name%
  60. label-occupied-padding = 1
  61. label-urgent = %name%
  62. label-urgent-background = ${colors.alert}
  63. label-urgent-padding = 1
  64. label-empty = %name%
  65. label-empty-foreground = ${colors.disabled}
  66. label-empty-padding = 1
  67. [module/xwindow]
  68. type = internal/xwindow
  69. label = %title:0:60:...%
  70. [module/filesystem]
  71. type = internal/fs
  72. interval = 25
  73. mount-0 = /
  74. mount-1 = /home
  75. label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
  76. label-unmounted = %mountpoint% not mounted
  77. label-unmounted-foreground = ${colors.disabled}
  78. [module/pulseaudio]
  79. type = internal/pulseaudio
  80. format-volume-prefix = "VOL "
  81. format-volume-prefix-foreground = ${colors.primary}
  82. format-volume = <label-volume>
  83. label-volume = %percentage%%
  84. label-muted = muted
  85. label-muted-foreground = ${colors.disabled}
  86. [module/xkeyboard]
  87. type = internal/xkeyboard
  88. blacklist-0 = num lock
  89. label-layout = %layout%
  90. label-layout-foreground = ${colors.primary}
  91. label-indicator-padding = 2
  92. label-indicator-margin = 1
  93. label-indicator-foreground = ${colors.background}
  94. label-indicator-background = ${colors.secondary}
  95. [module/memory]
  96. type = internal/memory
  97. interval = 2
  98. format-prefix = "RAM "
  99. format-prefix-foreground = ${colors.primary}
  100. label = %percentage_used:2%%
  101. [module/cpu]
  102. type = internal/cpu
  103. interval = 2
  104. format-prefix = "CPU "
  105. format-prefix-foreground = ${colors.primary}
  106. label = %percentage:2%%
  107. [network-base]
  108. type = internal/network
  109. interval = 5
  110. format-connected = <label-connected>
  111. format-disconnected = <label-disconnected>
  112. ;label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
  113. label-disconnected = %{F#F0C674}%ifname%%{F#707880}
  114. ;[module/wlan]
  115. ;inherit = network-base
  116. ;interface-type = wireless
  117. ;label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
  118. [module/eth]
  119. inherit = network-base
  120. interface-type = wired
  121. ;label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
  122. label-connected = %{F#F0C674}%ifname%%{F-} ON
  123. [module/date]
  124. type = internal/date
  125. interval = 1
  126. date = %H:%M
  127. date-alt = %Y-%m-%d %H:%M:%S
  128. label = %date%
  129. label-foreground = ${colors.primary}
  130. [settings]
  131. screenchange-reload = true
  132. pseudo-transparency = true
  133. ; vim:ft=dosini