poetician

Polybar Bspwm ArcoLinux | Raspberry Plants update

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