config.ini 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. ;==========================================================
  2. ;
  3. ;
  4. ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
  5. ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
  8. ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
  9. ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
  10. ;
  11. ;
  12. ; By: Anas Elgarhy: @anas-elgarhy, @anaselgarhy
  13. ;
  14. ;==========================================================
  15. [colors]
  16. background = #282A2E
  17. background-alt = #373B41
  18. foreground = #C5C8C6
  19. primary = #F0C674
  20. secondary = #8ABEB7
  21. alert = #A54242
  22. disabled = #707880
  23. [bar/example]
  24. width = 100%
  25. height = 20pt
  26. radius = 6
  27. ; dpi = 96
  28. background = ${colors.background}
  29. foreground = ${colors.foreground}
  30. line-size = 3pt
  31. border-size = 2pt
  32. border-color = #00000000
  33. padding-left = 0
  34. padding-right = 1
  35. module-margin = 1
  36. separator = |
  37. separator-foreground = ${colors.disabled}
  38. font-0 = "FiraCode Nerd Font:size=13;0"
  39. ; https://github.com/polybar/polybar/wiki/Known-Issues#huge-emojis
  40. font-1 = "NotoColorEmoji:scale=10;1"
  41. modules-left = xworkspaces xwindow
  42. modules-right = pulseaudio xkeyboard memory cpu backlight battery date
  43. cursor-click = pointer
  44. cursor-scroll = ns-resize
  45. enable-ipc = true
  46. tray-position = right
  47. ; wm-restack = generic
  48. wm-restack = bspwm
  49. ; wm-restack = i3
  50. ; override-redirect = true
  51. [module/xworkspaces]
  52. type = internal/xworkspaces
  53. label-active = %name%
  54. label-active-background = ${colors.background-alt}
  55. label-active-underline= ${colors.primary}
  56. label-active-padding = 1
  57. label-occupied = %name%
  58. label-occupied-padding = 1
  59. label-urgent = %name%
  60. label-urgent-background = ${colors.alert}
  61. label-urgent-padding = 1
  62. label-empty = %name%
  63. label-empty-foreground = ${colors.disabled}
  64. label-empty-padding = 1
  65. [module/xwindow]
  66. type = internal/xwindow
  67. label = %title:0:60:...%
  68. [module/pulseaudio]
  69. type = internal/pulseaudio
  70. label-muted = 🔇 muted
  71. label-muted-foreground = #666
  72. ; Only applies if <ramp-volume> is used
  73. ramp-volume-0 = 🔈
  74. ramp-volume-1 = 🔉
  75. ramp-volume-2 = 🔊
  76. ; Right and Middle click
  77. click-right = pavucontrol
  78. format-volume-prefix-foreground = ${colors.primary}
  79. format-volume = <ramp-volume> <label-volume>
  80. label-volume = %percentage%%
  81. [module/xkeyboard]
  82. type = internal/xkeyboard
  83. blacklist-0 = num lock
  84. label-layout = %layout%
  85. label-layout-foreground = ${colors.primary}
  86. label-indicator-padding = 2
  87. label-indicator-margin = 1
  88. label-indicator-foreground = ${colors.background}
  89. label-indicator-background = ${colors.secondary}
  90. [module/memory]
  91. type = internal/memory
  92. interval = 2
  93. format-prefix = "RAM "
  94. format-prefix-foreground = ${colors.primary}
  95. label = %percentage_used:2%%
  96. [module/cpu]
  97. type = internal/cpu
  98. interval = 2
  99. format-prefix = "CPU "
  100. format-prefix-foreground = ${colors.primary}
  101. label = %percentage:2%%
  102. [module/backlight]
  103. type = internal/backlight
  104. ; Use the following command to list available cards:
  105. ; $ ls -1 /sys/class/backlight/
  106. card = nvidia_0
  107. ; Use the `/sys/class/backlight/.../actual-brightness` file
  108. ; rather than the regular `brightness` file.
  109. ; Defaults to true unless the specified card is an amdgpu backlight.
  110. ; New in version 3.6.0
  111. use-actual-brightness = true
  112. ; Available tags:
  113. ; <label> (default)
  114. ; <ramp>
  115. ; <bar>
  116. format = <ramp> <label>
  117. ; Available tokens:
  118. ; %percentage% (default)
  119. label = %percentage%%
  120. ; Only applies if <ramp> is used
  121. ramp-0 = 🌕
  122. ramp-1 = 🌔
  123. ramp-2 = 🌓
  124. ramp-3 = 🌒
  125. ramp-4 = 🌑
  126. ; Only applies if <bar> is used
  127. bar-width = 10
  128. bar-indicator = |
  129. bar-fill = ─
  130. bar-empty = ─
  131. [module/battery]
  132. type = internal/battery
  133. ; format-low once this charge percentage is reached
  134. ; Default: 10
  135. ; New in version 3.6.0
  136. low-at = 20
  137. ; Use the following command to list batteries and adapters:
  138. ; $ ls -1 /sys/class/power_supply/
  139. battery = BAT0
  140. adapter = ADP0
  141. ; If an inotify event haven't been reported in this many
  142. ; seconds, manually poll for new values.
  143. ;
  144. ; Needed as a fallback for systems that don't report events
  145. ; on sysfs/procfs.
  146. ;
  147. ; Disable polling by setting the interval to 0.
  148. ;
  149. ; Default: 5
  150. poll-interval = 20
  151. ; Available tags:
  152. ; <label-charging> (default)
  153. ; <bar-capacity>
  154. ; <ramp-capacity>
  155. ; <animation-charging>
  156. format-charging = <animation-charging> <label-charging>
  157. format-discharging = <ramp-capacity> <label-discharging>
  158. format-full = <ramp-capacity> <label-full>
  159. ; Format used when battery level drops to low-at
  160. ; If not defined, format-discharging is used instead.
  161. ;format-low = <label-low> <animation-low>
  162. ; Available tokens:
  163. ; %percentage% (default) - is set to 100 if full-at is reached
  164. ; %percentage_raw%
  165. ; %time%
  166. ; %consumption% (shows current charge rate in watts)
  167. label-charging = " %percentage%%+"
  168. ; Available tokens:
  169. ; %percentage% (default) - is set to 100 if full-at is reached
  170. ; %percentage_raw%
  171. ; %time%
  172. ; %consumption% (shows current discharge rate in watts)
  173. label-discharging = " %percentage%%-"
  174. ; Available tokens:
  175. ; %percentage% (default) - is set to 100 if full-at is reached
  176. ; %percentage_raw%
  177. label-full = " %percentage%%*"
  178. ; Available tokens:
  179. ; %percentage% (default) - is set to 100 if full-at is reached
  180. ; %percentage_raw%
  181. ; %time%
  182. ; %consumption% (shows current discharge rate in watts)
  183. ; New in version 3.6.0
  184. label-low = " %percentage%%!"
  185. ; Only applies if <ramp-capacity> is used
  186. ramp-capacity-0 = 
  187. ramp-capacity-1 = 
  188. ramp-capacity-2 = 
  189. ramp-capacity-3 = 
  190. ramp-capacity-4 = 
  191. ; Only applies if <bar-capacity> is used
  192. bar-capacity-width = 10
  193. ; Only applies if <animation-charging> is used
  194. animation-charging-0 = 
  195. animation-charging-1 = 
  196. animation-charging-2 = 
  197. animation-charging-3 = 
  198. animation-charging-4 = 
  199. ; Framerate in milliseconds
  200. animation-charging-framerate = 750
  201. ; Only applies if <animation-discharging> is used
  202. animation-discharging-0 = 
  203. animation-discharging-1 = 
  204. animation-discharging-2 = 
  205. animation-discharging-3 = 
  206. animation-discharging-4 = 
  207. ; Framerate in milliseconds
  208. animation-discharging-framerate = 500
  209. ; Only applies if <animation-low> is used
  210. ; New in version 3.6.0
  211. animation-low-0 = !
  212. animation-low-1 =
  213. animation-low-framerate = 200
  214. [module/date]
  215. type = internal/date
  216. interval = 1
  217. date = %r
  218. date-alt = %Y-%m-%d %H:%M:%S
  219. label = %date%
  220. label-foreground = ${colors.primary}
  221. [settings]
  222. screenchange-reload = true
  223. pseudo-transparency = true
  224. ; vim:ft=dosini