Advertisement
reaperhacknslash

polybar config.ini

Jul 11th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  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.  
  19. [colors]
  20. background = #141414
  21. background-alt = #141414
  22. foreground = #FFFFD4
  23. primary = #FFFFD4
  24. secondary = #FFFFD4
  25. alert = #FFFFD4
  26. disabled = C06D44
  27.  
  28. [bar/example]
  29. width = 100%
  30. height = 24pt
  31. radius = 6
  32.  
  33. ; dpi = 96
  34.  
  35. background = ${colors.background}
  36. foreground = ${colors.foreground}
  37.  
  38. line-size = 3pt
  39.  
  40. border-size = 4pt
  41. border-color = #00000000
  42.  
  43. padding-left = 0
  44. padding-right = 1
  45.  
  46. module-margin = 1
  47.  
  48. separator = |
  49. separator-foreground = ${colors.disabled}
  50.  
  51. font-0 = Hack Nerd Font;2
  52. tray-position = right
  53. modules-left = xworkspaces date
  54. modules-center =
  55. modules-right = xkeyboard
  56.  
  57. cursor-click = pointer
  58. cursor-scroll = ns-resize
  59.  
  60. enable-ipc = true
  61.  
  62. ; tray-position = right
  63.  
  64. ; wm-restack = generic
  65. ; wm-restack = bspwm
  66. ; wm-restack = i3
  67.  
  68. ; override-redirect = true
  69.  
  70. [module/networkspeedup]
  71. ;https://github.com/jaagr/polybar/wiki/Module:-network
  72. type = internal/network
  73. ;interface = wlp3s0
  74. ;interface = enp14s0
  75. ;interface = enp0s31f6
  76. interface = enp3s0
  77. label-connected = "歷 %upspeed:7% "
  78. format-connected = <label-connected>
  79. ;format-connected-prefix = "歷  "
  80. /format-connected-prefix-foreground = #FFFFD4
  81. format-connected-foreground = #FFFFD4
  82. format-connected-background = #141414
  83.  
  84. [module/networkspeeddown]
  85. ;https://github.com/jaagr/polybar/wiki/Module:-network
  86. type = internal/network
  87. ;interface = wlp3s0
  88. ;interface = enp14s0
  89. ;interface = enp0s31f6
  90. interface = enp3s0
  91. label-connected = " %downspeed:7%  "
  92. format-connected = <label-connected>
  93. ;format-connected-prefix = " "
  94. ;format-connected-prefix-foreground = #ad94b8
  95. format-connected-foreground = #FFFFD4
  96. format-connected-background = #141414
  97.  
  98. [module/uptime]
  99. type = custom/script
  100. exec = uptime
  101. interval = 1
  102.  
  103. [module/xworkspaces]
  104. type = internal/xworkspaces
  105.  
  106. label-active = %name%
  107. label-active-background = ${colors.background-alt}
  108. label-active-underline= ${colors.primary}
  109. label-active-padding = 1
  110.  
  111. label-occupied = %name%
  112. label-occupied-padding = 1
  113.  
  114. label-urgent = %name%
  115. label-urgent-background = ${colors.alert}
  116. label-urgent-padding = 1
  117.  
  118. label-empty = %name%
  119. label-empty-foreground = ${colors.disabled}
  120. label-empty-padding = 1
  121.  
  122. [module/xwindow]
  123. type = internal/xwindow
  124. label = %title:0:60:...%
  125.  
  126. [module/filesystem]
  127. type = internal/fs
  128. interval = 1
  129.  
  130. mount-0 = /
  131.  
  132. ;label-mounted = %{F#ad94b8}%{F-} %percentage_used%%
  133. label-mounted = %{F#FFFFD4}%{F-} %used%/%total%
  134. label-mounted-foreground = {colors.primary}
  135. label-unmounted = %mountpoint% not mounted
  136. label-unmounted-foreground = ${colors.disabled}
  137.  
  138. [module/pulseaudio]
  139. type = internal/pulseaudio
  140.  
  141. format-volume-prefix = "墳 "
  142. format-volume-prefix-foreground = ${colors.primary}
  143. format-volume = <label-volume>
  144.  
  145. label-volume = %percentage%%
  146.  
  147. label-muted = muted
  148. label-muted-foreground = ${colors.disabled}
  149.  
  150. [module/xkeyboard]
  151. type = internal/xkeyboard
  152. blacklist-0 = num lock
  153.  
  154. label-layout =  %layout%
  155. label-layout-foreground = ${colors.primary}
  156.  
  157. label-indicator-padding = 2
  158. label-indicator-margin = 1
  159. label-indicator-foreground = ${colors.background}
  160. label-indicator-background = ${colors.secondary}
  161.  
  162. [module/memory]
  163. type = internal/memory
  164. interval = 1
  165. format-prefix = " "
  166. format-prefix-foreground = ${colors.primary}
  167. ;label = %percentage_used:2%%
  168. label = %gb_used%/%gb_total%
  169.  
  170. [module/cpu]
  171. type = internal/cpu
  172. interval = 1
  173. format-prefix = "﬙ "
  174. format-prefix-foreground = ${colors.primary}
  175. label = %percentage:2%%
  176.  
  177. [network-base]
  178. type = internal/network
  179. interval = 5
  180. format-connected = <label-connected>
  181. format-disconnected = <label-disconnected>
  182. label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
  183.  
  184. [module/wlan]
  185. inherit = network-base
  186. interface-type = wireless
  187. label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
  188.  
  189. [module/eth]
  190. inherit = network-base
  191. interface-type = wired
  192. label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
  193.  
  194. [module/date]
  195. type = internal/date
  196. interval = 1
  197.  
  198. date = %H:%M
  199. date-alt = %Y-%m-%d %H:%M:%S
  200.  
  201. label = %date%
  202. label-foreground = ${colors.primary}
  203.  
  204. [settings]
  205. screenchange-reload = true
  206. pseudo-transparency = true
  207.  
  208. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement