Guest User

Untitled

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