poetician

Polybar i3 | Lampadaire 0263 | New Opacity Settings

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