poetician

Polybar | HP | Arco

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