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.

617 lines
12 KiB

  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 = #0c1014
  12. background-alt = #195466
  13. ;foreground = ${xrdb:color7:#222}
  14. foreground = #dfdfdf
  15. foreground-alt = #555
  16. primary = #33859e
  17. secondary = #e60053
  18. alert = #bd2c40
  19. [bar/hdmi0]
  20. monitor = ${env:MONITOR:HDMI-0}
  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 =
  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/dvid0]
  52. monitor = ${env:MONITOR:DVI-D-0}
  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. [bar/edp1]
  84. monitor = ${env:MONITOR:eDP-1}
  85. width = 100%
  86. height = 30
  87. ;offset-x = 1%
  88. ;offset-y = 1%
  89. radius = 0
  90. fixed-center = false
  91. background = ${colors.background}
  92. foreground = ${colors.foreground}
  93. line-size = 3
  94. line-color = #f00
  95. border-size = 0
  96. border-color = #000000
  97. padding-left = 0
  98. padding-right = 1
  99. module-margin-left = 1
  100. module-margin-right = 2
  101. font-0 = FiraCode:pixelsize=15;1
  102. font-1 = FontAwesome:pixelsize=15;2
  103. font-2 = "Wuncon Siji:pixelsize=15;1"
  104. modules-left = i3
  105. modules-center = mpd
  106. modules-right = xbacklight wlan cpu memory temperature battery volume date
  107. tray-position = right
  108. tray-padding = 0
  109. cursor-click = pointer
  110. cursor-scroll = ns-resize
  111. [bar/dp2]
  112. monitor = ${env:MONITOR:DP-2}
  113. width = 100%
  114. height = 27
  115. ;offset-x = 1%
  116. ;offset-y = 1%
  117. radius = 0
  118. fixed-center = false
  119. background = ${colors.background}
  120. foreground = ${colors.foreground}
  121. line-size = 3
  122. line-color = #f00
  123. border-size = 0
  124. border-color = #000000
  125. padding-left = 0
  126. padding-right = 1
  127. module-margin-left = 1
  128. module-margin-right = 2
  129. font-0 = FiraCode:pixelsize=10;1
  130. font-1 = FontAwesome:pixelsize=10;2
  131. font-2 = "Wuncon Siji:pixelsize=10;1"
  132. modules-left = i3
  133. modules-center = mpd
  134. ; modules-right = filesystem xbacklight volume memory cpu wlan eth battery temperature date
  135. modules-right = xbacklight wlan cpu memory temperature battery volume date
  136. tray-position = right
  137. tray-padding = 0
  138. ;wm-restack = i3
  139. ;override-redirect = true
  140. ;scroll-up = i3wm-wsnext
  141. ;scroll-down = i3wm-wsprev
  142. cursor-click = pointer
  143. cursor-scroll = ns-resize
  144. [bar/dp1]
  145. monitor = ${env:MONITOR:DP-1}
  146. width = 100%
  147. height = 27
  148. ;offset-x = 1%
  149. ;offset-y = 1%
  150. radius = 0
  151. fixed-center = false
  152. background = ${colors.background}
  153. foreground = ${colors.foreground}
  154. line-size = 3
  155. line-color = #f00
  156. border-size = 0
  157. border-color = #000000
  158. padding-left = 0
  159. padding-right = 1
  160. module-margin-left = 1
  161. module-margin-right = 2
  162. font-0 = FiraCode:pixelsize=10;1
  163. font-1 = FontAwesome:pixelsize=10;2
  164. font-2 = "Wuncon Siji:pixelsize=10;1"
  165. modules-left = i3
  166. modules-center = mpd
  167. ; modules-right = filesystem xbacklight volume memory cpu wlan eth battery temperature date
  168. modules-right = xbacklight wlan cpu memory temperature battery volume date
  169. tray-position = right
  170. tray-padding = 0
  171. ;wm-restack = i3
  172. ;override-redirect = true
  173. ;scroll-up = i3wm-wsnext
  174. ;scroll-down = i3wm-wsprev
  175. cursor-click = pointer
  176. cursor-scroll = ns-resize
  177. ; Ubuntu Configs
  178. ;
  179. ;
  180. ;
  181. [bar/ubuntudp0]
  182. monitor = ${env:MONITOR:DisplayPort-0}
  183. width = 100%
  184. height = 20
  185. radius = 0
  186. fixed-center = false
  187. background = ${colors.background}
  188. foreground = ${colors.foreground}
  189. line-size = 3
  190. line-color = #f00
  191. border-size = 0
  192. border-color = #000000
  193. padding-left = 0
  194. padding-right = 1
  195. module-margin-left = 1
  196. module-margin-right = 2
  197. font-0 = FiraCode:pixelsize=12;1
  198. font-1 = FontAwesome:pixelsize=12;2
  199. font-2 = "Wuncon Siji:pixelsize=12;1"
  200. modules-left = i3
  201. modules-center = mpd
  202. modules-right = xbacklight wlan cpu memory temperature battery volume date
  203. tray-position = right
  204. tray-padding = 0
  205. cursor-click = pointer
  206. cursor-scroll = ns-resize
  207. [bar/ubuntudp1]
  208. monitor = ${env:MONITOR:DisplayPort-1}
  209. width = 100%
  210. height = 20
  211. radius = 0
  212. fixed-center = false
  213. background = ${colors.background}
  214. foreground = ${colors.foreground}
  215. line-size = 3
  216. line-color = #f00
  217. border-size = 0
  218. border-color = #000000
  219. padding-left = 0
  220. padding-right = 1
  221. module-margin-left = 1
  222. module-margin-right = 2
  223. font-0 = FiraCode:pixelsize=12;1
  224. font-1 = FontAwesome:pixelsize=12;2
  225. font-2 = "Wuncon Siji:pixelsize=12;1"
  226. modules-left = i3
  227. modules-center = mpd
  228. modules-right = xbacklight wlan cpu memory temperature battery volume date
  229. tray-position = right
  230. tray-padding = 0
  231. cursor-click = pointer
  232. [bar/ubuntuedpmulti]
  233. monitor = ${env:MONITOR:eDP}
  234. width = 100%
  235. height = 30
  236. radius = 0
  237. fixed-center = false
  238. background = ${colors.background}
  239. foreground = ${colors.foreground}
  240. line-size = 3
  241. line-color = #f00
  242. border-size = 0
  243. border-color = #000000
  244. padding-left = 0
  245. padding-right = 1
  246. module-margin-left = 1
  247. module-margin-right = 2
  248. font-0 = FiraCode:pixelsize=15;1
  249. font-1 = FontAwesome:pixelsize=15;2
  250. font-2 = "Wuncon Siji:pixelsize=15;1"
  251. modules-left = i3
  252. modules-center =
  253. modules-right =
  254. tray-position = right
  255. tray-padding = 0
  256. cursor-click = pointer
  257. cursor-scroll = ns-resize
  258. [bar/ubuntuedpsingle]
  259. monitor = ${env:MONITOR:eDP}
  260. width = 100%
  261. height = 30
  262. radius = 0
  263. fixed-center = false
  264. background = ${colors.background}
  265. foreground = ${colors.foreground}
  266. line-size = 3
  267. line-color = #f00
  268. border-size = 0
  269. border-color = #000000
  270. padding-left = 0
  271. padding-right = 1
  272. module-margin-left = 1
  273. module-margin-right = 2
  274. font-0 = FiraCode:pixelsize=15;1
  275. font-1 = FontAwesome:pixelsize=15;2
  276. font-2 = "Siji:pixelsize=15;1"
  277. modules-left = i3
  278. modules-center = mpd
  279. modules-right = xbacklight wlan cpu memory temperature battery volume date
  280. tray-position = right
  281. tray-padding = 0
  282. cursor-click = pointer
  283. [module/xwindow]
  284. type = internal/xwindow
  285. label = %title:0:30:...%
  286. [module/filesystem]
  287. type = internal/fs
  288. interval = 25
  289. mount-0 = /
  290. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  291. label-unmounted = %mountpoint% not mounted
  292. label-unmounted-foreground = ${colors.foreground-alt}
  293. [module/i3]
  294. type = internal/i3
  295. format = <label-state> <label-mode>
  296. index-sort = true
  297. wrapping-scroll = false
  298. ws-icon-0 = 1;
  299. ws-icon-1 = 2;
  300. ws-icon-2 = 3;
  301. ws-icon-3 = 4;
  302. ws-icon-4 = 5;
  303. ws-icon-5 = 6;
  304. ws-icon-6 = 7;
  305. ws-icon-7 = 8;
  306. ws-icon-default = 
  307. ; Only show workspaces on the same output as the bar
  308. pin-workspaces = true
  309. label-mode-padding = 2
  310. label-mode-foreground = ${colors.background}
  311. label-mode-background = ${colors.primary}
  312. ; focused = Active workspace on focused monitor
  313. label-focused = %index%
  314. label-focused-background = ${colors.background-alt}
  315. label-focused-overline = ${colors.primary}
  316. label-focused-padding = 2
  317. ; unfocused = Inactive workspace on any monitor
  318. label-unfocused = %index%
  319. label-unfocused-padding = ${self.label-focused-padding}
  320. ; visible = Active workspace on unfocused monitor
  321. label-visible = %index%
  322. label-visible-background = ${colors.background}
  323. label-visible-overline = ${self.label-focused-overline}
  324. label-visible-padding = ${self.label-focused-padding}
  325. ; urgent = Workspace with urgency hint set
  326. label-urgent = %icon%
  327. label-urgent-padding = ${self.label-focused-padding}
  328. label-urgent-overline = ${colors.alert}
  329. [module/mpd]
  330. type = internal/mpd
  331. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  332. icon-prev = 
  333. icon-stop = 
  334. icon-play = 
  335. icon-pause = 
  336. icon-next = 
  337. label-song-maxlen = 25
  338. label-song-ellipsis = true
  339. host = 127.0.0.1
  340. port = 6600
  341. [module/xbacklight]
  342. type = internal/xbacklight
  343. format = <label> <bar>
  344. label = BL
  345. bar-width = 10
  346. bar-indicator = |
  347. bar-indicator-foreground = #ff
  348. bar-indicator-font = 2
  349. bar-fill = ─
  350. bar-fill-font = 2
  351. bar-fill-foreground = #9f78e1
  352. bar-empty = ─
  353. bar-empty-font = 2
  354. bar-empty-foreground = ${colors.foreground-alt}
  355. [module/backlight-acpi]
  356. inherit = module/xbacklight
  357. type = internal/backlight
  358. card = intel_backlight
  359. [module/cpu]
  360. type = internal/cpu
  361. interval = 2
  362. format-prefix = " "
  363. format-prefix-foreground = ${colors.foreground-alt}
  364. ; format-underline = #f90000
  365. label = %percentage:2%%
  366. [module/memory]
  367. type = internal/memory
  368. interval = 2
  369. format-prefix = " "
  370. format-prefix-foreground = ${colors.foreground-alt}
  371. ; format-underline = #4bffdc
  372. label = %gb_used%
  373. [module/wlan]
  374. type = internal/network
  375. interface = wlp4s0
  376. interval = 3.0
  377. format-connected = <ramp-signal> <label-connected>
  378. ; format-connected-underline = #9f78e1
  379. label-connected = %essid% - %local_ip%
  380. format-disconnected =
  381. ;format-disconnected = <label-disconnected>
  382. ;format-disconnected-underline = ${self.format-connected-underline}
  383. ;label-disconnected = %ifname% disconnected
  384. ;label-disconnected-foreground = ${colors.foreground-alt}
  385. ramp-signal-0 = 
  386. ramp-signal-1 = 
  387. ramp-signal-2 = 
  388. ramp-signal-3 = 
  389. ramp-signal-4 = 
  390. ramp-signal-foreground = ${colors.foreground-alt}
  391. [module/eth]
  392. type = internal/network
  393. interface = enp0s31f6
  394. interval = 3.0
  395. format-connected-underline = #55aa55
  396. format-connected-prefix = " "
  397. format-connected-prefix-foreground = ${colors.foreground-alt}
  398. label-connected = %local_ip%
  399. format-disconnected =
  400. ;format-disconnected = <label-disconnected>
  401. ;format-disconnected-underline = ${self.format-connected-underline}
  402. ;label-disconnected = %ifname% disconnected
  403. ;label-disconnected-foreground = ${colors.foreground-alt}
  404. [module/date]
  405. type = internal/date
  406. interval = 5
  407. date = " %Y-%m-%d"
  408. date-alt = " %Y-%m-%d"
  409. time = %H:%M
  410. time-alt = %H:%M:%S
  411. format-prefix = 
  412. format-prefix-foreground = ${colors.foreground-alt}
  413. ; format-underline = #0a6cf5
  414. label = %date% %time%
  415. [module/volume]
  416. type = internal/volume
  417. format-volume = <label-volume> <bar-volume>
  418. label-volume = VOL
  419. label-volume-foreground = ${root.foreground}
  420. format-muted-prefix = " "
  421. format-muted-foreground = ${colors.foreground-alt}
  422. label-muted = sound muted
  423. bar-volume-width = 10
  424. bar-volume-foreground-0 = #55aa55
  425. bar-volume-foreground-1 = #55aa55
  426. bar-volume-foreground-2 = #55aa55
  427. bar-volume-foreground-3 = #55aa55
  428. bar-volume-foreground-4 = #55aa55
  429. bar-volume-foreground-5 = #f5a70a
  430. bar-volume-foreground-6 = #ff5555
  431. bar-volume-gradient = false
  432. bar-volume-indicator = |
  433. bar-volume-indicator-font = 2
  434. bar-volume-fill = ─
  435. bar-volume-fill-font = 2
  436. bar-volume-empty = ─
  437. bar-volume-empty-font = 2
  438. bar-volume-empty-foreground = ${colors.foreground-alt}
  439. [module/battery]
  440. type = internal/battery
  441. battery = BAT0
  442. adapter = ADP1
  443. full-at = 98
  444. format-charging = <animation-charging> <label-charging>
  445. format-charging-underline = #ffb52a
  446. format-discharging = <ramp-capacity> <label-discharging>
  447. format-discharging-underline = ${self.format-charging-underline}
  448. format-full-prefix = " "
  449. format-full-prefix-foreground = ${colors.foreground-alt}
  450. format-full-underline = ${self.format-charging-underline}
  451. ramp-capacity-0 = 
  452. ramp-capacity-1 = 
  453. ramp-capacity-2 = 
  454. ramp-capacity-foreground = ${colors.foreground-alt}
  455. animation-charging-0 = 
  456. animation-charging-1 = 
  457. animation-charging-2 = 
  458. animation-charging-foreground = ${colors.foreground-alt}
  459. animation-charging-framerate = 750
  460. [module/temperature]
  461. type = internal/temperature
  462. thermal-zone = 0
  463. warn-temperature = 80
  464. format = <ramp> <label>
  465. ; format-underline = #f50a4d
  466. format-warn = <ramp> <label-warn>
  467. ; format-warn-underline = ${self.format-underline}
  468. label = %temperature%
  469. label-warn = %temperature%
  470. label-warn-foreground = #ffffff
  471. label-warn-background = ${colors.secondary}
  472. ramp-0 = 
  473. ramp-1 = 
  474. ramp-2 = 
  475. ramp-foreground = ${colors.foreground-alt}
  476. [settings]
  477. screenchange-reload = true
  478. ;compositing-background = xor
  479. ;compositing-background = screen
  480. ;compositing-foreground = source
  481. ;compositing-border = over
  482. [global/wm]
  483. margin-top = 5
  484. margin-bottom = 5
  485. ; vim:ft=dosini