poetician

Polybar Bspwm | Raspberry Cream

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