poetician

Polybar ArcoLinux | 0024 Field and Cloud

Nov 25th, 2020 (edited)
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.54 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. ; 0024 Field and Cloud theme ============
  43. background = #66648bb1
  44. foreground = #fef9d4
  45. alert = #ffa500
  46. ;primary = #000000
  47. ;secondary =#ffffff
  48. ;volume-min = #a3be8c
  49. ;volume-med = #ebcb8b
  50. ;volume-max = #bf616a
  51. ; =======================
  52.  
  53. ######################################################
  54. ############ MAINBAR-I3 ############
  55. ######################################################
  56.  
  57. [bar/mainbar-i3]
  58. ;https://github.com/jaagr/polybar/wiki/Configuration
  59.  
  60. monitor = ${env:MONITOR}
  61. ;monitor-fallback = HDMI1
  62. monitor-strict = false
  63. override-redirect = false
  64. bottom = false
  65. fixed-center = true
  66. width = 1720
  67. height = 28
  68. ;offset-x = 1%
  69. ;offset-y = 1%
  70.  
  71. background = ${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.9
  104.  
  105. tray-detached = false
  106. tray-offset-x = 10
  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 = exec rofi -show drun -show-icons -columns 3 -lines 9
  121. click-middle = exec rofi -show window -show-icons -columns 3 -lines 9 -width 70
  122. click-right = exec rofi -show combi -show-icons -columns 2 -lines 14 -width 70
  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.9
  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 ############
  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 pacman-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 ############
  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 ############
  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 ############
  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 = #eea93f
  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 = "Bauhaus:size=12;0"
  750. font-1 = "FontAwesome:size=10;0"
  751. font-2 = "Bauhaus:size=12;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 = #eea93f
  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 = 99%
  778. height = 30
  779. offset-x = 0.5%
  780. ;offset-y = 1%
  781. radius = 9
  782. fixed-center = true
  783. bottom = true
  784. separator = |
  785.  
  786. background = #eea93f
  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 = jgmenu weather arch-aur-updates pamac-manager pacman-updates
  819. modules-center = networkspeedup networkspeeddown
  820. modules-right = filesystem release kernel
  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. ############ MODULE I3 ############
  836. ################################################################################
  837.  
  838. [module/i3]
  839. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  840. type = internal/i3
  841.  
  842. ; Only show workspaces defined on the same output as the bar
  843. ;
  844. ; Useful if you want to show monitor specific workspaces
  845. ; on different bars
  846. ;
  847. ; Default: false
  848. pin-workspaces = true
  849.  
  850. ; This will split the workspace name on ':'
  851. ; Default: false
  852. strip-wsnumbers = false
  853.  
  854. ; Sort the workspaces by index instead of the default
  855. ; sorting that groups the workspaces by output
  856. ; Default: false
  857. index-sort = false
  858.  
  859. ; Create click handler used to focus workspace
  860. ; Default: true
  861. enable-click = true
  862.  
  863. ; Create scroll handlers used to cycle workspaces
  864. ; Default: true
  865. enable-scroll = true
  866.  
  867. ; Wrap around when reaching the first/last workspace
  868. ; Default: true
  869. wrapping-scroll = false
  870.  
  871. ; Set the scroll cycle direction
  872. ; Default: true
  873. reverse-scroll = false
  874.  
  875. ; Use fuzzy (partial) matching on labels when assigning
  876. ; icons to workspaces
  877. ; Example: code;♚ will apply the icon to all workspaces
  878. ; containing 'code' in the label
  879. ; Default: false
  880. fuzzy-match = false
  881.  
  882. ;extra icons to choose from
  883. ;http://fontawesome.io/cheatsheet/
  884. ;            
  885.  
  886. ws-icon-0 = 1;
  887. ws-icon-1 = 2;
  888. ws-icon-2 = 3;
  889. ws-icon-3 = 4;
  890. ws-icon-4 = 5;
  891. ws-icon-5 = 6;
  892. ws-icon-6 = 7;
  893. ws-icon-7 = 8;
  894. ws-icon-8 = 9;
  895. ws-icon-9 = 10;
  896. ws-icon-10 = 11;
  897. ws-icon-11 = 12;
  898. ws-icon-12 = 13;
  899. ws-icon-default = " "
  900.  
  901. ; Available tags:
  902. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  903. ; <label-mode> (default)
  904. format = <label-state> <label-mode>
  905.  
  906. label-mode = %mode%
  907. label-mode-padding = 2
  908. label-mode-foreground = #000000
  909. label-mode-background = #FFBB00
  910.  
  911. ; Available tokens:
  912. ; %name%
  913. ; %icon%
  914. ; %index%
  915. ; %output%
  916. ; Default: %icon% %name%
  917. ; focused = Active workspace on focused monitor
  918. label-focused = %icon% %name%
  919. label-focused-background = ${colors.background}
  920. label-focused-foreground = #bebdbc
  921. label-focused-underline = ${colors.background}
  922. label-focused-padding = 2
  923.  
  924. ; Available tokens:
  925. ; %name%
  926. ; %icon%
  927. ; %index%
  928. ; Default: %icon% %name%
  929. ; unfocused = Inactive workspace on any monitor
  930. label-unfocused = %icon% %name%
  931. label-unfocused-padding = 2
  932. label-unfocused-background = ${colors.background}
  933. label-unfocused-foreground = ${colors.foreground}
  934. label-unfocused-underline =
  935.  
  936. ; visible = Active workspace on unfocused monitor
  937. label-visible = %icon% %name%
  938. label-visible-background = ${self.label-focused-background}
  939. label-visible-underline = ${self.label-focused-underline}
  940. label-visible-padding = 2
  941.  
  942. ; Available tokens:
  943. ; %name%
  944. ; %icon%
  945. ; %index%
  946. ; Default: %icon% %name%
  947. ; urgent = Workspace with urgency hint set
  948. label-urgent = %icon% %name%
  949. label-urgent-background = ${self.label-focused-background}
  950. label-urgent-foreground = #A6B190
  951. label-urgent-padding = 2
  952.  
  953. format-foreground = ${colors.foreground}
  954. format-background = ${colors.background}
  955.  
  956. ################################################################################
  957. ############ MODULE BSPWM ############
  958. ################################################################################
  959.  
  960. [module/bspwm]
  961. type = internal/bspwm
  962.  
  963. enable-click = true
  964. enable-scroll = true
  965. reverse-scroll = true
  966. pin-workspaces = true
  967.  
  968. ws-icon-0 = 1;
  969. ws-icon-1 = 2;
  970. ws-icon-2 = 3;
  971. ws-icon-3 = 4;
  972. ws-icon-4 = 5;
  973. ws-icon-5 = 6;
  974. ws-icon-6 = 7;
  975. ws-icon-7 = 8;
  976. ws-icon-8 = 9;
  977. ws-icon-9 = 10;
  978. ws-icon-default = " "
  979.  
  980.  
  981. format = <label-state> <label-mode>
  982.  
  983. label-focused = %icon%
  984. label-focused-background = ${colors.background}
  985. label-focused-underline= #6790eb
  986. label-focused-padding = 4
  987. label-focused-foreground = #6790EB
  988.  
  989. label-occupied = %icon%
  990. label-occupied-padding = 2
  991. label-occupied-background = ${colors.background}
  992. label-occupied-foreground = #6790EB
  993.  
  994. label-urgent = %icon%
  995. label-urgent-padding = 2
  996.  
  997. label-empty = %icon%
  998. label-empty-foreground = ${colors.foreground}
  999. label-empty-padding = 2
  1000. label-empty-background = ${colors.background}
  1001. label-monocle = "  "
  1002. label-monocle-foreground = ${colors.foreground}
  1003. label-tiled = "  "
  1004. label-tiled-foreground = ${colors.foreground}
  1005. label-fullscreen = "  "
  1006. label-fullscreen-foreground = ${colors.foreground}
  1007. label-floating = "  "
  1008. label-floating-foreground = ${colors.foreground}
  1009. label-pseudotiled = "  "
  1010. label-pseudotiled-foreground = ${colors.foreground}
  1011. label-locked = "  "
  1012. label-locked-foreground = ${colors.foreground}
  1013. label-sticky = "  "
  1014. label-sticky-foreground = ${colors.foreground}
  1015. label-private = "  "
  1016. label-private-foreground = ${colors.foreground}
  1017.  
  1018. ; Separator in between workspaces
  1019. ;label-separator = |
  1020. ;label-separator-padding = 10
  1021. ;label-separator-foreground = #ffb52a
  1022.  
  1023. format-foreground = ${colors.foreground}
  1024. format-background = ${colors.background}
  1025.  
  1026. ###############################################################################
  1027. ############ MODULES A-Z ############
  1028. ################################################################################
  1029.  
  1030. [module/arch-aur-updates]
  1031. type = custom/script
  1032. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  1033. interval = 1000
  1034. label = Updates: %output%
  1035. format-foreground = ${colors.foreground}
  1036. format-background = ${colors.background}
  1037. format-prefix = "  "
  1038. format-prefix-foreground = #980E00
  1039. ;format-underline = #704214
  1040.  
  1041. [module/aur-updates]
  1042. type = custom/script
  1043. exec = cower -u | wc -l
  1044. interval = 1000
  1045. label = Aur: %output%
  1046. format-foreground = ${colors.foreground}
  1047. format-background = ${colors.background}
  1048. format-prefix = "  "
  1049. format-prefix-foreground = #980E00
  1050. ;format-underline = #704214
  1051.  
  1052. ################################################################################
  1053.  
  1054. [module/backlight-acpi]
  1055. inherit = module/xbacklight
  1056. type = internal/backlight
  1057. card = intel_backlight
  1058. format-foreground = ${colors.foreground}
  1059. format-background = ${colors.background}
  1060. format-prefix-foreground = #7D49B6
  1061. format-prefix-underline = #7D49B6
  1062. format-underline = #7D49B6
  1063. ################################################################################
  1064.  
  1065. [module/backlight]
  1066. ;https://github.com/jaagr/polybar/wiki/Module:-backlight
  1067.  
  1068. type = internal/backlight
  1069.  
  1070. ; Use the following command to list available cards:
  1071. ; $ ls -1 /sys/class/backlight/
  1072. card = intel_backlight
  1073.  
  1074. ; Available tags:
  1075. ; <label> (default)
  1076. ; <ramp>
  1077. ; <bar>
  1078. format = <label>
  1079. format-foreground = ${colors.foreground}
  1080. format-background = ${colors.background}
  1081.  
  1082. ; Available tokens:
  1083. ; %percentage% (default)
  1084. label = %percentage%%
  1085.  
  1086. ; Only applies if <ramp> is used
  1087. ramp-0 = 🌕
  1088. ramp-1 = 🌔
  1089. ramp-2 = 🌓
  1090. ramp-3 = 🌒
  1091. ramp-4 = 🌑
  1092.  
  1093. ; Only applies if <bar> is used
  1094. bar-width = 10
  1095. bar-indicator = |
  1096. bar-fill = ─
  1097. bar-empty = ─
  1098.  
  1099. ################################################################################
  1100.  
  1101. [module/battery]
  1102. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  1103. type = internal/battery
  1104. battery = BAT0
  1105. adapter = AC0
  1106. full-at = 100
  1107.  
  1108. format-charging = <animation-charging> <label-charging>
  1109. label-charging =  %percentage%%
  1110. format-charging-foreground = ${colors.foreground}
  1111. format-charging-background = ${colors.background}
  1112. format-charging-underline = #a3c725
  1113.  
  1114. format-discharging = <ramp-capacity> <label-discharging>
  1115. label-discharging =  %percentage%%
  1116. format-discharging-underline = #c7ae25
  1117. format-discharging-foreground = ${colors.foreground}
  1118. format-discharging-background = ${colors.background}
  1119.  
  1120. format-full-prefix = " "
  1121. format-full-prefix-foreground = #a3c725
  1122. format-full-underline = #a3c725
  1123. format-foreground = ${colors.foreground}
  1124. format-background = ${colors.background}
  1125.  
  1126. ramp-capacity-0 = 
  1127. ramp-capacity-1 = 
  1128. ramp-capacity-2 = 
  1129. ramp-capacity-3 = 
  1130. ramp-capacity-4 = 
  1131. ramp-capacity-foreground = #c7ae25
  1132.  
  1133. animation-charging-0 = 
  1134. animation-charging-1 = 
  1135. animation-charging-2 = 
  1136. animation-charging-3 = 
  1137. animation-charging-4 = 
  1138. animation-charging-foreground = #a3c725
  1139. animation-charging-framerate = 750
  1140.  
  1141. ################################################################################
  1142.  
  1143. [module/cpu1]
  1144. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1145. type = internal/cpu
  1146. ; Seconds to sleep between updates
  1147. ; Default: 1
  1148. interval = 1
  1149. format-foreground = ${colors.foreground}
  1150. format-background = ${colors.background}
  1151. ;   
  1152. format-prefix = " "
  1153. format-prefix-foreground = #980E00
  1154. ;format-underline = #704214
  1155.  
  1156. ; Available tags:
  1157. ; <label> (default)
  1158. ; <bar-load>
  1159. ; <ramp-load>
  1160. ; <ramp-coreload>
  1161. format = <label> <ramp-coreload>
  1162.  
  1163. format-padding = 2
  1164.  
  1165. ; Available tokens:
  1166. ; %percentage% (default) - total cpu load
  1167. ; %percentage-cores% - load percentage for each core
  1168. ; %percentage-core[1-9]% - load percentage for specific core
  1169. label-font = 3
  1170. label = Cpu %percentage:3%%
  1171. ramp-coreload-0 = ▁
  1172. ramp-coreload-0-font = 3
  1173. ramp-coreload-0-foreground = #FFF1C6
  1174. ramp-coreload-1 = ▂
  1175. ramp-coreload-1-font = 3
  1176. ramp-coreload-1-foreground = #E6D8AD
  1177. ramp-coreload-2 = ▃
  1178. ramp-coreload-2-font = 3
  1179. ramp-coreload-2-foreground = #CCBE93
  1180. ramp-coreload-3 = ▄
  1181. ramp-coreload-3-font = 3
  1182. ramp-coreload-3-foreground = #B3A57A
  1183. ramp-coreload-4 = ▅
  1184. ramp-coreload-4-font = 3
  1185. ramp-coreload-4-foreground = #998B60
  1186. ramp-coreload-5 = ▆
  1187. ramp-coreload-5-font = 3
  1188. ramp-coreload-5-foreground = #66582D
  1189. ramp-coreload-6 = ▇
  1190. ramp-coreload-6-font = 3
  1191. ramp-coreload-6-foreground = #332500
  1192. ramp-coreload-7 = █
  1193. ramp-coreload-7-font = 3
  1194. ramp-coreload-7-foreground = #1A0C00
  1195.  
  1196. ################################################################################
  1197.  
  1198. [module/cpu2]
  1199. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1200. type = internal/cpu
  1201. ; Seconds to sleep between updates
  1202. ; Default: 1
  1203. interval = 1
  1204. format-foreground = ${colors.foreground}
  1205. format-background = ${colors.background}
  1206. format-prefix = "  "
  1207. format-prefix-foreground = #980E00
  1208. ;format-underline = #704214
  1209.  
  1210. label-font = 3
  1211.  
  1212. ; Available tags:
  1213. ; <label> (default)
  1214. ; <bar-load>
  1215. ; <ramp-load>
  1216. ; <ramp-coreload>
  1217. format = <label>
  1218.  
  1219. format-padding = 2
  1220.  
  1221. ; Available tokens:
  1222. ; %percentage% (default) - total cpu load
  1223. ; %percentage-cores% - load percentage for each core
  1224. ; %percentage-core[1-9]% - load percentage for specific core
  1225. label = Cpu %percentage:3%%
  1226.  
  1227. ################################################################################
  1228.  
  1229. [module/date]
  1230. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1231. type = internal/date
  1232. ; Seconds to sleep between updates
  1233. interval = 5
  1234. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1235. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1236. date = " %Y-%m-%d%"
  1237. date-alt = " %d-%m-%Y"
  1238. time = %H:%M
  1239. time-alt = %H:%M
  1240. format-prefix = " "
  1241. format-prefix-foreground = #980E00
  1242. ;format-underline = #704214
  1243. format-foreground = ${colors.foreground}
  1244. format-background = ${colors.background}
  1245. label = %date% %time%
  1246.  
  1247. #################################################################
  1248.  
  1249. [module/discord]
  1250. type = custom/script
  1251. exec = echo " Discord "
  1252. ;exec = echo " "
  1253. interval = 1
  1254. tail = true
  1255. format-foreground = ${colors.foreground}
  1256. format-background = ${colors.background}
  1257. format-prefix-foreground = #738adb
  1258. format-underline = #738adb
  1259. click-left = discord &
  1260. click-right = killall Discord && killall Discord
  1261. format-prefix = ""
  1262.  
  1263. #################################################################
  1264.  
  1265. [module/ewmh]
  1266. type = internal/xworkspaces
  1267.  
  1268. pin-workspaces = false
  1269. enable-click = true
  1270. enable-scroll = true
  1271. reverse-scroll = true
  1272.  
  1273.  
  1274. icon-0 = 1;
  1275. icon-1 = 2;
  1276. icon-2 = 3;
  1277. icon-3 = 4;
  1278. icon-4 = 5;
  1279. #icon-5 = 6;
  1280. format = <label-state>
  1281. label-monitor = %name%
  1282.  
  1283. label-active = %name%
  1284. label-active-foreground = ${colors.foreground}
  1285. label-active-background = ${colors.background}
  1286. ;label-active-underline= #704214
  1287. label-active-padding = 2
  1288.  
  1289. label-occupied = %name%
  1290. label-occupied-background = ${colors.background}
  1291. label-occupied-padding = 2
  1292.  
  1293. label-urgent = %name%
  1294. label-urgent-foreground = ${colors.foreground}
  1295. label-urgent-background = ${colors.alert}
  1296. label-urgent-underline = ${colors.alert}
  1297. label-urgent-padding = 2
  1298.  
  1299.  
  1300. label-empty = %name%
  1301. label-empty-foreground = ${colors.foreground}
  1302. label-empty-padding = 2
  1303. format-foreground = ${colors.foreground}
  1304. format-background = ${colors.background}
  1305.  
  1306.  
  1307. ################################################################################
  1308.  
  1309. [module/filesystem]
  1310. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1311. type = internal/fs
  1312.  
  1313. ; Mountpoints to display
  1314. mount-0 = /
  1315. ;mount-1 = /home
  1316. ;mount-2 = /var
  1317.  
  1318. ; Seconds to sleep between updates
  1319. ; Default: 30
  1320. interval = 30
  1321.  
  1322. ; Display fixed precision values
  1323. ; Default: false
  1324. fixed-values = false
  1325.  
  1326. ; Spacing between entries
  1327. ; Default: 2
  1328. spacing = 4
  1329.  
  1330. ; Available tags:
  1331. ; <label-mounted> (default)
  1332. ; <bar-free>
  1333. ; <bar-used>
  1334. ; <ramp-capacity>
  1335. format-mounted = <label-mounted>
  1336. format-mounted-foreground = ${colors.foreground}
  1337. format-mounted-background = ${colors.background}
  1338. ;format-mounted-underline = #704214
  1339.  
  1340. ; Available tokens:
  1341. ; %mountpoint%
  1342. ; %type%
  1343. ; %fsname%
  1344. ; %percentage_free%
  1345. ; %percentage_used%
  1346. ; %total%
  1347. ; %free%
  1348. ; %used%
  1349. ; Default: %mountpoint% %percentage_free%%
  1350. label-mounted = %mountpoint% : %percentage_free%% free of %total%
  1351.  
  1352. ; Available tokens:
  1353. ; %mountpoint%
  1354. ; Default: %mountpoint% is not mounted
  1355. label-unmounted = %mountpoint% not mounted
  1356. format-unmounted-foreground = ${colors.foreground}
  1357. format-unmounted-background = ${colors.background}
  1358. ;format-unmounted-underline = ${colors.alert}
  1359.  
  1360. ################################################################################
  1361.  
  1362. [module/kernel]
  1363. type = custom/script
  1364. exec = uname -r
  1365. tail = false
  1366. interval = 1024
  1367.  
  1368. format-foreground = ${colors.foreground}
  1369. format-background = ${colors.background}
  1370. format-prefix = "  "
  1371. format-prefix-foreground = #980E00
  1372. ;format-underline = #704214
  1373.  
  1374. ################################################################################
  1375.  
  1376. [module/jgmenu]
  1377. type = custom/script
  1378. interval = 120
  1379. exec = echo "Jgmenu"
  1380. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1381. format-foreground = ${colors.foreground}
  1382. format-background = ${colors.background}
  1383.  
  1384. ################################################################################
  1385.  
  1386. [module/load-average]
  1387. type = custom/script
  1388. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1389. interval = 100
  1390.  
  1391. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1392. ;label = %output%
  1393. label = %output:10%
  1394.  
  1395. format-foreground = ${colors.foreground}
  1396. format-background = ${colors.background}
  1397. format-prefix = "  "
  1398. format-prefix-foreground = #980E00
  1399. ;format-underline = #704214
  1400.  
  1401. ################################################################################
  1402.  
  1403. [module/memory1]
  1404. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1405. type = internal/memory
  1406. interval = 1
  1407. ; Available tokens:
  1408. ; %percentage_used% (default)
  1409. ; %percentage_free%
  1410. ; %gb_used%
  1411. ; %gb_free%
  1412. ; %gb_total%
  1413. ; %mb_used%
  1414. ; %mb_free%
  1415. ; %mb_total%
  1416. label = %percentage_used%%
  1417. bar-used-indicator = 
  1418. bar-used-width = 10
  1419. bar-used-foreground-0 = #ECD7AC
  1420. bar-used-fill = 
  1421. bar-used-empty = 
  1422. bar-used-empty-foreground = #6c6761
  1423.  
  1424. format = <label> <bar-used>
  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. [module/memory2]
  1434. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1435. type = internal/memory
  1436. interval = 1
  1437. ; Available tokens:
  1438. ; %percentage_used% (default)
  1439. ; %percentage_free%
  1440. ; %gb_used%
  1441. ; %gb_free%
  1442. ; %gb_total%
  1443. ; %mb_used%
  1444. ; %mb_free%
  1445. ; %mb_total%
  1446. label = %percentage_used%%
  1447.  
  1448. format = Mem <label>
  1449. format-prefix = "  "
  1450. format-prefix-foreground = #980E00
  1451. ;format-underline = #704214
  1452. format-foreground = ${colors.foreground}
  1453. format-background = ${colors.background}
  1454.  
  1455. ################################################################################
  1456.  
  1457. [module/memory3]
  1458. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1459. type = internal/memory
  1460. interval = 1
  1461. ; Available tokens:
  1462. ; %percentage_used% (default)
  1463. ; %percentage_free%
  1464. ; %gb_used%
  1465. ; %gb_free%
  1466. ; %gb_total%
  1467. ; %mb_used%
  1468. ; %mb_free%
  1469. ; %mb_total%
  1470. label = %gb_used%/%gb_free%
  1471.  
  1472. format = Mem <label>
  1473. format-prefix = "  "
  1474. format-prefix-foreground = #980E00
  1475. ;format-underline = #704214
  1476. format-foreground = ${colors.foreground}
  1477. format-background = ${colors.background}
  1478.  
  1479.  
  1480. ################################################################################
  1481.  
  1482. [module/mpd]
  1483. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1484. type = internal/mpd
  1485. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1486. format-online = "<label-song> <bar-progress>"
  1487. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1488. icon-prev = 
  1489. icon-stop = 
  1490. icon-play = 
  1491. icon-pause = 
  1492. icon-next = 
  1493. label-song-maxlen = 40
  1494. label-song-ellipsis = true
  1495. bar-progress-width = 10
  1496. bar-progress-indicator = 
  1497. bar-progress-fill = 
  1498. bar-progress-empty = 
  1499. bar-progress-fill-foreground = #ff0
  1500. bar-progress-fill-background = ${colors.background}
  1501. bar-progress-indicator-foreground = ${colors.foreground}
  1502. format-online-foreground = ${colors.foreground}
  1503. format-online-background = ${colors.background}
  1504.  
  1505. ################################################################################
  1506.  
  1507. [module/networkspeedup]
  1508. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1509. type = internal/network
  1510. interface = enp6s0
  1511. label-connected = "%upspeed:7%"
  1512. format-connected = <label-connected>
  1513. format-connected-prefix = ""
  1514. format-connected-prefix-foreground = #cb410b
  1515. format-connected-foreground = ${colors.foreground}
  1516. format-connected-background = ${colors.background}
  1517. ;format-connected-underline = #704214
  1518.  
  1519. ################################################################################
  1520.  
  1521. [module/networkspeeddown]
  1522. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1523. type = internal/network
  1524. interface = enp6s0
  1525. label-connected = "%downspeed:7%"
  1526. format-connected = <label-connected>
  1527. format-connected-prefix = ""
  1528. format-connected-prefix-foreground = #7C0A02
  1529. format-connected-foreground = ${colors.foreground}
  1530. format-connected-background = ${colors.background}
  1531. ;format-connected-underline = #704214
  1532.  
  1533. ################################################################################
  1534.  
  1535. [module/pacman-updates]
  1536. type = custom/script
  1537. ;exec = pacman -Qu | wc -l
  1538. exec = checkupdates | wc -l
  1539. interval = 1000
  1540. label = Repo: %output%
  1541. format-foreground = ${colors.foreground}
  1542. format-background = ${colors.background}
  1543. format-prefix = "  "
  1544. format-prefix-foreground = #980E00
  1545. ;format-underline = #704214
  1546.  
  1547. ################################################################################
  1548.  
  1549. [module/pamac-manager]
  1550. type = custom/script
  1551. exec = pamac checkupdates -q | wc -l
  1552. interval = 1000
  1553. label = Pamac : %output%
  1554. tail = true
  1555. format-foreground = ${colors.foreground}
  1556. format-background = ${colors.background}
  1557. format-prefix-foreground = #980E00
  1558. ;format-underline = #704214
  1559. click-right = pamac-manager &
  1560. click-left = pamac-manager &
  1561. format-prefix = " "
  1562.  
  1563. ################################################################################
  1564.  
  1565. [module/pavolume]
  1566. type = custom/script
  1567. tail = true
  1568. label = %output%
  1569. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1570. click-right = exec pavucontrol
  1571. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1572. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1573. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1574. ;format-underline = #704214
  1575. format-foreground = ${colors.foreground}
  1576. format-background = ${colors.background}
  1577.  
  1578. ################################################################################
  1579.  
  1580. [module/pub-ip]
  1581. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1582. type = custom/script
  1583. exec = ~/.config/polybar/scripts/pub-ip.sh
  1584. interval = 100
  1585. format-foreground = ${colors.foreground}
  1586. format-background = ${colors.background}
  1587. format-underline = #FFBB00
  1588. label = %output%
  1589. format-prefix = "  "
  1590. format-prefix-foreground = #FFBB00
  1591.  
  1592. ################################################################################
  1593.  
  1594. [module/release]
  1595. type = custom/script
  1596. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1597. interval = 6000
  1598.  
  1599. format-foreground = ${colors.foreground}
  1600. format-background = ${colors.background}
  1601. format-prefix = "  "
  1602. format-prefix-foreground = #980E00
  1603. ;format-underline = #704214
  1604.  
  1605. ################################################################################
  1606.  
  1607. [module/sep]
  1608. ; alternative separator
  1609. type = custom/text
  1610. content = 
  1611. content-foreground = ${colors.foreground}
  1612. content-background = ${colors.background}
  1613. format-foreground = ${colors.foreground}
  1614. format-background = ${colors.background}
  1615.  
  1616. ################################################################################
  1617.  
  1618. [module/spotify1]
  1619. ;https://github.com/NicholasFeldman/dotfiles/blob/master/polybar/.config/polybar/spotify.sh
  1620. type = custom/script
  1621. exec = ~/.config/polybar/scripts/spotify1.sh
  1622. interval = 1
  1623.  
  1624. ;format = <label>
  1625. format-foreground = ${colors.foreground}
  1626. format-background = ${colors.background}
  1627. format-padding = 2
  1628. format-underline = #0f0
  1629. format-prefix = " "
  1630. format-prefix-foreground = #0f0
  1631. label = %output:0:150%
  1632.  
  1633. ################################################################################
  1634.  
  1635. [module/temperature1]
  1636. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1637. type = internal/temperature
  1638. ; Thermal zone to use
  1639. ; To list all the zone types, run
  1640. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1641. ; Default: 0
  1642. thermal-zone = 0
  1643.  
  1644. ; Full path of temperature sysfs path
  1645. ; Use `sensors` to find preferred temperature source, then run
  1646. ; $ 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
  1647. ; to find path to desired file
  1648. ; Default reverts to thermal zone setting
  1649. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1650.  
  1651. warn-temperature = 70
  1652. format = <ramp> <label>
  1653. format-foreground = ${colors.foreground}
  1654. format-background = ${colors.background}
  1655. ;format-underline = #704214
  1656. format-warn = <ramp> <label-warn>
  1657. format-warn-underline = #c7254f
  1658. label = %temperature%
  1659. label-warn =  %temperature%
  1660. label-warn-foreground = #c7254f
  1661.  
  1662. ramp-0 = 
  1663. ramp-1 = 
  1664. ramp-2 = 
  1665. ramp-3 = 
  1666. ramp-4 = 
  1667. ramp-foreground =${colors.foreground}
  1668.  
  1669. ################################################################################
  1670.  
  1671. [module/temperature2]
  1672. type = custom/script
  1673. exec = ~/.config/polybar/scripts/tempcores.sh
  1674. interval = 2
  1675. format-padding = 1
  1676. format-foreground = ${colors.foreground}
  1677. format-background = ${colors.background}
  1678. ;format-underline = #704214
  1679. format-prefix-foreground = #C1B93E
  1680. label =  %output:0:150:%
  1681.  
  1682. ################################################################################
  1683.  
  1684. [module/uptime]
  1685. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1686. type = custom/script
  1687. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1688. interval = 100
  1689. label = Uptime : %output%
  1690.  
  1691. format-foreground = ${colors.foreground}
  1692. format-background = ${colors.background}
  1693. format-prefix = " "
  1694. format-prefix-foreground = #980E00
  1695. ;format-underline = #704214
  1696.  
  1697. ################################################################################
  1698.  
  1699. [module/variety]
  1700. type = custom/script
  1701. exec = echo " Variety"
  1702. ;exec = echo " "
  1703. interval = 1
  1704. tail = true
  1705. format-foreground = ${colors.foreground}
  1706. format-background = ${colors.background}
  1707. format-prefix = ""
  1708. format-prefix-foreground = #980E00
  1709. ;format-underline = #704214
  1710. click-right = variety --preferences
  1711. click-left = variety --selector
  1712.  
  1713. ################################################################################
  1714.  
  1715. [module/volume]
  1716. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1717. type = internal/volume
  1718. format-volume = "<label-volume> <bar-volume>"
  1719.  
  1720. label-volume = " "
  1721. label-volume-foreground = #980E00
  1722. label-muted = muted
  1723.  
  1724. bar-volume-width = 10
  1725. bar-volume-foreground-0 = #FFF1C6
  1726. bar-volume-foreground-1 = #E6D8AD
  1727. bar-volume-foreground-2 = #CCBE93
  1728. bar-volume-foreground-3 = #B3A57A
  1729. bar-volume-foreground-4 = #998B60
  1730. bar-volume-foreground-5 = #807247
  1731. bar-volume-foreground-6 = #66582D
  1732. bar-volume-foreground-7 = #4D3F14
  1733. bar-volume-foreground-8 = #332500
  1734. bar-volume-gradient = true
  1735. bar-volume-indicator = 
  1736. bar-volume-indicator-font = 2
  1737. bar-volume-fill = 
  1738. bar-volume-fill-font = 2
  1739. bar-volume-empty = 
  1740. bar-volume-empty-font = 2
  1741. bar-volume-empty-foreground = ${colors.foreground}
  1742. format-volume-foreground = ${colors.foreground}
  1743. format-volume-background = ${colors.background}
  1744. format-muted-prefix = "  "
  1745. format-muted-prefix-foreground = "#ff0000"
  1746. format-muted-foreground = ${colors.foreground}
  1747. format-muted-background = ${colors.background}
  1748.  
  1749. ################################################################################
  1750.  
  1751. [module/weather]
  1752. type = custom/script
  1753. interval = 10
  1754. format = <label>
  1755. format-prefix = " "
  1756. format-prefix-foreground = #980E00
  1757. ;format-underline = #704214
  1758. format-foreground = ${colors.foreground}
  1759. format-background = ${colors.background}
  1760. exec = python -u ~/.config/polybar/scripts/weather.py
  1761. tail = true
  1762.  
  1763. #################################################################################
  1764.  
  1765. [module/wired-network]
  1766. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1767. type = internal/network
  1768. interface = enp6s0
  1769. interval = 3.0
  1770.  
  1771. ; Available tokens:
  1772. ; %ifname% [wireless+wired]
  1773. ; %local_ip% [wireless+wired]
  1774. ; %essid% [wireless]
  1775. ; %signal% [wireless]
  1776. ; %upspeed% [wireless+wired]
  1777. ; %downspeed% [wireless+wired]
  1778. ; %linkspeed% [wired]
  1779. ; Default: %ifname% %local_ip%
  1780. label-connected = %ifname%
  1781. label-disconnected = %ifname% disconnected
  1782.  
  1783. format-connected-foreground = ${colors.foreground}
  1784. format-connected-background = ${colors.background}
  1785. ;format-connected-underline = #704214
  1786. format-connected-prefix = " "
  1787. ;format-connected-prefix-foreground = #704214
  1788. format-connected-prefix-background = ${colors.background}
  1789.  
  1790. format-disconnected = <label-disconnected>
  1791. format-disconnected-underline = ${colors.alert}
  1792. label-disconnected-foreground = ${colors.foreground}
  1793.  
  1794. ################################################################################
  1795.  
  1796. [module/wireless-network]
  1797. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1798. type = internal/network
  1799. interface = wlp3s0
  1800. interval = 3.0
  1801. label-connected = %essid%
  1802.  
  1803. format-connected = <label-connected>
  1804. ;format-connected = <ramp-signal> <label-connected>
  1805. format-connected-foreground = ${colors.foreground}
  1806. format-connected-background = ${colors.background}
  1807. format-connected-prefix = "  "
  1808. format-connected-prefix-foreground = #7e52c6
  1809. format-connected-prefix-background = ${colors.background}
  1810. ;format-connected-underline = #704214
  1811.  
  1812. label-disconnected = %ifname% disconnected
  1813. label-disconnected-foreground = ${colors.alert}
  1814. label-disconnected-background = ${colors.background}
  1815.  
  1816. format-disconnected = <label-disconnected>
  1817. format-disconnected-foreground = ${colors.alert}
  1818. format-disconnected-background = ${colors.background}
  1819. format-disconnected-prefix = "  "
  1820. format-disconnected-prefix-foreground = ${colors.alert}
  1821. format-disconnected-prefix-background = ${colors.background}
  1822. format-disconnected-underline =${colors.alert}
  1823.  
  1824. ramp-signal-0 = ▁
  1825. ramp-signal-1 = ▂
  1826. ramp-signal-2 = ▃
  1827. ramp-signal-3 = ▄
  1828. ramp-signal-4 = ▅
  1829. ramp-signal-5 = ▆
  1830. ramp-signal-6 = ▇
  1831. ramp-signal-7 = █
  1832. ramp-signal-foreground = #7e52c6
  1833.  
  1834. ################################################################################
  1835.  
  1836. [module/xbacklight]
  1837. ;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
  1838. type = internal/xbacklight
  1839. format = <label> <bar>
  1840. format-prefix = "  "
  1841. format-prefix-foreground = ${colors.foreground}
  1842. format-prefix-background = ${colors.background}
  1843. format-prefix-underline = #9f78e1
  1844. format-underline = #9f78e1
  1845. label = %percentage%%
  1846. bar-width = 10
  1847. bar-indicator = 
  1848. bar-indicator-foreground = #fff
  1849. bar-indicator-font = 2
  1850. bar-fill = 
  1851. bar-fill-font = 2
  1852. bar-fill-foreground = #9f78e1
  1853. bar-empty = 
  1854. bar-empty-font = 2
  1855. bar-empty-foreground = #fff
  1856. format-foreground = ${colors.foreground}
  1857. format-background = ${colors.background}
  1858.  
  1859. ################################################################################
  1860.  
  1861. [module/xkeyboard]
  1862. ;https://github.com/jaagr/polybar/wiki/Module:-xkeyboard
  1863. type = internal/xkeyboard
  1864. blacklist-0 = num lock
  1865.  
  1866. format-prefix = " "
  1867. format-prefix-foreground = ${colors.foreground}
  1868. format-prefix-background = ${colors.background}
  1869. format-prefix-underline = #3ecfb2
  1870. format-foreground = ${colors.foreground}
  1871. format-background = ${colors.background}
  1872.  
  1873. label-layout = %layout%
  1874. label-layout-underline = #3ecfb2
  1875. label-indicator-padding = 2
  1876. label-indicator-margin = 1
  1877. label-indicator-background = ${colors.background}
  1878. label-indicator-underline = ${colors.foreground}
  1879.  
  1880. ################################################################################
  1881.  
  1882. [module/xwindow]
  1883. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1884. type = internal/xwindow
  1885.  
  1886. ; Available tokens:
  1887. ; %title%
  1888. ; Default: %title%
  1889. label = %title%
  1890. label-maxlen = 50
  1891.  
  1892. format-foreground = ${colors.foreground}
  1893. format-background = ${colors.background}
  1894.  
  1895. ###############################################################################
  1896.  
Advertisement
Add Comment
Please, Sign In to add comment