Advertisement
poetician

Polybar | i3 | HP | ArcoLinux | Orange

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