Advertisement
Guest User

Untitled

a guest
Sep 24th, 2023
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 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 xworkspaces 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/xworkspaces]
  72. type = internal/xworkspaces
  73.  
  74. label-active = %name%
  75. label-active-background = ${colors.background-alt}
  76. label-active-underline = ${colors.primary}
  77. label-active-padding = 1
  78.  
  79. label-occupied = %name%
  80. label-occupied-padding = 1
  81.  
  82. label-urgent = %name%
  83. label-urgent-background = ${colors.alert}
  84. label-urgent-padding = 1
  85.  
  86. label-empty = %name%
  87. label-empty-foreground = ${colors.disabled}
  88. label-empty-padding = 1
  89.  
  90. [module/xwindow]
  91. type = internal/xwindow
  92. label = %title:0:50:%
  93.  
  94. [module/filesystem]
  95. type = internal/fs
  96. interval = 25
  97.  
  98. mount-0 = /
  99.  
  100. label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
  101.  
  102. label-unmounted = %mountpoint% not mounted
  103. label-unmounted-foreground = ${colors.disabled}
  104.  
  105. [module/pulseaudio]
  106. type = internal/pulseaudio
  107.  
  108. format-volume-prefix = "VOL "
  109. format-volume-prefix-foreground = ${colors.primary}
  110. format-volume = <label-volume>
  111.  
  112. label-volume = %percentage%%
  113.  
  114. label-muted = muted
  115. label-muted-foreground = ${colors.disabled}
  116.  
  117. [module/xkeyboard]
  118. type = internal/xkeyboard
  119. blacklist-0 = num lock
  120.  
  121. label-layout = %layout%
  122. label-layout-foreground = ${colors.primary}
  123.  
  124. label-indicator-padding = 2
  125. label-indicator-margin = 1
  126. label-indicator-foreground = ${colors.background}
  127. label-indicator-background = ${colors.secondary}
  128.  
  129. [module/memory]
  130. type = internal/memory
  131. interval = 2
  132. format-prefix = "RAM "
  133. format-prefix-foreground = ${colors.primary}
  134. label = %percentage_used:2%%
  135.  
  136. [module/cpu]
  137. type = internal/cpu
  138. interval = 2
  139. format-prefix = "CPU "
  140. format-prefix-foreground = ${colors.primary}
  141. label = %percentage:2%%
  142.  
  143. [network-base]
  144. type = internal/network
  145. interval = 5
  146. format-connected = <label-connected>
  147. format-disconnected = <label-disconnected>
  148. label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
  149.  
  150. [module/wlan]
  151. inherit = network-base
  152. interface-type = wireless
  153. label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
  154.  
  155. [module/eth]
  156. inherit = network-base
  157. interface-type = wired
  158. label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
  159.  
  160. [module/date]
  161. type = internal/date
  162. interval = 1
  163.  
  164. ;date = %H:%M
  165. date = %y-%m-%d %a %I:%M:%S
  166.  
  167. label = %date%
  168. label-foreground = ${colors.primary}
  169.  
  170. [settings]
  171. screenchange-reload = true
  172. pseudo-transparency = true
  173.  
  174. ; vim:ft=dosini
  175.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement