Advertisement
Guest User

Untitled

a guest
Nov 13th, 2020
1,584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 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.  
  21. background = #333
  22. background-alt = #444
  23. foreground = #efefefef
  24. foreground-alt = #999
  25. primary = #ffb52a
  26. secondary = #CCe60053
  27. alert = #bd2c40
  28.  
  29. [bar/example]
  30. enable-ipc = true
  31. width = 100%
  32. height = 18
  33. radius = 0
  34. fixed-center = true
  35.  
  36. background = ${colors.background}
  37. foreground = ${colors.foreground}
  38.  
  39. line-size = 2
  40. line-color = #f00
  41.  
  42. border-size = 1
  43. border-color = #777
  44.  
  45. padding-left = 2
  46. padding-right = 2
  47.  
  48. module-margin-left = 1
  49. module-margin-right = 1
  50.  
  51. font-0 = Noto Sans:fontformat:mono:pixelsize=10;1
  52. font-1 = Noto Sans:fontformat=truetype:size=8:antialias=false;0
  53. font-2 = Material Design Icons:pixelsize=10;2
  54.  
  55. modules-left = volume-bar alsa xwindow
  56. modules-center = popup-calendar
  57. modules-right = xkeyboard wlan battery memory cpu temperature powermenu
  58.  
  59. tray-position = right
  60. tray-padding = 2
  61. ;tray-background = #0063ff
  62.  
  63. ;wm-restack = bspwm
  64. ;wm-restack = i3
  65.  
  66. ;override-redirect = true
  67.  
  68. cursor-click = pointer
  69. cursor-scroll = ns-resize
  70.  
  71. [module/xwindow]
  72. type = internal/xwindow
  73. label = " | 󰉋 %title:0:50:...%"
  74.  
  75. [module/xkeyboard]
  76. type = internal/xkeyboard
  77. blacklist-0 = num lock
  78.  
  79. format-prefix-foreground = ${colors.foreground-alt}
  80. format-prefix-underline = ${colors.secondary}
  81.  
  82. label-layout = " "
  83.  
  84. label-indicator-padding = 2
  85. label-indicator-margin = 1
  86. label-indicator-background =
  87. label-indicator-underline =
  88.  
  89. [module/cpu]
  90. type = internal/cpu
  91. interval = 2
  92. format-prefix = "󰻠"
  93. format-prefix-foreground = ${colors.foreground-alt}
  94. format-underline = #4169e1
  95. label = %percentage:3%%
  96.  
  97. [module/memory]
  98. type = internal/memory
  99. interval = 2
  100. format-prefix = "󰍛 "
  101. format-prefix-foreground = ${colors.foreground-alt}
  102. format-underline = #4682b4
  103. label = %percentage_used%%
  104.  
  105. [module/wlan]
  106. type = internal/network
  107. interface = wlp2s0
  108. interval = 3.0
  109.  
  110. format-connected = <ramp-signal> <label-connected>
  111. format-connected-underline = #9f78e1
  112. label-connected = %essid%
  113.  
  114. format-disconnected = <label-disconnected>
  115. format-disconnected-underline = ${self.format-connected-underline}
  116. label-disconnected = %ifname% disconnected
  117. label-disconnected-foreground = ${colors.foreground-alt}
  118.  
  119. ramp-signal-0 = 󰤯
  120. ramp-signal-1 = 󰤟
  121. ramp-signal-2 = 󰤢
  122. ramp-signal-3 = 󰤥
  123. ramp-signal-4 = 󰤨
  124. ramp-signal-foreground = ${colors.foreground-alt}
  125.  
  126. [module/eth]
  127. type = internal/network
  128. interface = net0
  129. interval = 3.0
  130.  
  131. format-connected-underline = #55aa55
  132. format-connected-prefix = " "
  133. format-connected-prefix-foreground = ${colors.foreground-alt}
  134. label-connected = %local_ip%
  135.  
  136. format-disconnected =
  137. ;format-disconnected = <label-disconnected>
  138. ;format-disconnected-underline = ${self.format-connected-underline}
  139. ;label-disconnected = %ifname% disconnected
  140. ;label-disconnected-foreground = ${colors.foreground-alt}
  141.  
  142. [module/date]
  143. type = internal/date
  144. ; Seconds to sleep between updates
  145. interval = 1
  146. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  147. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  148. date = " %a %b %d, %Y"
  149. date-alt = " %a %d-%m-%Y"
  150. time = %H:%M
  151. time-alt = %H:%M:%S
  152. format-prefix = " "
  153. format-prefix-foreground = #fefefe
  154. format-foreground = #fefefe
  155. label = "󰸗 %date% %time% "
  156.  
  157.  
  158. [module/popup-calendar]
  159. type = custom/script
  160. exec = ~/.config/polybar/polybar-scripts/popup-calendar.sh
  161. interval = 5
  162. click-left = ~/.config/polybar/polybar-scripts/popup-calendar.sh --popup &
  163.  
  164.  
  165. [module/volume-bar]
  166. type = internal/volume
  167. bar-volume-font = 2
  168. bar-volume-width = 10
  169. format-volume = <label-volume><bar-volume>
  170. label-volume = "󰕾 "
  171. label-muted = "󰖁 "
  172. label-volume-foreground = #B6C2E7
  173. format-muted-foreground = #FF0000
  174. bar-volume-foreground-0 = #92A3F7
  175. bar-volume-foreground-1 = #92A3F7
  176. bar-volume-foreground-2 = #6BB3E7
  177. bar-volume-foreground-3 = #6BB3E7
  178. bar-volume-foreground-4 = #6BB3E7
  179. bar-volume-foreground-5 = #6BE7D8
  180. bar-volume-foreground-6 = #6BE7D8
  181. bar-volume-gradient = true
  182. bar-volume-indicator = II
  183. bar-volume-fill = =
  184. bar-volume-empty = =
  185. bar-volume-empty-foreground = #666666
  186.  
  187. [module/alsa]
  188. type = internal/alsa
  189.  
  190. mapped = false
  191.  
  192. label-volume = " %percentage%%"
  193. label-muted = "muted"
  194.  
  195. interval = 5
  196.  
  197. [module/battery]
  198. type = internal/battery
  199. battery = BAT0
  200. adapter = AC0
  201. full-at = 100
  202.  
  203. format-charging = <animation-charging> <label-charging>
  204. format-charging-underline = #00FF00
  205.  
  206.  
  207. format-discharging = <animation-discharging> <label-discharging>
  208. format-discharging-underline = #008000
  209.  
  210. format-full-prefix = "󰁹 "
  211. format-full-prefix-foreground = ${colors.foreground-alt}
  212. format-full-underline = ${self.format-charging-underline}
  213.  
  214. ramp-capacity-0 = ramp
  215. ramp-capacity-1 = ramp1
  216. ramp-capacity-2 = ramp2
  217. ramp-capacity-foreground = ${colors.foreground-alt}
  218.  
  219. animation-charging-0 = 󰂆
  220. animation-charging-1 = 󰂈
  221. animation-charging-2 = 󰢞
  222. animation-charging-3 = 󰂅
  223. animation-charging-foreground = ${colors.foreground-alt}
  224. animation-charging-framerate = 500
  225.  
  226. animation-discharging-0 = 󰁹
  227. animation-discharging-1 = 󰂂
  228. animation-discharging-2 = 󰂀
  229. animation-discharging-foreground = ${colors.foreground-alt}
  230. animation-discharging-framerate = 1000
  231.  
  232. [module/temperature]
  233. type = internal/temperature
  234. thermal-zone = 0
  235. warn-temperature = 70
  236.  
  237. format = <label>
  238. format-underline = #cc0a4d
  239. format-warn = <label-warn>
  240. format-warn-underline = #ff0000
  241.  
  242. label = "󰏈 %temperature-c%"
  243. label-warn = "󰏈 %temperature-c%"
  244. label-warn-foreground = #ff0000
  245.  
  246. [module/powermenu]
  247. type = custom/menu
  248.  
  249. expand-right = true
  250.  
  251. format-spacing = 1
  252.  
  253. label-open = 󰤆
  254. label-open-foreground = #ff0000
  255. label-close = 󰿅 cancel
  256. label-close-foreground = #ff0000
  257. label-separator = |
  258. label-separator-foreground = ${colors.foreground-alt}
  259.  
  260. menu-0-0 = 󰜉 reboot
  261. menu-0-0-exec = sudo reboot
  262. menu-0-1 = 󰤂 power off
  263. menu-0-1-exec = sudo poweroff
  264.  
  265. [settings]
  266. ;screenchange-reload = true
  267. ;compositing-background = xor
  268. ;compositing-background = screen
  269. ;compositing-foreground = source
  270. ;compositing-border = over
  271. ;pseudo-transparency = false
  272.  
  273. [global/wm]
  274. margin-top = 0
  275. margin-bottom = 0
  276.  
  277. ; vim:ft=dosini
  278.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement