poetician

Salon | Polybar

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