You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

549 lines
11 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. =====================================================
  2. ;
  3. ; To learn more about how to configure Polybar
  4. ; go to https://github.com/jaagr/polybar
  5. ;
  6. ; The README contains alot of information
  7. ;
  8. ;=====================================================
  9. [colors]
  10. ;background = ${xrdb:color0:#222}
  11. background = #1d2021
  12. background-alt = #17917a
  13. ;foreground = ${xrdb:color7:#222}
  14. foreground = #dfdfdf
  15. foreground-alt = #555
  16. primary = #17917a
  17. secondary = #e60053
  18. alert = #bd2c40
  19. [bar/DP-1]
  20. monitor = ${env:MONITOR:DP-1}
  21. width = 100%
  22. height = 27
  23. ;offset-x = 1%
  24. ;offset-y = 1%
  25. radius = 0
  26. fixed-center = false
  27. background = ${colors.background}
  28. foreground = ${colors.foreground}
  29. line-size = 3
  30. line-color = #f00
  31. border-size = 0
  32. border-color = #000000
  33. padding-left = 0
  34. padding-right = 1
  35. module-margin-left = 1
  36. module-margin-right = 2
  37. font-0 = FiraCode:pixelsize=10;1
  38. font-1 = FontAwesome:pixelsize=10;2
  39. font-2 = DejaVue Sans Mono:pixelsize=10;1
  40. modules-left = i3
  41. modules-center =
  42. modules-right = xbacklight wlan cpu memory temperature battery volume date
  43. tray-position = right
  44. tray-padding = 0
  45. ;wm-restack = i3
  46. ;override-redirect = true
  47. ;scroll-up = i3wm-wsnext
  48. ;scroll-down = i3wm-wsprev
  49. cursor-click = pointer
  50. cursor-scroll = ns-resize
  51. [bar/DP-2]
  52. monitor = ${env:MONITOR:DP-2}
  53. width = 100%
  54. height = 27
  55. ;offset-x = 1%
  56. ;offset-y = 1%
  57. radius = 0
  58. fixed-center = false
  59. background = ${colors.background}
  60. foreground = ${colors.foreground}
  61. line-size = 3
  62. line-color = #f00
  63. border-size = 0
  64. border-color = #000000
  65. padding-left = 0
  66. padding-right = 1
  67. module-margin-left = 1
  68. module-margin-right = 2
  69. font-0 = FiraCode:pixelsize=10;1
  70. font-1 = FontAwesome:pixelsize=10;2
  71. font-2 = "Wuncon Siji:pixelsize=10;1"
  72. modules-left = i3
  73. modules-center = mpd
  74. modules-right = xbacklight wlan cpu memory temperature battery volume date
  75. tray-position = right
  76. tray-padding = 0
  77. ;wm-restack = i3
  78. ;override-redirect = true
  79. ;scroll-up = i3wm-wsnext
  80. ;scroll-down = i3wm-wsprev
  81. cursor-click = pointer
  82. cursor-scroll = ns-resize
  83. ; Sway main screen
  84. [bar/swayarchsingle]
  85. monitor = ${env:MONITOR:eDP-1}
  86. width = 100%
  87. height = 30
  88. ;offset-x = 1%
  89. ;offset-y = 1%
  90. radius = 0
  91. fixed-center = false
  92. background = ${colors.background}
  93. foreground = ${colors.foreground}
  94. line-size = 3
  95. line-color = #f00
  96. border-size = 0
  97. border-color = #000000
  98. padding-left = 0
  99. padding-right = 1
  100. module-margin-left = 1
  101. module-margin-right = 2
  102. font-0 = FiraCode:pixelsize=15;1
  103. font-1 = FontAwesome:pixelsize=15;2
  104. font-2 = "Wuncon Siji:pixelsize=15;1"
  105. modules-left = i3
  106. modules-center = mpd
  107. modules-right = xbacklight wlan cpu memory temperature battery volume date
  108. tray-position = right
  109. tray-padding = 0
  110. cursor-click = pointer
  111. cursor-scroll = ns-resize
  112. [bar/edp1]
  113. monitor = ${env:MONITOR:eDP-1}
  114. width = 100%
  115. height = 30
  116. ;offset-x = 1%
  117. ;offset-y = 1%
  118. radius = 0
  119. fixed-center = false
  120. background = ${colors.background}
  121. foreground = ${colors.foreground}
  122. line-size = 3
  123. line-color = #f00
  124. border-size = 0
  125. border-color = #000000
  126. padding-left = 0
  127. padding-right = 1
  128. module-margin-left = 1
  129. module-margin-right = 2
  130. font-0 = FiraCode:pixelsize=15;1
  131. font-1 = FontAwesome:pixelsize=15;2
  132. font-2 = "Wuncon Siji:pixelsize=15;1"
  133. modules-left = i3
  134. modules-center = mpd
  135. modules-right = xbacklight wlan cpu memory temperature battery volume date
  136. tray-position = right
  137. tray-padding = 0
  138. cursor-click = pointer
  139. cursor-scroll = ns-resize
  140. [bar/dp2]
  141. monitor = ${env:MONITOR:DP-2}
  142. width = 100%
  143. height = 27
  144. ;offset-x = 1%
  145. ;offset-y = 1%
  146. radius = 0
  147. fixed-center = false
  148. background = ${colors.background}
  149. foreground = ${colors.foreground}
  150. line-size = 3
  151. line-color = #f00
  152. border-size = 0
  153. border-color = #000000
  154. padding-left = 0
  155. padding-right = 1
  156. module-margin-left = 1
  157. module-margin-right = 2
  158. font-0 = FiraCode:pixelsize=10;1
  159. font-1 = FontAwesome:pixelsize=10;2
  160. font-2 = "Wuncon Siji:pixelsize=10;1"
  161. modules-left = i3
  162. modules-center = mpd
  163. ; modules-right = filesystem xbacklight volume memory cpu wlan eth battery temperature date
  164. modules-right = xbacklight wlan cpu memory temperature battery volume date
  165. tray-position = right
  166. tray-padding = 0
  167. ;wm-restack = i3
  168. ;override-redirect = true
  169. ;scroll-up = i3wm-wsnext
  170. ;scroll-down = i3wm-wsprev
  171. cursor-click = pointer
  172. cursor-scroll = ns-resize
  173. [bar/dp1]
  174. monitor = ${env:MONITOR:DP-1}
  175. width = 100%
  176. height = 27
  177. ;offset-x = 1%
  178. ;offset-y = 1%
  179. radius = 0
  180. fixed-center = false
  181. background = ${colors.background}
  182. foreground = ${colors.foreground}
  183. line-size = 3
  184. line-color = #f00
  185. border-size = 0
  186. border-color = #000000
  187. padding-left = 0
  188. padding-right = 1
  189. module-margin-left = 1
  190. module-margin-right = 2
  191. font-0 = FiraCode:pixelsize=10;1
  192. font-1 = FontAwesome:pixelsize=10;2
  193. font-2 = "Wuncon Siji:pixelsize=10;1"
  194. modules-left = i3
  195. modules-center = mpd
  196. ; modules-right = filesystem xbacklight volume memory cpu wlan eth battery temperature date
  197. modules-right = xbacklight wlan cpu memory temperature battery volume date
  198. tray-position = right
  199. tray-padding = 0
  200. ;wm-restack = i3
  201. ;override-redirect = true
  202. ;scroll-up = i3wm-wsnext
  203. ;scroll-down = i3wm-wsprev
  204. cursor-click = pointer
  205. cursor-scroll = ns-resize
  206. [module/xwindow]
  207. type = internal/xwindow
  208. label = %title:0:30:...%
  209. [module/filesystem]
  210. type = internal/fs
  211. interval = 25
  212. mount-0 = /
  213. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  214. label-unmounted = %mountpoint% not mounted
  215. label-unmounted-foreground = ${colors.foreground-alt}
  216. [module/i3]
  217. type = internal/i3
  218. format = <label-state> <label-mode>
  219. index-sort = true
  220. wrapping-scroll = false
  221. ws-icon-0 = 1;
  222. ws-icon-1 = 2;
  223. ws-icon-2 = 3;
  224. ws-icon-3 = 4;
  225. ws-icon-4 = 5;
  226. ws-icon-5 = 6;
  227. ws-icon-6 = 7;
  228. ws-icon-7 = 8;
  229. ws-icon-default = 
  230. ; Only show workspaces on the same output as the bar
  231. pin-workspaces = true
  232. label-mode-padding = 2
  233. label-mode-foreground = ${colors.background}
  234. label-mode-background = ${colors.primary}
  235. ; focused = Active workspace on focused monitor
  236. label-focused = %index%
  237. label-focused-background = ${colors.background-alt}
  238. label-focused-overline = ${colors.primary}
  239. label-focused-padding = 2
  240. ; unfocused = Inactive workspace on any monitor
  241. label-unfocused = %index%
  242. label-unfocused-padding = ${self.label-focused-padding}
  243. ; visible = Active workspace on unfocused monitor
  244. label-visible = %index%
  245. label-visible-background = ${colors.background}
  246. label-visible-overline = ${self.label-focused-overline}
  247. label-visible-padding = ${self.label-focused-padding}
  248. ; urgent = Workspace with urgency hint set
  249. label-urgent = %icon%
  250. label-urgent-padding = ${self.label-focused-padding}
  251. label-urgent-overline = ${colors.alert}
  252. [module/mpd]
  253. type = internal/mpd
  254. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  255. icon-prev = 
  256. icon-stop = 
  257. icon-play = 
  258. icon-pause = 
  259. icon-next = 
  260. label-song-maxlen = 25
  261. label-song-ellipsis = true
  262. host = 127.0.0.1
  263. port = 6600
  264. [module/xbacklight]
  265. type = internal/xbacklight
  266. format = <label> <bar>
  267. label = BL
  268. bar-width = 10
  269. bar-indicator = |
  270. bar-indicator-foreground = #ff
  271. bar-indicator-font = 2
  272. bar-fill = ─
  273. bar-fill-font = 2
  274. bar-fill-foreground = #9f78e1
  275. bar-empty = ─
  276. bar-empty-font = 2
  277. bar-empty-foreground = ${colors.foreground-alt}
  278. [module/backlight-acpi]
  279. inherit = module/xbacklight
  280. type = internal/backlight
  281. card = intel_backlight
  282. [module/cpu]
  283. type = internal/cpu
  284. interval = 2
  285. format-prefix = " "
  286. format-prefix-foreground = ${colors.foreground-alt}
  287. ; format-underline = #f90000
  288. label = %percentage:2%%
  289. [module/memory]
  290. type = internal/memory
  291. interval = 2
  292. format-prefix = " "
  293. format-prefix-foreground = ${colors.foreground-alt}
  294. ; format-underline = #4bffdc
  295. label = %gb_used%
  296. [module/wlan]
  297. type = internal/network
  298. interface = wlp4s0
  299. interval = 3.0
  300. format-connected = <ramp-signal> <label-connected>
  301. ; format-connected-underline = #9f78e1
  302. label-connected = %essid% - %local_ip%
  303. format-disconnected =
  304. ;format-disconnected = <label-disconnected>
  305. ;format-disconnected-underline = ${self.format-connected-underline}
  306. ;label-disconnected = %ifname% disconnected
  307. ;label-disconnected-foreground = ${colors.foreground-alt}
  308. ramp-signal-0 = 
  309. ramp-signal-1 = 
  310. ramp-signal-2 = 
  311. ramp-signal-3 = 
  312. ramp-signal-4 = 
  313. ramp-signal-foreground = ${colors.foreground-alt}
  314. [module/eth]
  315. type = internal/network
  316. interface = enp0s31f6
  317. interval = 3.0
  318. format-connected-underline = #55aa55
  319. format-connected-prefix = " "
  320. format-connected-prefix-foreground = ${colors.foreground-alt}
  321. label-connected = %local_ip%
  322. format-disconnected =
  323. ;format-disconnected = <label-disconnected>
  324. ;format-disconnected-underline = ${self.format-connected-underline}
  325. ;label-disconnected = %ifname% disconnected
  326. ;label-disconnected-foreground = ${colors.foreground-alt}
  327. [module/date]
  328. type = internal/date
  329. interval = 5
  330. date = " %Y-%m-%d"
  331. date-alt = " %Y-%m-%d"
  332. time = %H:%M
  333. time-alt = %H:%M:%S
  334. format-prefix = 
  335. format-prefix-foreground = ${colors.foreground-alt}
  336. ; format-underline = #0a6cf5
  337. label = %date% %time%
  338. [module/volume]
  339. type = internal/volume
  340. format-volume = <label-volume> <bar-volume>
  341. label-volume = VOL
  342. label-volume-foreground = ${root.foreground}
  343. format-muted-prefix = " "
  344. format-muted-foreground = ${colors.foreground-alt}
  345. label-muted = sound muted
  346. bar-volume-width = 10
  347. bar-volume-foreground-0 = #55aa55
  348. bar-volume-foreground-1 = #55aa55
  349. bar-volume-foreground-2 = #55aa55
  350. bar-volume-foreground-3 = #55aa55
  351. bar-volume-foreground-4 = #55aa55
  352. bar-volume-foreground-5 = #f5a70a
  353. bar-volume-foreground-6 = #ff5555
  354. bar-volume-gradient = false
  355. bar-volume-indicator = |
  356. bar-volume-indicator-font = 2
  357. bar-volume-fill = ─
  358. bar-volume-fill-font = 2
  359. bar-volume-empty = ─
  360. bar-volume-empty-font = 2
  361. bar-volume-empty-foreground = ${colors.foreground-alt}
  362. [module/battery]
  363. type = internal/battery
  364. battery = BAT0
  365. adapter = ADP1
  366. full-at = 98
  367. format-charging = <animation-charging> <label-charging>
  368. format-charging-underline = #ffb52a
  369. format-discharging = <ramp-capacity> <label-discharging>
  370. format-discharging-underline = ${self.format-charging-underline}
  371. format-full-prefix = " "
  372. format-full-prefix-foreground = ${colors.foreground-alt}
  373. format-full-underline = ${self.format-charging-underline}
  374. ramp-capacity-0 = 
  375. ramp-capacity-1 = 
  376. ramp-capacity-2 = 
  377. ramp-capacity-foreground = ${colors.foreground-alt}
  378. animation-charging-0 = 
  379. animation-charging-1 = 
  380. animation-charging-2 = 
  381. animation-charging-foreground = ${colors.foreground-alt}
  382. animation-charging-framerate = 750
  383. [module/temperature]
  384. type = internal/temperature
  385. thermal-zone = 0
  386. warn-temperature = 80
  387. format = <ramp> <label>
  388. ; format-underline = #f50a4d
  389. format-warn = <ramp> <label-warn>
  390. ; format-warn-underline = ${self.format-underline}
  391. label = %temperature%
  392. label-warn = %temperature%
  393. label-warn-foreground = #ffffff
  394. label-warn-background = ${colors.secondary}
  395. ramp-0 = 
  396. ramp-1 = 
  397. ramp-2 = 
  398. ramp-foreground = ${colors.foreground-alt}
  399. [settings]
  400. screenchange-reload = true
  401. ;compositing-background = xor
  402. ;compositing-background = screen
  403. ;compositing-foreground = source
  404. ;compositing-border = over
  405. [global/wm]
  406. margin-top = 5
  407. margin-bottom = 5
  408. ; vim:ft=dosini