poetician

Polybar i3 | Cream Yellow Flower | Systemtray (not yet) on Primary

Oct 28th, 2020 (edited)
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.39 KB | None | 0 0
  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. ; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
  8. ; https://github.com/jaagr/polybar/wiki/
  9. ; https://github.com/jaagr/polybar/wiki/Configuration
  10. ; https://github.com/jaagr/polybar/wiki/Formatting
  11. ;
  12. ;=====================================================
  13.  
  14. [global/wm]
  15. ;https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings
  16. margin-top = 0
  17. margin-bottom = 0
  18.  
  19. [settings]
  20. ;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
  21. throttle-output = 5
  22. throttle-output-for = 10
  23. throttle-input-for = 30
  24. screenchange-reload = true
  25. compositing-background = over
  26. compositing-foreground = over
  27. compositing-overline = over
  28. compositing-underline = over
  29. compositing-border = over
  30.  
  31. ; Define fallback values used by all module formats
  32. ;format-foreground =
  33. ;format-background =
  34. format-underline =
  35. format-overline =
  36. format-spacing =
  37. format-padding =
  38. format-margin =
  39. format-offset =
  40.  
  41. [colors]
  42. ; Poetician theme ============
  43. background = #99c2aa2e
  44. foreground = #f1f3e2
  45. alert = #ffa500
  46. primary = #66fdb739
  47. secondary =#4dfdb7
  48. volume-min = #a3be8c
  49. volume-med = #ebcb8b
  50. volume-max = #bf616a
  51. ; =======================
  52.  
  53. #########################################################################
  54. ############ MAINBAR-I3 Cream Yellow Flower ############
  55. ####################################################@@###################
  56.  
  57. [bar/mainbar-i3]
  58. ;https://github.com/jaagr/polybar/wiki/Configuration
  59.  
  60. monitor = ${env:MONITOR}
  61. ;monitor-fallback = HDMI1
  62. monitor-strict = true
  63. override-redirect = false
  64. bottom = false
  65. fixed-center = true
  66. width = 1720
  67. height = 28
  68. ;offset-x = 1%
  69. ;offset-y = 1%
  70.  
  71. background = #99c2aa2e
  72. foreground = ${colors.foreground}
  73.  
  74. radius = 16
  75. line-size = 2
  76. line-color = #00000000
  77.  
  78. border-size = 0
  79. border-left-size = 200
  80. ;border-right-size = 25
  81. border-top-size = 4
  82. border-bottom-size = 2
  83. border-color = #00000000
  84.  
  85. padding-left = 2
  86. padding-right = 3
  87.  
  88. module-margin-left = 1
  89. module-margin-right = 1
  90.  
  91. ;https://github.com/jaagr/polybar/wiki/Fonts
  92. font-0 = "Bauhaus:size=12;0"
  93. font-1 = "FontAwesome:size=10;0"
  94. font-2 = "Bauhaus:size=13;0"
  95. font-3 = "Noto Sans Mono:size=13;0"
  96.  
  97. modules-left = i3 volume memory1
  98. modules-center =
  99. modules-right = cpu1 uptime date
  100.  
  101. ;separator = |
  102.  
  103. dim-value = 0.7
  104.  
  105. tray-detached = false
  106. tray-offset-x = -30
  107. tray-offset-y = 0
  108. tray-padding = 2
  109. tray-maxsize = 15
  110. tray-scale = 1.0
  111. tray-position = center
  112. tray-background = ${colors.background}
  113.  
  114. dosini tray-position = ${env:TRAY_POS:none}
  115. TRAY_POS = center
  116.  
  117. #i3: Make the bar appear below windows
  118. ;wm-restack = i3
  119. ;override-redirect = true
  120.  
  121. ; Enable support for inter-process messaging
  122. ; See the Messaging wiki page for more details.
  123. enable-ipc = true
  124.  
  125. ; Fallback click handlers that will be called if
  126. ; there's no matching module handler found.
  127. click-left =
  128. click-middle =
  129. click-right =
  130. scroll-up = i3wm-wsnext
  131. scroll-down = i3wm-wsprev
  132. double-click-left =
  133. double-click-middle =
  134. double-click-right =
  135.  
  136. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  137. ; Possible values are:
  138. ; - default : The default pointer as before, can also be an empty string (default)
  139. ; - pointer : Typically in the form of a hand
  140. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  141. cursor-click =
  142. cursor-scroll =
  143.  
  144. ################################################################################
  145. ############ MAINBAR-I3-EXTRA ############
  146. ################################################################################
  147.  
  148. [bar/mainbar-i3-extra]
  149. ;https://github.com/jaagr/polybar/wiki/Configuration
  150.  
  151. monitor = ${env:MONITOR}
  152. ;monitor-fallback = HDMI1
  153. monitor-strict = false
  154. override-redirect = false
  155. bottom = true
  156. fixed-center = true
  157. width = 1600
  158. height = 28
  159. ;offset-x = 1%
  160. ;offset-y = 1%
  161.  
  162. background = #99c2aa2e
  163. foreground = ${colors.foreground}
  164.  
  165. radius = 16
  166. line-size = 2
  167. line-color = #000000
  168.  
  169. border-size = 0
  170. border-left-size = 400
  171. ;border-right-si
  172. ze = 25
  173. border-top-size = 2
  174. border-bottom-size = 4
  175. border-color = #00000000
  176.  
  177. padding-left = 3
  178. padding-right = 3
  179.  
  180. module-margin-left = 1
  181. module-margin-right = 2
  182.  
  183. ;https://github.com/jaagr/polybar/wiki/Fonts
  184. font-0 = "Bauhaus:size=12;0"
  185. font-1 = "FontAwesome:size=10;0"
  186. font-2 = "Bauhaus:size=12;0"
  187. font-3 = "Noto Sans Mono:size=10;0"
  188.  
  189. modules-left = jgmenu variety weather load-average pamac-manager arch-aur-updates
  190. modules-center =
  191. modules-right = networkspeeddown networkspeedup filesystem kernel
  192.  
  193. ;separator = |
  194.  
  195. dim-value = 0.1
  196.  
  197. ;tray-detached = false
  198. ;tray-offset-x = 0
  199. ;tray-offset-y = 0
  200. ;tray-padding = 2
  201. ;tray-maxsize = 20
  202. ;tray-scale = 1.0
  203. ;tray-position = right
  204. ;tray-background = ${colors.background}
  205.  
  206. #i3: Make the bar appear below windows
  207. ;wm-restack = i3
  208. ;override-redirect = true
  209.  
  210. ; Enable support for inter-process messaging
  211. ; See the Messaging wiki page for more details.
  212. enable-ipc = true
  213.  
  214. ; Fallback click handlers that will be called if
  215. ; there's no matching module handler found.
  216. click-left =
  217. click-middle =
  218. click-right =
  219. scroll-up = i3wm-wsnext
  220. scroll-down = i3wm-wsprev
  221. double-click-left =
  222. double-click-middle =
  223. double-click-right =
  224.  
  225. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  226. ; Possible values are:
  227. ; - default : The default pointer as before, can also be an empty string (default)
  228. ; - pointer : Typically in the form of a hand
  229. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  230. cursor-click =
  231. cursor-scroll =
  232.  
  233. ################################################################################
  234. ################################################################################
  235. ############ MAINBAR-OPENBOX ############
  236. ################################################################################
  237. ################################################################################
  238.  
  239. [bar/mainbar-openbox]
  240. monitor = ${env:MONITOR}
  241. ;monitor-fallback = HDMI1
  242. width = 100%
  243. height = 30
  244. ;offset-x = 1%
  245. ;offset-y = 1%
  246. radius = 0.0
  247. fixed-center = true
  248. bottom = false
  249. separator = |
  250.  
  251. background = ${colors.background}
  252. foreground = ${colors.foreground}
  253.  
  254. line-size = 2
  255. line-color = #f00
  256.  
  257. ;border-size = 2
  258. ;border-left-size = 25
  259. ;border-right-size = 25
  260. ;border-top-size = 0
  261. ;border-bottom-size = 25
  262. ;border-color = #00000000
  263.  
  264. padding-left = 1
  265. padding-right = 1
  266.  
  267. module-margin-left = 3
  268. module-margin-right = 3
  269.  
  270. ; Enable support for inter-process messaging
  271. ; See the Messaging wiki page for more details.
  272. enable-ipc = true
  273.  
  274. ;https://github.com/jaagr/polybar/wiki/Fonts
  275. font-0 = "Noto Sans:size=10;0"
  276. font-1 = "FontAwesome:size=10;0"
  277. font-2 = "Noto Sans:size=10;0"
  278. font-3 = "Noto Sans Mono:size=10;0"
  279.  
  280. modules-left = ewmh xwindow
  281. modules-center = kernel
  282. modules-right = memory2 cpu2 date
  283.  
  284. tray-detached = false
  285. tray-offset-x = 0
  286. tray-offset-y = 0
  287. tray-padding = 2
  288. tray-maxsize = 20
  289. tray-scale = 1.0
  290. tray-position = right
  291. tray-background = ${colors.background}
  292.  
  293.  
  294.  
  295. ################################################################################
  296. ################################################################################
  297. ############ MAINBAR-OPENBOX-EXTRA ############
  298. ################################################################################
  299. ################################################################################
  300.  
  301. [bar/mainbar-openbox-extra]
  302. monitor = ${env:MONITOR}
  303. ;monitor-fallback = HDMI1
  304. width = 100%
  305. height = 30
  306. ;offset-x = 1%
  307. ;offset-y = 1%
  308. radius = 0.0
  309. fixed-center = true
  310. bottom = true
  311. separator = |
  312.  
  313. background = ${colors.background}
  314. foreground = ${colors.foreground}
  315.  
  316. line-size = 2
  317. line-color = #f00
  318.  
  319. ;border-size = 2
  320. ;border-left-size = 25
  321. ;border-right-size = 25
  322. ;border-top-size = 0
  323. ;border-bottom-size = 25
  324. ;border-color = #00000000
  325.  
  326. padding-left = 1
  327. padding-right = 1
  328.  
  329. module-margin-left = 3
  330. module-margin-right = 3
  331.  
  332. ; Enable support for inter-process messaging
  333. ; See the Messaging wiki page for more details.
  334. enable-ipc = true
  335.  
  336. ;https://github.com/jaagr/polybar/wiki/Fonts
  337. font-0 = "Noto Sans:size=10;0"
  338. font-1 = "FontAwesome:size=10;0"
  339. font-2 = "Noto Sans:size=10;0"
  340. font-3 = "Noto Sans Mono:size=10;0"
  341.  
  342. modules-left = load-average
  343. modules-center = networkspeeddown networkspeedup
  344. modules-right = filesystem
  345.  
  346. ;tray-detached = false
  347. ;tray-offset-x = 0
  348. ;tray-offset-y = 0
  349. ;tray-padding = 2
  350. ;tray-maxsize = 20
  351. ;tray-scale = 1.0
  352. ;tray-position = right
  353. ;tray-background = ${colors.background}
  354.  
  355.  
  356. ################################################################################
  357. ################################################################################
  358. ############ MAINBAR-BSPWM ############
  359. ################################################################################
  360. ################################################################################
  361.  
  362. [bar/mainbar-bspwm]
  363. monitor = ${env:MONITOR}
  364. ;monitor-fallback = HDMI1
  365. width = 100%
  366. height = 30
  367. ;offset-x = 1%
  368. ;offset-y = 1%
  369. radius = 0.0
  370. fixed-center = true
  371. bottom = false
  372. separator = |
  373.  
  374. background = ${colors.background}
  375. foreground = ${colors.foreground}
  376.  
  377. line-size = 2
  378. line-color = #f00
  379.  
  380. wm-restack = bspwm
  381. override-redirect = true
  382.  
  383. ; Enable support for inter-process messaging
  384. ; See the Messaging wiki page for more details.
  385. enable-ipc = true
  386.  
  387. border-size = 0
  388. ;border-left-size = 0
  389. ;border-right-size = 25
  390. ;border-top-size = 0
  391. ;border-bottom-size = 25
  392. border-color = #00000000
  393.  
  394. padding-left = 0
  395. padding-right = 1
  396.  
  397. module-margin-left = 3
  398. module-margin-right = 3
  399.  
  400. ;https://github.com/jaagr/polybar/wiki/Fonts
  401. font-0 = "Noto Sans:size=10;0"
  402. font-1 = "FontAwesome:size=13;0"
  403. font-2 = "Noto Sans:size=10;0"
  404. font-3 = "Noto Sans Mono:size=10;0"
  405.  
  406. modules-left = bspwm volume memory1
  407. modules-center =
  408. modules-right = cpu1 uptime datee
  409.  
  410. tray-detached = false
  411. tray-offset-x = 0
  412. tray-offset-y = 0
  413. tray-padding = 2
  414. tray-maxsize = 20
  415. tray-scale = 1.0
  416. tray-position = right
  417. tray-background = ${colors.background}
  418.  
  419. scroll-up = bspwm-desknext
  420. scroll-down = bspwm-deskprev
  421.  
  422.  
  423. ################################################################################
  424. ################################################################################
  425. ############ MAINBAR-BSPWM-EXTRA ############
  426. ################################################################################
  427. ################################################################################
  428.  
  429. [bar/mainbar-bspwm-extra]
  430. monitor = ${env:MONITOR}
  431. ;monitor-fallback = HDMI1
  432. width = 100%
  433. height = 30
  434. ;offset-x = 1%
  435. ;offset-y = 1%
  436. radius = 0.0
  437. fixed-center = true
  438. bottom = true
  439. separator = |
  440.  
  441. background = ${colors.background}
  442. foreground = ${colors.foreground}
  443.  
  444. line-size = 2
  445. line-color = #f00
  446.  
  447. wm-restack = bspwm
  448. ;override-redirect = true
  449.  
  450. ; Enable support for inter-process messaging
  451. ; See the Messaging wiki page for more details.
  452. enable-ipc = true
  453.  
  454. border-size = 0
  455. ;border-left-size = 0
  456. ;border-right-size = 25
  457. ;border-top-size = 0
  458. ;border-bottom-size = 25
  459. border-color = #00000000
  460.  
  461. padding-left = 0
  462. padding-right = 1
  463.  
  464. module-margin-left = 3
  465. module-margin-right = 3
  466.  
  467. ;https://github.com/jaagr/polybar/wiki/Fonts
  468. font-0 = "Noto Sans:size=10;0"
  469. font-1 = "FontAwesome:size=13;0"
  470. font-2 = "Noto Sans:size=10;0"
  471. font-3 = "Noto Sans Mono:size=10;0"
  472.  
  473. modules-left = jgmenu variety weather load-average pamac-manager arch-aur-updates
  474. modules-center = rofi
  475. modules-right = networkspeeddown networkspeedup filesystem kernel release
  476.  
  477. ;tray-detached = false
  478. ;tray-offset-x = 0
  479. ;tray-offset-y = 0
  480. ;tray-padding = 2
  481. ;tray-maxsize = 20
  482. ;tray-scale = 1.0
  483. ;tray-position = right
  484. ;tray-background = ${colors.background}
  485.  
  486. scroll-up = bspwm-desknext
  487. scroll-down = bspwm-deskprev
  488.  
  489.  
  490. ################################################################################
  491. ################################################################################
  492. ############ MAINBAR-HERBSTLUFTWM ############
  493. ################################################################################
  494. ################################################################################
  495.  
  496. [bar/mainbar-herbstluftwm]
  497. monitor = ${env:MONITOR}
  498. ;monitor-fallback = HDMI1
  499. width = 100%
  500. height = 30
  501. ;offset-x = 1%
  502. ;offset-y = 1%
  503. radius = 0.0
  504. fixed-center = true
  505. bottom = false
  506. separator = |
  507.  
  508. background = ${colors.background}
  509. foreground = ${colors.foreground}
  510.  
  511. line-size = 2
  512. line-color = #f00
  513.  
  514. wm-restack = bspwm
  515. override-redirect = true
  516.  
  517. ; Enable support for inter-process messaging
  518. ; See the Messaging wiki page for more details.
  519. enable-ipc = true
  520.  
  521. border-size = 0
  522. ;border-left-size = 0
  523. ;border-right-size = 25
  524. ;border-top-size = 0
  525. ;border-bottom-size = 25
  526. border-color = #00000000
  527.  
  528. padding-left = 0
  529. padding-right = 1
  530.  
  531. module-margin-left = 3
  532. module-margin-right = 3
  533.  
  534. ;https://github.com/jaagr/polybar/wiki/Fonts
  535. font-0 = "Noto Sans:size=10;0"
  536. font-1 = "FontAwesome:size=13;0"
  537. font-2 = "Noto Sans:size=10;0"
  538. font-3 = "Noto Sans Mono:size=10;0"
  539.  
  540. modules-left = ewmh xwindow
  541. modules-center = kernel
  542. modules-right = pavolume memory2 cpu2 date
  543.  
  544. tray-detached = false
  545. tray-offset-x = 0
  546. tray-offset-y = 0
  547. tray-padding = 2
  548. tray-maxsize = 20
  549. tray-scale = 1.0
  550. tray-position = right
  551. tray-background = ${colors.background}
  552.  
  553. scroll-up = herbstclient use_index -1
  554. scroll-down = herbstclient use_index +1
  555.  
  556.  
  557. ################################################################################
  558. ################################################################################
  559. ############ MAINBAR-HERBSTLUFTWM-EXTRA ############
  560. ################################################################################
  561. ################################################################################
  562.  
  563. [bar/mainbar-herbstluftwm-extra]
  564. monitor = ${env:MONITOR}
  565. ;monitor-fallback = HDMI1
  566. width = 100%
  567. height = 30
  568. ;offset-x = 1%
  569. ;offset-y = 1%
  570. radius = 0.0
  571. fixed-center = true
  572. bottom = true
  573. separator = |
  574.  
  575. background = ${colors.background}
  576. foreground = ${colors.foreground}
  577.  
  578. line-size = 2
  579. line-color = #f00
  580.  
  581. wm-restack = bspwm
  582. override-redirect = true
  583.  
  584. ; Enable support for inter-process messaging
  585. ; See the Messaging wiki page for more details.
  586. enable-ipc = true
  587.  
  588. border-size = 0
  589. ;border-left-size = 0
  590. ;border-right-size = 25
  591. ;border-top-size = 0
  592. ;border-bottom-size = 25
  593. border-color = #00000000
  594.  
  595. padding-left = 0
  596. padding-right = 1
  597.  
  598. module-margin-left = 3
  599. module-margin-right = 3
  600.  
  601. ;https://github.com/jaagr/polybar/wiki/Fonts
  602. font-0 = "Noto Sans:size=10;0"
  603. font-1 = "FontAwesome:size=13;0"
  604. font-2 = "Noto Sans:size=10;0"
  605. font-3 = "Noto Sans Mono:size=10;0"
  606.  
  607. modules-left = load-average
  608. modules-center = networkspeeddown networkspeedup
  609. modules-right = filesystem
  610.  
  611. ;tray-detached = false
  612. ;tray-offset-x = 0
  613. ;tray-offset-y = 0
  614. ;tray-padding = 2
  615. ;tray-maxsize = 20
  616. ;tray-scale = 1.0
  617. ;tray-position = right
  618. ;tray-background = ${colors.background}
  619.  
  620. scroll-up = herbstclient use_index -1
  621. scroll-down = herbstclient use_index +1
  622.  
  623. ################################################################################
  624. ################################################################################
  625. ############ MAINBAR-XMONAD ############
  626. ################################################################################
  627. ################################################################################
  628.  
  629. [bar/mainbar-xmonad]
  630. monitor = ${env:MONITOR}
  631. ;monitor-fallback = HDMI1
  632. monitor-strict = false
  633. override-redirect = false
  634. width = 100%
  635. height = 30
  636. ;offset-x = 1%
  637. ;offset-y = 1%
  638. radius = 0.0
  639. fixed-center = true
  640. bottom = false
  641. separator = |
  642.  
  643. background = ${colors.background}
  644. foreground = ${colors.foreground}
  645.  
  646. line-size = 2
  647. line-color = #f00
  648.  
  649. ;border-size = 2
  650. ;border-left-size = 25
  651. ;border-right-size = 25
  652. ;border-top-size = 0
  653. ;border-bottom-size = 25
  654. border-color = #00000000
  655.  
  656. padding-left = 0
  657. padding-right = 1
  658.  
  659. module-margin-left = 3
  660. module-margin-right = 3
  661.  
  662. ; Enable support for inter-process messaging
  663. ; See the Messaging wiki page for more details.
  664. enable-ipc = true
  665.  
  666. ;https://github.com/jaagr/polybar/wiki/Fonts
  667. font-0 = "Noto Sans:size=10;0"
  668. font-1 = "FontAwesome:size=13;0"
  669. font-2 = "Noto Sans:size=10;0"
  670. font-3 = "Noto Sans Mono:size=10;0"
  671. font-4 = "FontAwesome5Brands:size=13;0"
  672.  
  673. modules-left = ewmh volume memory1
  674. modules-center =
  675. modules-right = cpu1 uptime date
  676.  
  677. tray-detached = false
  678. tray-offset-x = 0
  679. tray-offset-y = 0
  680. tray-padding = 2
  681. tray-maxsize = 20
  682. tray-scale = 1.0
  683. tray-position = center
  684. tray-background = ${colors.background}
  685.  
  686.  
  687. ################################################################################
  688. ################################################################################
  689. ############ MAINBAR-XMONAD-EXTRA ############
  690. ################################################################################
  691. ################################################################################
  692.  
  693. [bar/mainbar-xmonad-extra]
  694. monitor = ${env:MONITOR}
  695. ;monitor-fallback = HDMI1
  696. monitor-strict = false
  697. override-redirect = false
  698. width = 100%
  699. height = 30
  700. ;offset-x = 1%
  701. ;offset-y = 1%
  702. radius = 0.0
  703. fixed-center = true
  704. bottom = true
  705. separator = |
  706.  
  707. background = ${colors.background}
  708. foreground = ${colors.foreground}
  709.  
  710. line-size = 2
  711. line-color = #f00
  712.  
  713. ;border-size = 2
  714. ;border-left-size = 25
  715. ;border-right-size = 25
  716. border-top-size = 10
  717. ;border-bottom-size = 25
  718. border-color = #00000000
  719.  
  720. padding-left = 0
  721. padding-right = 1
  722.  
  723. module-margin-left = 3
  724. module-margin-right = 3
  725.  
  726. ; Enable support for inter-process messaging
  727. ; See the Messaging wiki page for more details.
  728. enable-ipc = true
  729.  
  730. ;https://github.com/jaagr/polybar/wiki/Fonts
  731. font-0 = "Noto Sans:size=10;0"
  732. font-1 = "FontAwesome:size=13;0"
  733. font-2 = "Noto Sans:size=10;0"
  734. font-3 = "Noto Sans Mono:size=10;0"
  735. font-4 = "FontAwesome5Brands:size=13;0"
  736.  
  737. modules-left = jgmenu variety weather load-average pamac-manager arch-aur-updates
  738. modules-center = rofi
  739. modules-right = networkspeeddown networkspeedup filesystem kernel release
  740.  
  741. ;tray-detached = false
  742. ;tray-offset-x = 0
  743. ;tray-offset-y = 0
  744. ;tray-padding = 2
  745. ;tray-maxsize = 20
  746. ;tray-scale = 1.0
  747. ;tray-position = right
  748. ;tray-background = ${colors.background}
  749.  
  750.  
  751. ################################################################################
  752. ################################################################################
  753. ############ MAINBAR-SPECTRWM ############
  754. ################################################################################
  755. ################################################################################
  756.  
  757. [bar/mainbar-spectrwm]
  758. monitor = ${env:MONITOR}
  759. ;monitor-fallback = HDMI1
  760. width = 100%
  761. height = 30
  762. ;offset-x = 1%
  763. ;offset-y = 1%
  764. radius = 0.0
  765. fixed-center = true
  766. bottom = false
  767. separator = |
  768.  
  769. background = ${colors.background}
  770. foreground = ${colors.foreground}
  771.  
  772. line-size = 2
  773. line-color = #f00
  774.  
  775. wm-restack = bspwm
  776. override-redirect = true
  777.  
  778. ; Enable support for inter-process messaging
  779. ; See the Messaging wiki page for more details.
  780. enable-ipc = true
  781.  
  782. border-size = 0
  783. ;border-left-size = 0
  784. ;border-right-size = 25
  785. ;border-top-size = 0
  786. ;border-bottom-size = 25
  787. border-color = #00000000
  788.  
  789. padding-left = 0
  790. padding-right = 1
  791.  
  792. module-margin-left = 3
  793. module-margin-right = 3
  794.  
  795. ;https://github.com/jaagr/polybar/wiki/Fonts
  796. font-0 = "Noto Sans:size=10;0"
  797. font-1 = "FontAwesome:size=10;0"
  798. font-2 = "Noto Sans:size=10;0"
  799. font-3 = "Noto Sans Mono:size=10;0"
  800.  
  801. modules-left = ewmh xwindow
  802. modules-center = kernel
  803. modules-right = pavolume memory2 cpu2 date
  804.  
  805. tray-detached = false
  806. tray-offset-x = 0
  807. tray-offset-y = 0
  808. tray-padding = 2
  809. tray-maxsize = 20
  810. tray-scale = 1.0
  811. tray-position = right
  812. tray-background = ${colors.background}
  813.  
  814. scroll-up = spectrwm-desknext
  815. scroll-down = spectrwm-deskprev
  816.  
  817.  
  818. ################################################################################
  819. ################################################################################
  820. ############ MAINBAR-SPECTRWM-EXTRA ############
  821. ################################################################################
  822. ################################################################################
  823.  
  824. [bar/mainbar-spectrwm-extra]
  825. monitor = ${env:MONITOR}
  826. ;monitor-fallback = HDMI1
  827. width = 100%
  828. height = 30
  829. ;offset-x = 1%
  830. ;offset-y = 1%
  831. radius = 0.0
  832. fixed-center = true
  833. bottom = true
  834. separator = |
  835.  
  836. background = ${colors.background}
  837. foreground = ${colors.foreground}
  838.  
  839. line-size = 2
  840. line-color = #f00
  841.  
  842. wm-restack = bspwm
  843. override-redirect = true
  844.  
  845. ; Enable support for inter-process messaging
  846. ; See the Messaging wiki page for more details.
  847. enable-ipc = true
  848.  
  849. border-size = 0
  850. ;border-left-size = 0
  851. ;border-right-size = 25
  852. ;border-top-size = 0
  853. ;border-bottom-size = 25
  854. border-color = #00000000
  855.  
  856. padding-left = 0
  857. padding-right = 1
  858.  
  859. module-margin-left = 3
  860. module-margin-right = 3
  861.  
  862. ;https://github.com/jaagr/polybar/wiki/Fonts
  863. font-0 = "Noto Sans:size=10;0"
  864. font-1 = "FontAwesome:size=13;0"
  865. font-2 = "Noto Sans:size=10;0"
  866. font-3 = "Noto Sans Mono:size=10;0"
  867.  
  868. modules-left = xwindow
  869. modules-center = filesystem
  870. modules-right =
  871.  
  872. ;tray-detached = false
  873. ;tray-offset-x = 0
  874. ;tray-offset-y = 0
  875. ;tray-padding = 2
  876. ;tray-maxsize = 20
  877. ;tray-scale = 1.0
  878. ;tray-position = right
  879. ;tray-background = ${colors.background}
  880.  
  881. scroll-up = spectrwm-desknext
  882. scroll-down = spectrwm-deskprev
  883.  
  884.  
  885.  
  886. ################################################################################
  887. ################################################################################
  888. ############ MODULE I3 ############
  889. ################################################################################
  890. ################################################################################
  891.  
  892. [module/i3]
  893. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  894. type = internal/i3
  895.  
  896. ; Only show workspaces defined on the same output as the bar
  897. ;
  898. ; Useful if you want to show monitor specific workspaces
  899. ; on different bars
  900. ;
  901. ; Default: false
  902. pin-workspaces = true
  903.  
  904. ; This will split the workspace name on ':'
  905. ; Default: false
  906. strip-wsnumbers = false
  907.  
  908. ; Sort the workspaces by index instead of the default
  909. ; sorting that groups the workspaces by output
  910. ; Default: false
  911. index-sort = false
  912.  
  913. ; Create click handler used to focus workspace
  914. ; Default: true
  915. enable-click = true
  916.  
  917. ; Create scroll handlers used to cycle workspaces
  918. ; Default: true
  919. enable-scroll = true
  920.  
  921. ; Wrap around when reaching the first/last workspace
  922. ; Default: true
  923. wrapping-scroll = false
  924.  
  925. ; Set the scroll cycle direction
  926. ; Default: true
  927. reverse-scroll = false
  928.  
  929. ; Use fuzzy (partial) matching on labels when assigning
  930. ; icons to workspaces
  931. ; Example: code;♚ will apply the icon to all workspaces
  932. ; containing 'code' in the label
  933. ; Default: false
  934. fuzzy-match = false
  935.  
  936. ;extra icons to choose from
  937. ;http://fontawesome.io/cheatsheet/
  938. ;            
  939.  
  940. ws-icon-0 = 1;
  941. ws-icon-1 = 2;
  942. ws-icon-2 = 3;
  943. ws-icon-3 = 4;
  944. ws-icon-4 = 5;
  945. ws-icon-5 = 6;
  946. ws-icon-6 = 7;
  947. ws-icon-7 = 8;
  948. ws-icon-8 = 9;
  949. ws-icon-9 = 10;
  950. ws-icon-10 = 11;
  951. ws-icon-11 = 12;
  952. ws-icon-12 = 13;
  953. ws-icon-default = " "
  954.  
  955. ; Available tags:
  956. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  957. ; <label-mode> (default)
  958. format = <label-state> <label-mode>
  959.  
  960. label-mode = %mode%
  961. label-mode-padding = 2
  962. label-mode-foreground = #000000
  963. label-mode-background = #FFBB00
  964.  
  965. ; Available tokens:
  966. ; %name%
  967. ; %icon%
  968. ; %index%
  969. ; %output%
  970. ; Default: %icon% %name%
  971. ; focused = Active workspace on focused monitor
  972. label-focused = %icon% %name%
  973. label-focused-background = #40b589af
  974. label-focused-foreground = ${colors.foreground}
  975. label-focused-underline = #40b589af
  976. label-focused-padding = 2
  977.  
  978. ; Available tokens:
  979. ; %name%
  980. ; %icon%
  981. ; %index%
  982. ; Default: %icon% %name%
  983. ; unfocused = Inactive workspace on any monitor
  984. label-unfocused = %icon% %name%
  985. label-unfocused-padding = 2
  986. label-unfocused-background = ${colors.background}
  987. label-unfocused-foreground = ${colors.foreground}
  988. label-unfocused-underline =
  989.  
  990. ; visible = Active workspace on unfocused monitor
  991. label-visible = %icon% %name%
  992. label-visible-background = ${self.label-focused-background}
  993. label-visible-underline = ${self.label-focused-underline}
  994. label-visible-padding = 2
  995.  
  996. ; Available tokens:
  997. ; %name%
  998. ; %icon%
  999. ; %index%
  1000. ; Default: %icon% %name%
  1001. ; urgent = Workspace with urgency hint set
  1002. label-urgent = %icon% %name%
  1003. label-urgent-background = ${self.label-focused-background}
  1004. label-urgent-foreground = #A6B190
  1005. label-urgent-padding = 2
  1006.  
  1007. format-foreground = ${colors.foreground}
  1008. format-background = ${colors.background}
  1009.  
  1010. ################################################################################
  1011. ################################################################################
  1012. ############ MODULE BSPWM ############
  1013. ################################################################################
  1014. ################################################################################
  1015.  
  1016. [module/bspwm]
  1017. type = internal/bspwm
  1018.  
  1019. enable-click = true
  1020. enable-scroll = true
  1021. reverse-scroll = true
  1022. pin-workspaces = true
  1023.  
  1024. ws-icon-0 = 1;
  1025. ws-icon-1 = 2;
  1026. ws-icon-2 = 3;
  1027. ws-icon-3 = 4;
  1028. ws-icon-4 = 5;
  1029. ws-icon-5 = 6;
  1030. ws-icon-6 = 7;
  1031. ws-icon-7 = 8;
  1032. ws-icon-8 = 9;
  1033. ws-icon-9 = 10;
  1034. ws-icon-default = " "
  1035.  
  1036.  
  1037. format = <label-state> <label-mode>
  1038.  
  1039. label-focused = %icon%
  1040. label-focused-background = ${colors.background}
  1041. label-focused-underline= #6790eb
  1042. label-focused-padding = 4
  1043. label-focused-foreground = #6790EB
  1044.  
  1045. label-occupied = %icon%
  1046. label-occupied-padding = 2
  1047. label-occupied-background = ${colors.background}
  1048. label-occupied-foreground = #6790EB
  1049.  
  1050. label-urgent = %icon%
  1051. label-urgent-padding = 2
  1052.  
  1053. label-empty = %icon%
  1054. label-empty-foreground = ${colors.foreground}
  1055. label-empty-padding = 2
  1056. label-empty-background = ${colors.background}
  1057. label-monocle = "  "
  1058. label-monocle-foreground = ${colors.foreground}
  1059. label-tiled = "  "
  1060. label-tiled-foreground = ${colors.foreground}
  1061. label-fullscreen = "  "
  1062. label-fullscreen-foreground = ${colors.foreground}
  1063. label-floating = "  "
  1064. label-floating-foreground = ${colors.foreground}
  1065. label-pseudotiled = "  "
  1066. label-pseudotiled-foreground = ${colors.foreground}
  1067. label-locked = "  "
  1068. label-locked-foreground = ${colors.foreground}
  1069. label-sticky = "  "
  1070. label-sticky-foreground = ${colors.foreground}
  1071. label-private = "  "
  1072. label-private-foreground = ${colors.foreground}
  1073.  
  1074. ; Separator in between workspaces
  1075. ;label-separator = |
  1076. ;label-separator-padding = 10
  1077. ;label-separator-foreground = #ffb52a
  1078.  
  1079. format-foreground = ${colors.foreground}
  1080. format-background = ${colors.background}
  1081.  
  1082. ###############################################################################
  1083. ############ MODULES A-Z ############
  1084. ################################################################################
  1085.  
  1086. [module/arch-aur-updates]
  1087. type = custom/script
  1088. exec = ~/.config/polybar/scripts/check-all-updates.sh
  1089. interval = 1000
  1090. label = Updates: %output%
  1091. format-foreground = ${colors.foreground}
  1092. format-background = ${colors.background}
  1093. format-prefix = "  "
  1094. format-prefix-foreground = #980E00
  1095. ;format-underline = #704214
  1096.  
  1097. [module/aur-updates]
  1098. type = custom/script
  1099. exec = cower -u | wc -l
  1100. interval = 1000
  1101. label = Aur: %output%
  1102. format-foreground = ${colors.foreground}
  1103. format-background = ${colors.background}
  1104. format-prefix = "  "
  1105. format-prefix-foreground = #980E00
  1106. ;format-underline = #704214
  1107.  
  1108. ################################################################################
  1109.  
  1110. [module/backlight-acpi]
  1111. inherit = module/xbacklight
  1112. type = internal/backlight
  1113. card = intel_backlight
  1114. format-foreground = ${colors.foreground}
  1115. format-background = ${colors.background}
  1116. format-prefix-foreground = #7D49B6
  1117. format-prefix-underline = #7D49B6
  1118. format-underline = #7D49B6
  1119. ################################################################################
  1120.  
  1121. [module/backlight]
  1122. ;https://github.com/jaagr/polybar/wiki/Module:-backlight
  1123.  
  1124. type = internal/backlight
  1125.  
  1126. ; Use the following command to list available cards:
  1127. ; $ ls -1 /sys/class/backlight/
  1128. card = intel_backlight
  1129.  
  1130. ; Available tags:
  1131. ; <label> (default)
  1132. ; <ramp>
  1133. ; <bar>
  1134. format = <label>
  1135. format-foreground = ${colors.foreground}
  1136. format-background = ${colors.background}
  1137.  
  1138. ; Available tokens:
  1139. ; %percentage% (default)
  1140. label = %percentage%%
  1141.  
  1142. ; Only applies if <ramp> is used
  1143. ramp-0 = 🌕
  1144. ramp-1 = 🌔
  1145. ramp-2 = 🌓
  1146. ramp-3 = 🌒
  1147. ramp-4 = 🌑
  1148.  
  1149. ; Only applies if <bar> is used
  1150. bar-width = 10
  1151. bar-indicator = |
  1152. bar-fill = ─
  1153. bar-empty = ─
  1154.  
  1155. ################################################################################
  1156.  
  1157. [module/battery]
  1158. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  1159. type = internal/battery
  1160. battery = BAT0
  1161. adapter = AC0
  1162. full-at = 100
  1163.  
  1164. format-charging = <animation-charging> <label-charging>
  1165. label-charging =  %percentage%%
  1166. format-charging-foreground = ${colors.foreground}
  1167. format-charging-background = ${colors.background}
  1168. format-charging-underline = #a3c725
  1169.  
  1170. format-discharging = <ramp-capacity> <label-discharging>
  1171. label-discharging =  %percentage%%
  1172. format-discharging-underline = #c7ae25
  1173. format-discharging-foreground = ${colors.foreground}
  1174. format-discharging-background = ${colors.background}
  1175.  
  1176. format-full-prefix = " "
  1177. format-full-prefix-foreground = #a3c725
  1178. format-full-underline = #a3c725
  1179. format-foreground = ${colors.foreground}
  1180. format-background = ${colors.background}
  1181.  
  1182. ramp-capacity-0 = 
  1183. ramp-capacity-1 = 
  1184. ramp-capacity-2 = 
  1185. ramp-capacity-3 = 
  1186. ramp-capacity-4 = 
  1187. ramp-capacity-foreground = #c7ae25
  1188.  
  1189. animation-charging-0 = 
  1190. animation-charging-1 = 
  1191. animation-charging-2 = 
  1192. animation-charging-3 = 
  1193. animation-charging-4 = 
  1194. animation-charging-foreground = #a3c725
  1195. animation-charging-framerate = 750
  1196.  
  1197. ################################################################################
  1198.  
  1199. [module/cpu1]
  1200. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1201. type = internal/cpu
  1202. ; Seconds to sleep between updates
  1203. ; Default: 1
  1204. interval = 1
  1205. format-foreground = ${colors.foreground}
  1206. format-background = ${colors.background}
  1207. ;   
  1208. format-prefix = " "
  1209. format-prefix-foreground = #980E00
  1210. ;format-underline = #704214
  1211.  
  1212. ; Available tags:
  1213. ; <label> (default)
  1214. ; <bar-load>
  1215. ; <ramp-load>
  1216. ; <ramp-coreload>
  1217. format = <label> <ramp-coreload>
  1218.  
  1219. format-padding = 2
  1220.  
  1221. ; Available tokens:
  1222. ; %percentage% (default) - total cpu load
  1223. ; %percentage-cores% - load percentage for each core
  1224. ; %percentage-core[1-9]% - load percentage for specific core
  1225. label-font = 3
  1226. label = Cpu %percentage:3%%
  1227. ramp-coreload-0 = ▁
  1228. ramp-coreload-0-font = 3
  1229. ramp-coreload-0-foreground = #320069
  1230. ramp-coreload-1 = ▂
  1231. ramp-coreload-1-font = 3
  1232. ramp-coreload-1-foreground = #4b0082
  1233. ramp-coreload-2 = ▃
  1234. ramp-coreload-2-font = 3
  1235. ramp-coreload-2-foreground = #8166E8
  1236. ramp-coreload-3 = ▄
  1237. ramp-coreload-3-font = 3
  1238. ramp-coreload-3-foreground = #7C0A02
  1239. ramp-coreload-4 = ▅
  1240. ramp-coreload-4-font = 3
  1241. ramp-coreload-4-foreground = #980E00
  1242. ramp-coreload-5 = ▆
  1243. ramp-coreload-5-font = 3
  1244. ramp-coreload-5-foreground = #cb410b
  1245. ramp-coreload-6 = ▇
  1246. ramp-coreload-6-font = 3
  1247. ramp-coreload-6-foreground = #BB4FBB
  1248. ramp-coreload-7 = █
  1249. ramp-coreload-7-font = 3
  1250. ramp-coreload-7-foreground = #ff0000
  1251.  
  1252. ################################################################################
  1253.  
  1254. [module/cpu2]
  1255. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1256. type = internal/cpu
  1257. ; Seconds to sleep between updates
  1258. ; Default: 1
  1259. interval = 1
  1260. format-foreground = ${colors.foreground}
  1261. format-background = ${colors.background}
  1262. format-prefix = "  "
  1263. format-prefix-foreground = #980E00
  1264. ;format-underline = #704214
  1265.  
  1266. label-font = 3
  1267.  
  1268. ; Available tags:
  1269. ; <label> (default)
  1270. ; <bar-load>
  1271. ; <ramp-load>
  1272. ; <ramp-coreload>
  1273. format = <label>
  1274.  
  1275. format-padding = 2
  1276.  
  1277. ; Available tokens:
  1278. ; %percentage% (default) - total cpu load
  1279. ; %percentage-cores% - load percentage for each core
  1280. ; %percentage-core[1-9]% - load percentage for specific core
  1281. label = Cpu %percentage:3%%
  1282.  
  1283. ################################################################################
  1284.  
  1285. [module/date]
  1286. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1287. type = internal/date
  1288. ; Seconds to sleep between updates
  1289. interval = 5
  1290. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1291. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1292. date = " %Y-%m-%d%"
  1293. date-alt = " %d-%m-%Y"
  1294. time = %H:%M
  1295. time-alt = %H:%M
  1296. format-prefix = " "
  1297. format-prefix-foreground = #980E00
  1298. ;format-underline = #704214
  1299. format-foreground = ${colors.foreground}
  1300. format-background = ${colors.background}
  1301. label = %date% %time%
  1302.  
  1303. #################################################################
  1304.  
  1305. [module/discord]
  1306. type = custom/script
  1307. exec = echo " Discord "
  1308. ;exec = echo " "
  1309. interval = 1
  1310. tail = true
  1311. format-foreground = ${colors.foreground}
  1312. format-background = ${colors.background}
  1313. format-prefix-foreground = #738adb
  1314. format-underline = #738adb
  1315. click-left = discord &
  1316. click-right = killall Discord && killall Discord
  1317. format-prefix = ""
  1318.  
  1319. #################################################################
  1320.  
  1321. [module/ewmh]
  1322. type = internal/xworkspaces
  1323.  
  1324. pin-workspaces = false
  1325. enable-click = true
  1326. enable-scroll = true
  1327. reverse-scroll = true
  1328.  
  1329.  
  1330. icon-0 = 1;
  1331. icon-1 = 2;
  1332. icon-2 = 3;
  1333. icon-3 = 4;
  1334. icon-4 = 5;
  1335. #icon-5 = 6;
  1336. format = <label-state>
  1337. label-monitor = %name%
  1338.  
  1339. label-active = %name%
  1340. label-active-foreground = ${colors.foreground}
  1341. label-active-background = ${colors.background}
  1342. ;label-active-underline= #704214
  1343. label-active-padding = 2
  1344.  
  1345. label-occupied = %name%
  1346. label-occupied-background = ${colors.background}
  1347. label-occupied-padding = 2
  1348.  
  1349. label-urgent = %name%
  1350. label-urgent-foreground = ${colors.foreground}
  1351. label-urgent-background = ${colors.alert}
  1352. label-urgent-underline = ${colors.alert}
  1353. label-urgent-padding = 2
  1354.  
  1355.  
  1356. label-empty = %name%
  1357. label-empty-foreground = ${colors.foreground}
  1358. label-empty-padding = 2
  1359. format-foreground = ${colors.foreground}
  1360. format-background = ${colors.background}
  1361.  
  1362.  
  1363. ################################################################################
  1364.  
  1365. [module/filesystem]
  1366. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1367. type = internal/fs
  1368.  
  1369. ; Mountpoints to display
  1370. mount-0 = /
  1371. ;mount-1 = /home
  1372. ;mount-2 = /var
  1373.  
  1374. ; Seconds to sleep between updates
  1375. ; Default: 30
  1376. interval = 30
  1377.  
  1378. ; Display fixed precision values
  1379. ; Default: false
  1380. fixed-values = false
  1381.  
  1382. ; Spacing between entries
  1383. ; Default: 2
  1384. spacing = 4
  1385.  
  1386. ; Available tags:
  1387. ; <label-mounted> (default)
  1388. ; <bar-free>
  1389. ; <bar-used>
  1390. ; <ramp-capacity>
  1391. format-mounted = <label-mounted>
  1392. format-mounted-foreground = ${colors.foreground}
  1393. format-mounted-background = ${colors.background}
  1394. ;format-mounted-underline = #704214
  1395.  
  1396. ; Available tokens:
  1397. ; %mountpoint%
  1398. ; %type%
  1399. ; %fsname%
  1400. ; %percentage_free%
  1401. ; %percentage_used%
  1402. ; %total%
  1403. ; %free%
  1404. ; %used%
  1405. ; Default: %mountpoint% %percentage_free%%
  1406. label-mounted = %mountpoint% : %used% used of %total%
  1407.  
  1408. ; Available tokens:
  1409. ; %mountpoint%
  1410. ; Default: %mountpoint% is not mounted
  1411. label-unmounted = %mountpoint% not mounted
  1412. format-unmounted-foreground = ${colors.foreground}
  1413. format-unmounted-background = ${colors.background}
  1414. ;format-unmounted-underline = ${colors.alert}
  1415.  
  1416. ################################################################################
  1417.  
  1418. [module/jgmenu]
  1419. type = custom/script
  1420. interval = 120
  1421. exec = echo "Jgmenu"
  1422. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1423. format-foreground = ${colors.foreground}
  1424. format-background = ${colors.background}
  1425.  
  1426. ################################################################################
  1427.  
  1428. [module/kernel]
  1429. type = custom/script
  1430. exec = uname -r
  1431. tail = false
  1432. interval = 1024
  1433.  
  1434. format-foreground = ${colors.foreground}
  1435. format-background = ${colors.background}
  1436. format-prefix = "  "
  1437. format-prefix-foreground = #980E00
  1438. ;format-underline = #704214
  1439.  
  1440. ################################################################################
  1441.  
  1442. [module/load-average]
  1443. type = custom/script
  1444. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1445. interval = 100
  1446.  
  1447. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1448. ;label = %output%
  1449. label = %output:10%
  1450.  
  1451. format-foreground = ${colors.foreground}
  1452. format-background = ${colors.background}
  1453. format-prefix = "  "
  1454. format-prefix-foreground = #980E00
  1455. ;format-underline = #704214
  1456.  
  1457. ################################################################################
  1458.  
  1459. [module/memory1]
  1460. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1461. type = internal/memory
  1462. interval = 1
  1463. ; Available tokens:
  1464. ; %percentage_used% (default)
  1465. ; %percentage_free%
  1466. ; %gb_used%
  1467. ; %gb_free%
  1468. ; %gb_total%
  1469. ; %mb_used%
  1470. ; %mb_free%
  1471. ; %mb_total%
  1472. label = %percentage_used%%
  1473. bar-used-indicator =
  1474. bar-used-width = 10
  1475. bar-used-foreground-0 = #e3ebea
  1476. bar-used-fill = 
  1477. bar-used-empty = 
  1478. bar-used-empty-foreground = #854566
  1479.  
  1480. format = <label> <bar-used>
  1481. format-prefix = "  "
  1482. format-prefix-foreground = #980E00
  1483. ;format-underline = #704214
  1484. format-foreground = ${colors.foreground}
  1485. format-background = ${colors.background}
  1486.  
  1487. ################################################################################
  1488.  
  1489. [module/memory2]
  1490. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1491. type = internal/memory
  1492. interval = 1
  1493. ; Available tokens:
  1494. ; %percentage_used% (default)
  1495. ; %percentage_free%
  1496. ; %gb_used%
  1497. ; %gb_free%
  1498. ; %gb_total%
  1499. ; %mb_used%
  1500. ; %mb_free%
  1501. ; %mb_total%
  1502. label = %percentage_used%%
  1503.  
  1504. format = Mem <label>
  1505. format-prefix = "  "
  1506. format-prefix-foreground = #980E00
  1507. ;format-underline = #704214
  1508. format-foreground = ${colors.foreground}
  1509. format-background = ${colors.background}
  1510.  
  1511. ################################################################################
  1512.  
  1513. [module/memory3]
  1514. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1515. type = internal/memory
  1516. interval = 1
  1517. ; Available tokens:
  1518. ; %percentage_used% (default)
  1519. ; %percentage_free%
  1520. ; %gb_used%
  1521. ; %gb_free%
  1522. ; %gb_total%
  1523. ; %mb_used%
  1524. ; %mb_free%
  1525. ; %mb_total%
  1526. label = %gb_used%/%gb_free%
  1527.  
  1528. format = Mem <label>
  1529. format-prefix = "  "
  1530. format-prefix-foreground = #980E00
  1531. ;format-underline = #704214
  1532. format-foreground = ${colors.foreground}
  1533. format-background = ${colors.background}
  1534.  
  1535.  
  1536. ################################################################################
  1537.  
  1538. [module/mpd]
  1539. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1540. type = internal/mpd
  1541. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1542. format-online = "<label-song> <bar-progress>"
  1543. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1544. icon-prev = 
  1545. icon-stop = 
  1546. icon-play = 
  1547. icon-pause = 
  1548. icon-next = 
  1549. label-song-maxlen = 40
  1550. label-song-ellipsis = true
  1551. bar-progress-width = 10
  1552. bar-progress-indicator = 
  1553. bar-progress-fill = 
  1554. bar-progress-empty = 
  1555. bar-progress-fill-foreground = #ff0
  1556. bar-progress-fill-background = ${colors.background}
  1557. bar-progress-indicator-foreground = ${colors.foreground}
  1558. format-online-foreground = ${colors.foreground}
  1559. format-online-background = ${colors.background}
  1560.  
  1561. ################################################################################
  1562.  
  1563. [module/networkspeedup]
  1564. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1565. type = internal/network
  1566. interface = enp6s0
  1567. label-connected = "%upspeed:7%"
  1568. format-connected = <label-connected>
  1569. format-connected-prefix = ""
  1570. format-connected-prefix-foreground = #cb410b
  1571. format-connected-foreground = ${colors.foreground}
  1572. format-connected-background = ${colors.background}
  1573. ;format-connected-underline = #704214
  1574.  
  1575. ################################################################################
  1576.  
  1577. [module/networkspeeddown]
  1578. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1579. type = internal/network
  1580. interface = enp6s0
  1581. label-connected = "%downspeed:7%"
  1582. format-connected = <label-connected>
  1583. format-connected-prefix = ""
  1584. format-connected-prefix-foreground = #7C0A02
  1585. format-connected-foreground = ${colors.foreground}
  1586. format-connected-background = ${colors.background}
  1587. ;format-connected-underline = #704214
  1588.  
  1589. ################################################################################
  1590.  
  1591. [module/pacman-updates]
  1592. type = custom/script
  1593. ;exec = pacman -Qu | wc -l
  1594. exec = checkupdates | wc -l
  1595. interval = 1000
  1596. label = Repo: %output%
  1597. format-foreground = ${colors.foreground}
  1598. format-background = ${colors.background}
  1599. format-prefix = "  "
  1600. format-prefix-foreground = #980E00
  1601. ;format-underline = #704214
  1602.  
  1603. ################################################################################
  1604.  
  1605. [module/pamac-manager]
  1606. type = custom/script
  1607. exec = pamac checkupdates -q | wc -l
  1608. interval = 1000
  1609. label = Pamac : %output%
  1610. tail = true
  1611. format-foreground = ${colors.foreground}
  1612. format-background = ${colors.background}
  1613. format-prefix-foreground = #980E00
  1614. ;format-underline = #704214
  1615. click-right = pamac-manager &
  1616. click-left = pamac-manager &
  1617. format-prefix = " "
  1618.  
  1619. ################################################################################
  1620.  
  1621. [module/pavolume]
  1622. type = custom/script
  1623. tail = true
  1624. label = %output%
  1625. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1626. click-right = exec pavucontrol
  1627. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1628. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1629. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1630. ;format-underline = #704214
  1631. format-foreground = ${colors.foreground}
  1632. format-background = ${colors.background}
  1633.  
  1634. ################################################################################
  1635.  
  1636. [module/pub-ip]
  1637. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1638. type = custom/script
  1639. exec = ~/.config/polybar/scripts/pub-ip.sh
  1640. interval = 100
  1641. format-foreground = ${colors.foreground}
  1642. format-background = ${colors.background}
  1643. format-underline = #FFBB00
  1644. label = %output%
  1645. format-prefix = "  "
  1646. format-prefix-foreground = #FFBB00
  1647.  
  1648. ################################################################################
  1649.  
  1650. [module/release]
  1651. type = custom/script
  1652. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1653. interval = 6000
  1654.  
  1655. format-foreground = ${colors.foreground}
  1656. format-background = ${colors.background}
  1657. format-prefix = " "
  1658. format-prefix-foreground = #980E00
  1659. ;format-underline = #704214
  1660.  
  1661. ################################################################################
  1662.  
  1663. [module/rofi]
  1664. type = custom/text
  1665. ;content = 
  1666. content = 
  1667. content-padding = 8
  1668. content-background = ${colors.background}
  1669. content-foreground = ${colors.foreground}
  1670. click-left = exec rofi -show drun -show-icons -columns 3 -lines 9
  1671. click-right = exec rofi -show combi -show-icons -columns 4 -lines 6
  1672. ;format-underline = #704214
  1673.  
  1674. ################################################################################
  1675.  
  1676. [module/sep]
  1677. ; alternative separator
  1678. type = custom/text
  1679. content = 
  1680. content-foreground = ${colors.foreground}
  1681. content-background = ${colors.background}
  1682. format-foreground = ${colors.foreground}
  1683. format-background = ${colors.background}
  1684.  
  1685. ################################################################################
  1686.  
  1687. [module/spotify1]
  1688. ;https://github.com/NicholasFeldman/dotfiles/blob/master/polybar/.config/polybar/spotify.sh
  1689. type = custom/script
  1690. exec = ~/.config/polybar/scripts/spotify1.sh
  1691. interval = 1
  1692.  
  1693. ;format = <label>
  1694. format-foreground = ${colors.foreground}
  1695. format-background = ${colors.background}
  1696. format-padding = 2
  1697. format-underline = #0f0
  1698. format-prefix = " "
  1699. format-prefix-foreground = #0f0
  1700. label = %output:0:150%
  1701.  
  1702. ################################################################################
  1703.  
  1704. [module/temperature1]
  1705. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1706. type = internal/temperature
  1707. ; Thermal zone to use
  1708. ; To list all the zone types, run
  1709. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1710. ; Default: 0
  1711. thermal-zone = 0
  1712.  
  1713. ; Full path of temperature sysfs path
  1714. ; Use `sensors` to find preferred temperature source, then run
  1715. ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
  1716. ; to find path to desired file
  1717. ; Default reverts to thermal zone setting
  1718. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1719.  
  1720. warn-temperature = 70
  1721. format = <ramp> <label>
  1722. format-foreground = ${colors.foreground}
  1723. format-background = ${colors.background}
  1724. ;format-underline = #704214
  1725. format-warn = <ramp> <label-warn>
  1726. format-warn-underline = #c7254f
  1727. label = %temperature%
  1728. label-warn =  %temperature%
  1729. label-warn-foreground = #c7254f
  1730.  
  1731. ramp-0 = 
  1732. ramp-1 = 
  1733. ramp-2 = 
  1734. ramp-3 = 
  1735. ramp-4 = 
  1736. ramp-foreground =${colors.foreground}
  1737.  
  1738. ################################################################################
  1739.  
  1740. [module/temperature2]
  1741. type = custom/script
  1742. exec = ~/.config/polybar/scripts/tempcores.sh
  1743. interval = 2
  1744. format-padding = 1
  1745. format-foreground = ${colors.foreground}
  1746. format-background = ${colors.background}
  1747. ;format-underline = #704214
  1748. format-prefix-foreground = #C1B93E
  1749. label =  %output:0:150:%
  1750.  
  1751. ################################################################################
  1752.  
  1753. [module/uptime]
  1754. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1755. type = custom/script
  1756. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1757. interval = 100
  1758. label = Uptime : %output%
  1759.  
  1760. format-foreground = ${colors.foreground}
  1761. format-background = ${colors.background}
  1762. format-prefix = " "
  1763. format-prefix-foreground = #980E00
  1764. ;format-underline = #704214
  1765.  
  1766. ################################################################################
  1767.  
  1768. [module/variety]
  1769. type = custom/script
  1770. exec = echo " Variety"
  1771. ;exec = echo " "
  1772. interval = 1
  1773. tail = true
  1774. format-foreground = ${colors.foreground}
  1775. format-background = ${colors.background}
  1776. format-prefix = ""
  1777. format-prefix-foreground = #980E00
  1778. ;format-underline = #704214
  1779. click-right = variety --preferences
  1780. click-left = variety --selector
  1781.  
  1782. ################################################################################
  1783.  
  1784. [module/volume]
  1785. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1786. type = internal/volume
  1787. format-volume = "<label-volume> <bar-volume>"
  1788.  
  1789. label-volume = " "
  1790. label-volume-foreground = #980E00
  1791. label-muted = muted
  1792.  
  1793. bar-volume-width = 10
  1794. bar-volume-foreground-0 = #7C0A02
  1795. bar-volume-foreground-1 = #980E00
  1796. bar-volume-foreground-2 = #AF3F05
  1797. bar-volume-foreground-3 = #CB410B
  1798. bar-volume-foreground-4 = #8166E8
  1799. bar-volume-foreground-5 = #6a5acd
  1800. bar-volume-foreground-6 = #5141B4
  1801. bar-volume-foreground-7 = #4c2882
  1802. bar-volume-foreground-8 = #ee82ee
  1803. bar-volume-gradient = true
  1804. bar-volume-indicator = 
  1805. bar-volume-indicator-font = 2
  1806. bar-volume-fill = 
  1807. bar-volume-fill-font = 2
  1808. bar-volume-empty = 
  1809. bar-volume-empty-font = 2
  1810. bar-volume-empty-foreground = ${colors.foreground}
  1811. format-volume-foreground = ${colors.foreground}
  1812. format-volume-background = ${colors.background}
  1813. format-muted-prefix = "  "
  1814. format-muted-prefix-foreground = "#ff0000"
  1815. format-muted-foreground = ${colors.foreground}
  1816. format-muted-background = ${colors.background}
  1817.  
  1818. ################################################################################
  1819.  
  1820. [module/weather]
  1821. type = custom/script
  1822. interval = 10
  1823. format = <label>
  1824. format-prefix = " "
  1825. format-prefix-foreground = #980E00
  1826. ;format-underline = #704214
  1827. format-foreground = ${colors.foreground}
  1828. format-background = ${colors.background}
  1829. exec = python -u ~/.config/polybar/scripts/weather.py
  1830. tail = true
  1831.  
  1832. #################################################################################
  1833.  
  1834. [module/wired-network]
  1835. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1836. type = internal/network
  1837. interface = enp6s0
  1838. interval = 3.0
  1839.  
  1840. ; Available tokens:
  1841. ; %ifname% [wireless+wired]
  1842. ; %local_ip% [wireless+wired]
  1843. ; %essid% [wireless]
  1844. ; %signal% [wireless]
  1845. ; %upspeed% [wireless+wired]
  1846. ; %downspeed% [wireless+wired]
  1847. ; %linkspeed% [wired]
  1848. ; Default: %ifname% %local_ip%
  1849. label-connected = %ifname%
  1850. label-disconnected = %ifname% disconnected
  1851.  
  1852. format-connected-foreground = ${colors.foreground}
  1853. format-connected-background = ${colors.background}
  1854. ;format-connected-underline = #704214
  1855. format-connected-prefix = " "
  1856. ;format-connected-prefix-foreground = #704214
  1857. format-connected-prefix-background = ${colors.background}
  1858.  
  1859. format-disconnected = <label-disconnected>
  1860. format-disconnected-underline = ${colors.alert}
  1861. label-disconnected-foreground = ${colors.foreground}
  1862.  
  1863. ################################################################################
  1864.  
  1865. [module/wireless-network]
  1866. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1867. type = internal/network
  1868. interface = wlp3s0
  1869. interval = 3.0
  1870. label-connected = %essid%
  1871.  
  1872. format-connected = <label-connected>
  1873. ;format-connected = <ramp-signal> <label-connected>
  1874. format-connected-foreground = ${colors.foreground}
  1875. format-connected-background = ${colors.background}
  1876. format-connected-prefix = "  "
  1877. format-connected-prefix-foreground = #7e52c6
  1878. format-connected-prefix-background = ${colors.background}
  1879. ;format-connected-underline = #704214
  1880.  
  1881. label-disconnected = %ifname% disconnected
  1882. label-disconnected-foreground = ${colors.alert}
  1883. label-disconnected-background = ${colors.background}
  1884.  
  1885. format-disconnected = <label-disconnected>
  1886. format-disconnected-foreground = ${colors.alert}
  1887. format-disconnected-background = ${colors.background}
  1888. format-disconnected-prefix = "  "
  1889. format-disconnected-prefix-foreground = ${colors.alert}
  1890. format-disconnected-prefix-background = ${colors.background}
  1891. format-disconnected-underline =${colors.alert}
  1892.  
  1893. ramp-signal-0 = ▁
  1894. ramp-signal-1 = ▂
  1895. ramp-signal-2 = ▃
  1896. ramp-signal-3 = ▄
  1897. ramp-signal-4 = ▅
  1898. ramp-signal-5 = ▆
  1899. ramp-signal-6 = ▇
  1900. ramp-signal-7 = █
  1901. ramp-signal-foreground = #7e52c6
  1902.  
  1903. ################################################################################
  1904.  
  1905. [module/xbacklight]
  1906. ;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
  1907. type = internal/xbacklight
  1908. format = <label> <bar>
  1909. format-prefix = "  "
  1910. format-prefix-foreground = ${colors.foreground}
  1911. format-prefix-background = ${colors.background}
  1912. format-prefix-underline = #9f78e1
  1913. format-underline = #9f78e1
  1914. label = %percentage%%
  1915. bar-width = 10
  1916. bar-indicator = 
  1917. bar-indicator-foreground = #fff
  1918. bar-indicator-font = 2
  1919. bar-fill = 
  1920. bar-fill-font = 2
  1921. bar-fill-foreground = #9f78e1
  1922. bar-empty = 
  1923. bar-empty-font = 2
  1924. bar-empty-foreground = #fff
  1925. format-foreground = ${colors.foreground}
  1926. format-background = ${colors.background}
  1927.  
  1928. ################################################################################
  1929.  
  1930. [module/xkeyboard]
  1931. ;https://github.com/jaagr/polybar/wiki/Module:-xkeyboard
  1932. type = internal/xkeyboard
  1933. blacklist-0 = num lock
  1934.  
  1935. format-prefix = " "
  1936. format-prefix-foreground = ${colors.foreground}
  1937. format-prefix-background = ${colors.background}
  1938. format-prefix-underline = #3ecfb2
  1939. format-foreground = ${colors.foreground}
  1940. format-background = ${colors.background}
  1941.  
  1942. label-layout = %layout%
  1943. label-layout-underline = #3ecfb2
  1944. label-indicator-padding = 2
  1945. label-indicator-margin = 1
  1946. label-indicator-background = ${colors.background}
  1947. label-indicator-underline = ${colors.foreground}
  1948.  
  1949. ################################################################################
  1950.  
  1951. [module/xwindow]
  1952. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1953. type = internal/xwindow
  1954.  
  1955. ; Available tokens:
  1956. ; %title%
  1957. ; Default: %title%
  1958. label = %title%
  1959. label-maxlen = 50
  1960.  
  1961. format-foreground = ${colors.foreground}
  1962. format-background = ${colors.background}
  1963.  
  1964. ###############################################################################
  1965.  
Add Comment
Please, Sign In to add comment