poetician

Polybar Arcolinux | 0011 Maple Leaves_1010

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