poetician

Polybar Wmderland | HP-8000 | ArcoLinux Colors

Nov 13th, 2021
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.49 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 = "Jura:size=13;0"
  119. font-1 = "FontAwesome:size=11;0"
  120. font-2 = "Jura:size=11;0"
  121. font-3 = "FantasqueSansMono:size=12;0"
  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 = "Wallpoet_Regular:size=13;0"
  510. font-1 = "FontAwesome:size=12;0"
  511. font-2 = "Wallpoet_Regular:size=12;0"
  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/backlight-acpi]
  1099. inherit = module/xbacklight
  1100. type = internal/backlight
  1101. card = intel_backlight
  1102. format-foreground = ${colors.foreground}
  1103. format-background = #00000000
  1104. format-prefix-foreground = #7D49B6
  1105. format-prefix-underline = #7D49B6
  1106. ;format-underline = $(colors.format-underline)
  1107. ################################################################################
  1108.  
  1109. [module/backlight]
  1110. ;https://github.com/jaagr/polybar/wiki/Module:-backlight
  1111.  
  1112. type = internal/backlight
  1113.  
  1114. ; Use the following command to list available cards:
  1115. ; $ ls -1 /sys/class/backlight/
  1116. card = intel_backlight
  1117.  
  1118. ; Available tags:
  1119. ; <label> (default)
  1120. ; <ramp>
  1121. ; <bar>
  1122. format = <label>
  1123. format-foreground = ${colors.foreground}
  1124. format-background = #00000000
  1125.  
  1126. ; Available tokens:
  1127. ; %percentage% (default)
  1128. label = %percentage%%
  1129.  
  1130. ; Only applies if <ramp> is used
  1131. ramp-0 = 🌕
  1132. ramp-1 = 🌔
  1133. ramp-2 = 🌓
  1134. ramp-3 = 🌒
  1135. ramp-4 = 🌑
  1136.  
  1137. ; Only applies if <bar> is used
  1138. bar-width = 10
  1139. bar-indicator = |
  1140. bar-fill = ─
  1141. bar-empty = ─
  1142.  
  1143. ################################################################################
  1144.  
  1145. [module/battery]
  1146. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  1147. type = internal/battery
  1148. battery = BAT0
  1149. adapter = AC0
  1150. full-at = 100
  1151.  
  1152. format-charging = <animation-charging> <label-charging>
  1153. label-charging =  %percentage%%
  1154. format-charging-foreground = ${colors.foreground}
  1155. format-charging-background = #00000000
  1156. format-charging-underline = #6790EB
  1157.  
  1158. format-discharging = <ramp-capacity> <label-discharging>
  1159. label-discharging =  %percentage%%
  1160. format-discharging-underline = #c7ae25
  1161. format-discharging-foreground = ${colors.foreground}
  1162. format-discharging-background = #00000000
  1163.  
  1164. format-full-prefix = " "
  1165. format-full-prefix-foreground = #a3c725
  1166. format-full-underline = #a3c725
  1167. format-full-foreground = ${colors.foreground}
  1168. format-full-background = #00000000
  1169.  
  1170. ramp-capacity-0 = 
  1171. ramp-capacity-1 = 
  1172. ramp-capacity-2 = 
  1173. ramp-capacity-3 = 
  1174. ramp-capacity-4 = 
  1175. ramp-capacity-foreground = #c7ae25
  1176.  
  1177. animation-charging-0 = 
  1178. animation-charging-1 = 
  1179. animation-charging-2 = 
  1180. animation-charging-3 = 
  1181. animation-charging-4 = 
  1182. animation-charging-foreground = #a3c725
  1183. animation-charging-framerate = 750
  1184.  
  1185. ################################################################################
  1186.  
  1187. [module/cpu1]
  1188. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1189. type = internal/cpu
  1190. ; Seconds to sleep between updates
  1191. ; Default: 1
  1192. interval = 1
  1193. format-foreground = ${colors.foreground}
  1194. format-background = #00000000
  1195. ;   
  1196. format-prefix = " "
  1197. format-prefix-foreground = #394349
  1198. format-underline = $(colors.format-underline)
  1199.  
  1200. ; Available tags:
  1201. ; <label> (default)
  1202. ; <bar-load>
  1203. ; <ramp-load>
  1204. ; <ramp-coreload>
  1205. format = <label> <ramp-coreload>
  1206.  
  1207. format-padding = 2
  1208.  
  1209. ; Available tokens:
  1210. ; %percentage% (default) - total cpu load
  1211. ; %percentage-cores% - load percentage for each core
  1212. ; %percentage-core[1-9]% - load percentage for specific core
  1213. label-font = 3
  1214. label = Cpu %percentage:3%%
  1215. ramp-coreload-0 = ▁
  1216. ramp-coreload-0-font = 3
  1217. ramp-coreload-0-foreground = #aaff77
  1218. ramp-coreload-1 = ▂
  1219. ramp-coreload-1-font = 3
  1220. ramp-coreload-1-foreground = #aaff77
  1221. ramp-coreload-2 = ▃
  1222. ramp-coreload-2-font = 3
  1223. ramp-coreload-2-foreground = #aaff77
  1224. ramp-coreload-3 = ▄
  1225. ramp-coreload-3-font = 3
  1226. ramp-coreload-3-foreground = #aaff77
  1227. ramp-coreload-4 = ▅
  1228. ramp-coreload-4-font = 3
  1229. ramp-coreload-4-foreground = #fba922
  1230. ramp-coreload-5 = ▆
  1231. ramp-coreload-5-font = 3
  1232. ramp-coreload-5-foreground = #fba922
  1233. ramp-coreload-6 = ▇
  1234. ramp-coreload-6-font = 3
  1235. ramp-coreload-6-foreground = #ff5555
  1236. ramp-coreload-7 = █
  1237. ramp-coreload-7-font = 3
  1238. ramp-coreload-7-foreground = #ff5555
  1239.  
  1240. ################################################################################
  1241.  
  1242. [module/cpu2]
  1243. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1244. type = internal/cpu
  1245. ; Seconds to sleep between updates
  1246. ; Default: 1
  1247. interval = 1
  1248. format-foreground = ${colors.foreground}
  1249. format-background = #00000000
  1250. format-prefix = "  "
  1251. ;format-prefix-foreground = #394349
  1252. format-underline = #6790EB
  1253.  
  1254. label-font = 3
  1255.  
  1256. ; Available tags:
  1257. ; <label> (default)
  1258. ; <bar-load>
  1259. ; <ramp-load>
  1260. ; <ramp-coreload>
  1261. format = <label>
  1262.  
  1263. format-padding = 2
  1264.  
  1265. ; Available tokens:
  1266. ; %percentage% (default) - total cpu load
  1267. ; %percentage-cores% - load percentage for each core
  1268. ; %percentage-core[1-9]% - load percentage for specific core
  1269. label = Cpu %percentage:3%%
  1270.  
  1271. ################################################################################
  1272.  
  1273. [module/date]
  1274. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1275. type = internal/date
  1276. ; Seconds to sleep between updates
  1277. interval = 60
  1278. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1279. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1280. ;date = " %c "
  1281. date = " %A, %B %d, %Y "
  1282. date-alt = " %d-%m-%Y"
  1283. time = " l'heure est: %H:%M "
  1284. time-alt = %H:%M
  1285. format-prefix = "  "
  1286. format-prefix-foreground = #FFDDC5
  1287. format-underline = #6790EB
  1288. format-foreground = ${colors.foreground}
  1289. format-background = #00000000
  1290. label = %date% %time%
  1291.  
  1292. #################################################################
  1293.  
  1294. [module/discord]
  1295. type = custom/script
  1296. exec = echo " Discord "
  1297. ;exec = echo " "
  1298. interval = 1
  1299. tail = true
  1300. format-foreground = ${colors.foreground}
  1301. format-background = $#00000000
  1302. format-prefix-foreground = #394349
  1303. format-underline = $(colors.format-underline)
  1304. click-left = discord &
  1305. click-right = killall Discord && killall Discord
  1306. format-prefix = ""
  1307.  
  1308. #################################################################
  1309.  
  1310. [module/ewmh]
  1311. type = internal/xworkspaces
  1312.  
  1313. pin-workspaces = true
  1314. enable-click = true
  1315. enable-scroll = true
  1316. reverse-scroll = true
  1317.  
  1318. icon-0 = 1;
  1319. icon-1 = 2;
  1320. icon-2 = 3;
  1321. icon-3 = 4;
  1322. icon-4 = 5;
  1323. icon-5 = 6;
  1324. icon-6 = 7;
  1325. icon-7 = 8;
  1326. icon-8 = 9;
  1327. format = <label-state>
  1328. label-monitor = %name%
  1329.  
  1330. label-active = %name%
  1331. label-active-foreground = #6790EB
  1332. label-active-background = #00000000
  1333. label-active-underline = #f7e768
  1334. label-active-padding = 2
  1335.  
  1336. label-occupied = %name%
  1337. label-occupied-background = #00000000
  1338. label-occupied-padding = 2
  1339.  
  1340. label-urgent = %name%
  1341. label-urgent-foreground = ${colors.foreground}
  1342. ;label-urgent-background = ${colors.alert}
  1343. ;label-urgent-underline = ${colors.alert}
  1344. label-urgent-padding = 2
  1345.  
  1346. label-empty = %name%
  1347. label-empty-foreground = ${colors.foreground}
  1348. label-empty-padding = 2
  1349. format-foreground = ${colors.foreground}
  1350. format-background = #00000000
  1351.  
  1352. ################################################################################
  1353.  
  1354. [module/filesystem]
  1355. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1356. type = internal/fs
  1357.  
  1358. ; Mountpoints to display
  1359. mount-0 = /
  1360. ;mount-1 = /home
  1361. ;mount-2 = /var
  1362.  
  1363. ; Seconds to sleep between updates
  1364. ; Default: 30
  1365. interval = 30
  1366.  
  1367. ; Display fixed precision values
  1368. ; Default: false
  1369. fixed-values = false
  1370.  
  1371. ; Spacing between entries
  1372. ; Default: 2
  1373. spacing = 4
  1374.  
  1375. ; Available tags:
  1376. ; <label-mounted> (default)
  1377. ; <bar-free>
  1378. ; <bar-used>
  1379. ; <ramp-capacity>
  1380. format-mounted = <label-mounted>
  1381. format-mounted-foreground = ${colors.foreground}
  1382. format-mounted-background = #00000000
  1383. format-mounted-underline = #6790EB
  1384.  
  1385. ; Available tokens:
  1386. ; %mountpoint%
  1387. ; %type%
  1388. ; %fsname%
  1389. ; %percentage_free%
  1390. ; %percentage_used%
  1391. ; %total%
  1392. ; %free%
  1393. ; %used%
  1394. ; Default: %mountpoint% %percentage_free%%
  1395. label-mounted = %mountpoint% : %used% used of %total%
  1396.  
  1397. ; Available tokens:
  1398. ; %mountpoint%
  1399. ; Default: %mountpoint% is not mounted
  1400. label-unmounted = %mountpoint% not mounted
  1401. format-unmounted-foreground = ${colors.foreground}
  1402. format-unmounted-background = #00000000
  1403. format-unmounted-underline = ${colors.alert}
  1404.  
  1405. ################################################################################
  1406.  
  1407. [module/kernel]
  1408. type = custom/script
  1409. exec = uname -r
  1410. tail = false
  1411. interval = 1024
  1412.  
  1413. format-foreground = ${colors.foreground}
  1414. format-background = #00000000
  1415. format-prefix = "  "
  1416. ;format-prefix-foreground = #394349
  1417. format-underline = $(colors.format-underline)
  1418.  
  1419. ################################################################################
  1420.  
  1421. [module/jgmenu]
  1422. type = custom/script
  1423. interval = 120
  1424. exec = echo "ArcoLinux"
  1425. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1426. format-foreground = ${colors.foreground}
  1427. format-background = #00000000
  1428.  
  1429. ################################################################################
  1430.  
  1431. [module/load-average]
  1432. type = custom/script
  1433. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1434. interval = 100
  1435.  
  1436. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1437. ;label = %output%
  1438. label = %output:10%
  1439.  
  1440. format-foreground = ${colors.foreground}
  1441. format-background = #00000000
  1442. format-prefix = "  "
  1443. ;format-prefix-foreground = #394349
  1444. format-underline = #6790EB
  1445.  
  1446. ################################################################################
  1447.  
  1448. [module/memory1]
  1449. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1450. type = internal/memory
  1451. interval = 1
  1452. ; Available tokens:
  1453. ; %percentage_used% (default)
  1454. ; %percentage_free%
  1455. ; %gb_used%
  1456. ; %gb_free%
  1457. ; %gb_total%
  1458. ; %mb_used%
  1459. ; %mb_free%
  1460. ; %mb_total%
  1461. label = %percentage_used%%
  1462. bar-used-indicator =
  1463. bar-used-width = 10
  1464. bar-used-foreground-0 = #3384d0
  1465. bar-used-fill = 
  1466. bar-used-empty = 
  1467. bar-used-empty-foreground = #ffffff
  1468.  
  1469. format = <label> <bar-used>
  1470. format-prefix = "  "
  1471. ;format-prefix-foreground = #394349
  1472. format-underline = #6790EB
  1473. format-foreground = ${colors.foreground}
  1474. format-background = #00000000
  1475.  
  1476. ################################################################################
  1477.  
  1478. [module/memory2]
  1479. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1480. type = internal/memory
  1481. interval = 1
  1482. ; Available tokens:
  1483. ; %percentage_used% (default)
  1484. ; %percentage_free%
  1485. ; %gb_used%
  1486. ; %gb_free%
  1487. ; %gb_total%
  1488. ; %mb_used%
  1489. ; %mb_free%
  1490. ; %mb_total%
  1491. label = %percentage_used%%
  1492.  
  1493. format = Mem <label>
  1494. format-prefix = "  "
  1495. ;format-prefix-foreground = #394349
  1496. format-underline = $(colors.format-underline)
  1497. format-foreground = ${colors.foreground}
  1498. format-background = #00000000
  1499.  
  1500. ################################################################################
  1501.  
  1502. [module/memory3]
  1503. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1504. type = internal/memory
  1505. interval = 1
  1506. ; Available tokens:
  1507. ; %percentage_used% (default)
  1508. ; %percentage_free%
  1509. ; %gb_used%
  1510. ; %gb_free%
  1511. ; %gb_total%
  1512. ; %mb_used%
  1513. ; %mb_free%
  1514. ; %mb_total%
  1515. label = %gb_used%/%gb_free%
  1516.  
  1517. format = Mem <label>
  1518. format-prefix = "  "
  1519. ;format-prefix-foreground = #394349
  1520. format-underline = #6790EB
  1521. format-foreground = ${colors.foreground}
  1522. format-background = #00000000
  1523.  
  1524. ################################################################################
  1525.  
  1526. [module/mpd]
  1527. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1528. type = internal/mpd
  1529. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1530. format-online = "<label-song> <bar-progress>"
  1531. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1532. icon-prev = 
  1533. icon-stop = 
  1534. icon-play = 
  1535. icon-pause = 
  1536. icon-next = 
  1537. label-song-maxlen = 40
  1538. label-song-ellipsis = true
  1539. bar-progress-width = 10
  1540. bar-progress-indicator = 
  1541. bar-progress-fill = 
  1542. bar-progress-empty = 
  1543. bar-progress-fill-foreground = #ff0
  1544. bar-progress-fill-background = #00000000
  1545. bar-progress-indicator-foreground = ${colors.foreground}
  1546. format-online-foreground = ${colors.foreground}
  1547. format-online-background = #00000000
  1548. ################################################################################
  1549.  
  1550. [module/networkspeedup]
  1551. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1552. type = internal/network
  1553. interface = enp0s25
  1554. label-connected = "%upspeed:7%"
  1555. format-connected = <label-connected>
  1556. format-connected-prefix = ""
  1557. ;format-connected-prefix-foreground = #2C2616
  1558. format-connected-foreground = ${colors.foreground}
  1559. format-connected-background = #00000000
  1560. format-connected-underline = #6790EB
  1561.  
  1562. ################################################################################
  1563.  
  1564. [module/networkspeeddown]
  1565. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1566. type = internal/network
  1567. interface = enp0s25
  1568. ;interface = enp4s0
  1569. label-connected = "%downspeed:7%"
  1570. format-connected = <label-connected>
  1571. format-connected-prefix = ""
  1572. ;format-connected-prefix-foreground = #394349
  1573. format-connected-foreground = ${colors.foreground}
  1574. format-connected-background = #00000000
  1575. format-connected-underline = #6790EB
  1576.  
  1577. ################################################################################
  1578.  
  1579. [module/pacman-updates]
  1580. type = custom/script
  1581. ;exec = pacman -Qu | wc -l
  1582. exec = checkupdates | wc -l
  1583. interval = 1000
  1584. label = Repo: %output%
  1585. format-foreground = ${colors.foreground}
  1586. format-background = #00000000
  1587. format-prefix = "  "
  1588. ;format-prefix-foreground = #394349
  1589. format-underline = $(colors.format-underline)
  1590.  
  1591. ################################################################################
  1592.  
  1593. [module/pamac-manager]
  1594. type = custom/script
  1595. exec = pamac checkupdates -q | wc -l
  1596. interval = 1000
  1597. label = Pamac : %output%
  1598. tail = true
  1599. format-foreground = ${colors.foreground}
  1600. format-background = #00000000
  1601. ;format-prefix-foreground = #394349
  1602. format-underline = $(colors.format-underline)
  1603. click-right = pamac-manager &
  1604. click-left = pamac-manager &
  1605. format-prefix = " "
  1606.  
  1607. ################################################################################
  1608.  
  1609. [module/pavolume]
  1610. type = custom/script
  1611. tail = true
  1612. label = %output%
  1613. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1614. click-right = exec pavucontrol
  1615. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1616. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1617. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1618. format-underline = $(colors.format-underline)
  1619. format-foreground = ${colors.foreground}
  1620. format-background = #00000000
  1621.  
  1622. ################################################################################
  1623.  
  1624. [module/polywins]
  1625. type = custom/script
  1626. exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
  1627. format = <label>
  1628. label = %output%
  1629. label-padding = 1
  1630. tail = true
  1631.  
  1632. ################################################################################
  1633.  
  1634. [module/pub-ip]
  1635. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1636. type = custom/script
  1637. exec = ~/.config/polybar/scripts/pub-ip.sh
  1638. interval = 100
  1639. format-foreground = ${colors.foreground}
  1640. format-background = #00000000
  1641. ;format-underline = #e7ebde
  1642. label = %output%
  1643. format-prefix = "  "
  1644. ;format-prefix-foreground = #394349
  1645.  
  1646. ################################################################################
  1647.  
  1648. [module/release]
  1649. type = custom/script
  1650. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1651. interval = 6000
  1652.  
  1653. format-foreground = ${colors.foreground}
  1654. format-background = #00000000
  1655. format-prefix = "  "
  1656. ;format-prefix-foreground = #394349
  1657. format-underline = $(colors.format-underline)
  1658.  
  1659. ################################################################################
  1660.  
  1661. [module/sep]
  1662. ; alternative separator
  1663. type = custom/text
  1664. content = 
  1665. content-foreground = ${colors.foreground}
  1666. content-background = #00000000
  1667. format-foreground = ${colors.foreground}
  1668. format-background = #00000000
  1669.  
  1670. ################################################################################
  1671.  
  1672. [module/spotify1]
  1673. ;https://github.com/NicholasFeldman/dotfiles/blob/master/polybar/.config/polybar/spotify.sh
  1674. type = custom/script
  1675. exec = ~/.config/polybar/scripts/spotify1.sh
  1676. interval = 1
  1677.  
  1678. ;format = <label>
  1679. format-foreground = ${colors.foreground}
  1680. format-background = #00000000
  1681. format-padding = 2
  1682. ;format-underline = $(colors.format-underline)
  1683. format-prefix = " "
  1684. format-prefix-foreground = #394349
  1685. label = %output:0:150%
  1686.  
  1687. ################################################################################
  1688.  
  1689. [module/spotify2]
  1690. ;install zscroll
  1691. ;https://github.com/PrayagS/polybar-spotify
  1692. type = custom/script
  1693. tail = true
  1694. format-prefix = " "
  1695. format = <label>
  1696. format-foreground = ${colors.foreground}
  1697. format-background = #00000000
  1698. exec = ~/.config/polybar/scripts/scroll_spotify_status.sh
  1699.  
  1700.  
  1701. [module/spotify-prev]
  1702. type = custom/script
  1703. exec = echo ""
  1704. format = <label>
  1705. format-foreground = ${colors.foreground}
  1706. format-background = #00000000
  1707. click-left = playerctl previous spotify
  1708. click-right = spotify
  1709.  
  1710. [module/spotify-play-pause]
  1711. type = custom/ipc
  1712. hook-0 = echo ""
  1713. hook-1 = echo ""
  1714. initial = 1
  1715. format-foreground = ${colors.foreground}
  1716. format-background = #00000000
  1717. click-left = playerctl play-pause spotify
  1718. click-right = spotify
  1719.  
  1720. [module/spotify-next]
  1721. type = custom/script
  1722. exec = echo ""
  1723. format = <label>
  1724. format-foreground = ${colors.foreground}
  1725. format-background = #00000000
  1726. click-left = playerctl next spotify
  1727. click-right = spotify
  1728.  
  1729. ################################################################################
  1730.  
  1731. [module/temperature1]
  1732. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1733. type = internal/temperature
  1734. ; Thermal zone to use
  1735. ; To list all the zone types, run
  1736. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1737. ; Default: 0
  1738. thermal-zone = 0
  1739.  
  1740. ; Full path of temperature sysfs path
  1741. ; Use `sensors` to find preferred temperature source, then run
  1742. ; $ 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
  1743. ; to find path to desired file
  1744. ; Default reverts to thermal zone setting
  1745. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1746.  
  1747. warn-temperature = 70
  1748. format = <ramp> <label>
  1749. format-foreground = ${colors.foreground}
  1750. format-background = #00000000
  1751. format-underline = $(colors.format-underline)
  1752. format-warn = <ramp> <label-warn>
  1753. format-warn-underline = #c7254f
  1754. label = %temperature%
  1755. label-warn =  %temperature%
  1756. label-warn-foreground = #c7254f
  1757.  
  1758. ramp-0 = 
  1759. ramp-1 = 
  1760. ramp-2 = 
  1761. ramp-3 = 
  1762. ramp-4 = 
  1763. ramp-foreground =${colors.foreground}
  1764.  
  1765. ################################################################################
  1766.  
  1767. [module/temperature2]
  1768. type = custom/script
  1769. exec = ~/.config/polybar/scripts/tempcores.sh
  1770. interval = 2
  1771. format-padding = 1
  1772. format-foreground = ${colors.foreground}
  1773. format-background = #00000000
  1774. format-underline = $(colors.format-underline)
  1775. ;format-prefix-foreground = #394349
  1776. label =  %output:0:150:%
  1777.  
  1778. ################################################################################
  1779.  
  1780. [module/uptime]
  1781. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1782. type = custom/script
  1783. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1784. interval = 100
  1785. label = Uptime : %output%
  1786.  
  1787. format-foreground = ${colors.foreground}
  1788. format-background = #00000000
  1789. format-prefix = "  "
  1790. ;format-prefix-foreground = #394349
  1791. format-underline = #6790EB
  1792.  
  1793. ################################################################################
  1794.  
  1795. [module/variety]
  1796. type = custom/script
  1797. exec = echo " Variety"
  1798. ;exec = echo " "
  1799. interval = 1
  1800. tail = true
  1801. format-foreground = ${colors.foreground}
  1802. format-background = #00000000
  1803. format-prefix = ""
  1804. format-prefix-foreground = #394349
  1805. format-underline = $(colors.format-underline)
  1806. click-right = variety --preferences
  1807. click-left = variety --selector
  1808.  
  1809. ################################################################################
  1810.  
  1811. [module/volume]
  1812. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1813. type = internal/volume
  1814. format-volume = "<label-volume> <bar-volume>"
  1815.  
  1816. label-volume = " "
  1817. label-volume-foreground = #40ad4b
  1818. label-muted = muted
  1819.  
  1820. bar-volume-width = 10
  1821. bar-volume-foreground-0 = #40ad4b
  1822. bar-volume-foreground-1 = #40ad4b
  1823. bar-volume-foreground-2 = #40ad4b
  1824. bar-volume-foreground-3 = #40ad4b
  1825. bar-volume-foreground-4 = #40ad4b
  1826. bar-volume-foreground-5 = #40ad4b
  1827. bar-volume-foreground-6 = #40ad4b
  1828. bar-volume-gradient = false
  1829. bar-volume-indicator = 
  1830. bar-volume-indicator-font = 2
  1831. bar-volume-fill = 
  1832. bar-volume-fill-font = 2
  1833. bar-volume-empty = 
  1834. bar-volume-empty-font = 2
  1835. bar-volume-empty-foreground = ${colors.foreground}
  1836. format-volume-foreground = ${colors.foreground}
  1837. format-volume-background = #00000000
  1838. format-muted-prefix = "  "
  1839. format-muted-prefix-foreground = "#ff0000"
  1840. format-muted-foreground = ${colors.foreground}
  1841. format-muted-background = #00000000
  1842.  
  1843. ################################################################################
  1844.  
  1845. [module/weather]
  1846. type = custom/script
  1847. interval = 10
  1848. format = <label>
  1849. format-prefix = " "
  1850. ;format-prefix-foreground = #394349
  1851. format-underline = $(colors.format-underline)
  1852. format-foreground = ${colors.foreground}
  1853. format-background = #00000000
  1854. exec = python -u ~/.config/polybar/scripts/weather.py
  1855. tail = true
  1856.  
  1857. #################################################################################
  1858.  
  1859. [module/wired-network]
  1860. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1861. type = internal/network
  1862. interface = enp6s0
  1863. interval = 3.0
  1864.  
  1865. ; Available tokens:
  1866. ; %ifname% [wireless+wired]
  1867. ; %local_ip% [wireless+wired]
  1868. ; %essid% [wireless]
  1869. ; %signal% [wireless]
  1870. ; %upspeed% [wireless+wired]
  1871. ; %downspeed% [wireless+wired]
  1872. ; %linkspeed% [wired]
  1873. ; Default: %ifname% %local_ip%
  1874. label-connected = %ifname%
  1875. label-disconnected = %ifname% disconnected
  1876.  
  1877. format-connected-foreground = ${colors.foreground}
  1878. format-connected-background = #00000000
  1879. format-connected-underline = #99E2B856
  1880. format-connected-prefix = " "
  1881. ;format-connected-prefix-foreground = #394349
  1882. format-connected-prefix-background = #00000000
  1883.  
  1884. format-disconnected = <label-disconnected>
  1885. format-disconnected-underline = ${colors.alert}
  1886. label-disconnected-foreground = ${colors.foreground}
  1887.  
  1888. ################################################################################
  1889.  
  1890. [module/wireless-network]
  1891. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1892. type = internal/network
  1893. interface = wlp3s0
  1894. interval = 3.0
  1895. label-connected = %essid%
  1896.  
  1897. format-connected = <label-connected>
  1898. ;format-connected = <ramp-signal> <label-connected>
  1899. format-connected-foreground = ${colors.foreground}
  1900. format-connected-background = #00000000
  1901. format-connected-prefix = "  "
  1902. format-connected-prefix-foreground = #7e52c6
  1903. format-connected-prefix-background = #00000000
  1904. format-connected-underline = #7e52c6
  1905.  
  1906. label-disconnected = %ifname% disconnected
  1907. label-disconnected-foreground = ${colors.alert}
  1908. label-disconnected-background = #00000000
  1909.  
  1910. format-disconnected = <label-disconnected>
  1911. format-disconnected-foreground = ${colors.alert}
  1912. format-disconnected-background = #00000000
  1913. format-disconnected-prefix = "  "
  1914. format-disconnected-prefix-foreground = ${colors.alert}
  1915. format-disconnected-prefix-background = #00000000
  1916. format-disconnected-underline =${colors.alert}
  1917.  
  1918. ramp-signal-0 = ▁
  1919. ramp-signal-1 = ▂
  1920. ramp-signal-2 = ▃
  1921. ramp-signal-3 = ▄
  1922. ramp-signal-4 = ▅
  1923. ramp-signal-5 = ▆
  1924. ramp-signal-6 = ▇
  1925. ramp-signal-7 = █
  1926. ramp-signal-foreground = #7e52c6
  1927.  
  1928. ################################################################################
  1929.  
  1930. [module/xbacklight]
  1931. ;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
  1932. type = internal/xbacklight
  1933. format = <label> <bar>
  1934. format-prefix = "  "
  1935. format-prefix-foreground = ${colors.foreground}
  1936. format-prefix-background = #00000000
  1937. format-prefix-underline = #9f78e1
  1938. format-underline = #9f78e1
  1939. label = %percentage%%
  1940. bar-width = 10
  1941. bar-indicator = 
  1942. bar-indicator-foreground = #fff
  1943. bar-indicator-font = 2
  1944. bar-fill = 
  1945. bar-fill-font = 2
  1946. bar-fill-foreground = #9f78e1
  1947. bar-empty = 
  1948. bar-empty-font = 2
  1949. bar-empty-foreground = #fff
  1950. format-foreground = ${colors.foreground}
  1951. format-background = #00000000
  1952.  
  1953. ################################################################################
  1954.  
  1955. [module/xkeyboard]
  1956. ;https://github.com/jaagr/polybar/wiki/Module:-xkeyboard
  1957. type = internal/xkeyboard
  1958. blacklist-0 = num lock
  1959.  
  1960. format-prefix = " "
  1961. format-prefix-foreground = ${colors.foreground}
  1962. format-prefix-background = #00000000
  1963. format-prefix-underline = #3ecfb2
  1964. format-foreground = ${colors.foreground}
  1965. format-background = #00000000
  1966.  
  1967. label-layout = %layout%
  1968. label-layout-underline = #3ecfb2
  1969. label-indicator-padding = 2
  1970. label-indicator-margin = 1
  1971. label-indicator-background = #00000000
  1972. label-indicator-underline = ${colors.foreground}
  1973.  
  1974. ################################################################################
  1975.  
  1976. [module/xwindow]
  1977. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1978. type = internal/xwindow
  1979.  
  1980. ; Available tokens:
  1981. ; %title%
  1982. ; Default: %title%
  1983. label = %title%
  1984. label-maxlen = 100
  1985.  
  1986. format-underline = $(colors.format-underline)
  1987. format-foreground = ${colors.foreground}
  1988. format-background = #00000000
  1989.  
  1990. ###############################################################################
  1991.  
  1992. [module/xworkspaces]
  1993. type = internal/xworkspaces
  1994. pin-workspaces = true
  1995. enable-click = true
  1996. enable-scroll = false
  1997.  
  1998. format = <label-state>
  1999. format-padding = ${user.padding}
  2000. format-background = ${colors.dark1}
  2001.  
  2002. ; %index%, %name% or %icon%
  2003. label-active = %index%
  2004. label-active-foreground = ${colors.foregrounda}
  2005. label-active-padding = 2
  2006. ;label-active-underline = #ffdf00
  2007. label-active-underline = $(colors.format-underline)
  2008.  
  2009. label-occupied = %index%
  2010. label-occupied-foreground = ${colors.foregroundo}
  2011. label-occupied-padding = 2
  2012.  
  2013. label-urgent = %index%
  2014. label-urgent-foreground = ${colors.red}
  2015. label-urgent-padding = 2
  2016.  
  2017. label-empty = %index%
  2018. label-empty-foreground = #FFDF00
  2019. label-empty-padding = 2
  2020.  
  2021. icon-0 = 0;
  2022. icon-1 = 1;
  2023. icon-2 = 2;
  2024. icon-3 = 3;
  2025. icon-4 = 4;
  2026. icon-5 = 5;
  2027. icon-6 = 6;
  2028. icon-7 = 7;
  2029. icon-8 = 8;
  2030.  
Advertisement
Add Comment
Please, Sign In to add comment