Advertisement
poetician

Polybar Arcolinux | 0050 Sunset Shore Mangrove

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