poetician

Polybar for Bspwm | In VirtualBx | Two Bars

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