Advertisement
poetician

Polybar i3 OB Bspwm HLT | HP-8000

Dec 19th, 2022
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.87 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 = 4%
  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/ArcoLinux 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 = HDMI-A-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 = #592000
  92. background-1 = #602503
  93. background-2 = #6a2e07
  94. background-3 = #743609
  95. background-4 = #7e3f0c
  96. background-5 = #88470e
  97. background-6 = #925010
  98. background-7 = #9c5a13
  99. background-8 = #b06d18
  100. background-9 = #c2811d
  101.  
  102. radius-top = 30
  103. radius-bottom = 3
  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 = 4
  116. padding-right = 4
  117.  
  118. module-margin-left = 1
  119. module-margin-right = 1
  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 = -50
  136. tray-offset-y = 0
  137. tray-padding = 1
  138. tray-maxsize = 20
  139. tray-scale = 1.0
  140. tray-position = center
  141. tray-background = #00000000
  142. #tray-background = #592000
  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. ############ TOPBAR-BSPWM ############
  390. ################################################################################
  391.  
  392. [bar/topbar-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. ############ BOTTOMBAR-BSPWM ############
  463. ################################################################################
  464.  
  465. [bar/bottom-bspwm]
  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. ############ TOPBAR-HERBSTLUFTWM ############
  612. ################################################################################
  613.  
  614. [bar/topbar-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. ############ BOTTOMBAR-HERBSTLUFTWM ############
  685. ################################################################################
  686.  
  687. [bar/bottombar-herbstluftwm]
  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. ############ TOPBAR-OPENBOX ############
  765. ################################################################################
  766.  
  767. [bar/topbar-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. ############ BOTTOMBAR-OPENBOX ############
  822. ################################################################################
  823.  
  824. [bar/bottombar-openbox]
  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. ############ TOPBAR-WMDERLAND ############
  879. ################################################################################
  880.  
  881. [bar/topbar-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. ############ BOTTOMBAR-WMDERLAND ############
  972. ################################################################################
  973.  
  974. [bar/bottombar-wmderland]
  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/battery]
  1103. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  1104. type = internal/battery
  1105. battery = BAT0
  1106. adapter = AC0
  1107. full-at = 100
  1108.  
  1109. format-charging = <animation-charging> <label-charging>
  1110. label-charging =  %percentage%%
  1111. format-charging-foreground = ${colors.foreground}
  1112. format-charging-background = #00000000
  1113. format-charging-underline = #6790EB
  1114.  
  1115. format-discharging = <ramp-capacity> <label-discharging>
  1116. label-discharging =  %percentage%%
  1117. format-discharging-underline = #c7ae25
  1118. format-discharging-foreground = ${colors.foreground}
  1119. format-discharging-background = #00000000
  1120.  
  1121. format-full-prefix = " "
  1122. format-full-prefix-foreground = #a3c725
  1123. format-full-underline = #a3c725
  1124. format-full-foreground = ${colors.foreground}
  1125. format-full-background = #00000000
  1126.  
  1127. ramp-capacity-0 = 
  1128. ramp-capacity-1 = 
  1129. ramp-capacity-2 = 
  1130. ramp-capacity-3 = 
  1131. ramp-capacity-4 = 
  1132. ramp-capacity-foreground = #c7ae25
  1133.  
  1134. animation-charging-0 = 
  1135. animation-charging-1 = 
  1136. animation-charging-2 = 
  1137. animation-charging-3 = 
  1138. animation-charging-4 = 
  1139. animation-charging-foreground = #a3c725
  1140. animation-charging-framerate = 750
  1141.  
  1142. ################################################################################
  1143.  
  1144. [module/cpu1]
  1145. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1146. type = internal/cpu
  1147. ; Seconds to sleep between updates
  1148. ; Default: 1
  1149. interval = 1
  1150. format-foreground = ${colors.foreground}
  1151. format-background = #00000000
  1152. ;   
  1153. format-prefix = " "
  1154. format-prefix-foreground = #394349
  1155. format-underline = $(colors.format-underline)
  1156.  
  1157. ; Available tags:
  1158. ; <label> (default)
  1159. ; <bar-load>
  1160. ; <ramp-load>
  1161. ; <ramp-coreload>
  1162. format = <label> <ramp-coreload>
  1163.  
  1164. format-padding = 2
  1165.  
  1166. ; Available tokens:
  1167. ; %percentage% (default) - total cpu load
  1168. ; %percentage-cores% - load percentage for each core
  1169. ; %percentage-core[1-9]% - load percentage for specific core
  1170. label-font = 3
  1171. label = Cpu %percentage:3%%
  1172. ramp-coreload-0 = ▁
  1173. ramp-coreload-0-font = 3
  1174. ramp-coreload-0-foreground = #aaff77
  1175. ramp-coreload-1 = ▂
  1176. ramp-coreload-1-font = 3
  1177. ramp-coreload-1-foreground = #aaff77
  1178. ramp-coreload-2 = ▃
  1179. ramp-coreload-2-font = 3
  1180. ramp-coreload-2-foreground = #aaff77
  1181. ramp-coreload-3 = ▄
  1182. ramp-coreload-3-font = 3
  1183. ramp-coreload-3-foreground = #aaff77
  1184. ramp-coreload-4 = ▅
  1185. ramp-coreload-4-font = 3
  1186. ramp-coreload-4-foreground = #fba922
  1187. ramp-coreload-5 = ▆
  1188. ramp-coreload-5-font = 3
  1189. ramp-coreload-5-foreground = #fba922
  1190. ramp-coreload-6 = ▇
  1191. ramp-coreload-6-font = 3
  1192. ramp-coreload-6-foreground = #ff5555
  1193. ramp-coreload-7 = █
  1194. ramp-coreload-7-font = 3
  1195. ramp-coreload-7-foreground = #ff5555
  1196.  
  1197. ################################################################################
  1198.  
  1199. [module/cpu2]
  1200. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1201. type = internal/cpu
  1202. ; Seconds to sleep between updates
  1203. ; Default: 1
  1204. interval = 1
  1205. format-foreground = ${colors.foreground}
  1206. format-background = #00000000
  1207. format-prefix = "  "
  1208. format-prefix-foreground = #FFDDC5
  1209. ;format-underline = #6790EB
  1210.  
  1211. label-font = 3
  1212.  
  1213. ; Available tags:
  1214. ; <label> (default)
  1215. ; <bar-load>
  1216. ; <ramp-load>
  1217. ; <ramp-coreload>
  1218. format = <label>
  1219.  
  1220. format-padding = 2
  1221.  
  1222. ; Available tokens:
  1223. ; %percentage% (default) - total cpu load
  1224. ; %percentage-cores% - load percentage for each core
  1225. ; %percentage-core[1-9]% - load percentage for specific core
  1226. label = CPU %percentage:3%%
  1227.  
  1228. ################################################################################
  1229.  
  1230. [module/date]
  1231. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1232. type = internal/date
  1233. ; Seconds to sleep between updates
  1234. interval = 60
  1235. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1236. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1237. ;date = " %c "
  1238. date = " %A, %B %d, %Y "
  1239. date-alt = " %d-%m-%Y"
  1240. time = " It is now: %H:%M "
  1241. time-alt = %H:%M
  1242. format-prefix = "  "
  1243. format-prefix-foreground = #FFDDC5
  1244. ;format-underline = #6790EB
  1245. format-foreground = ${colors.foreground}
  1246. format-background = #00000000
  1247. label = %date% %time%
  1248.  
  1249. #################################################################
  1250.  
  1251. [module/ewmh]
  1252. type = internal/xworkspaces
  1253.  
  1254. pin-workspaces = true
  1255. enable-click = true
  1256. enable-scroll = true
  1257. reverse-scroll = true
  1258.  
  1259. icon-0 = 1;
  1260. icon-1 = 2;
  1261. icon-2 = 3;
  1262. icon-3 = 4;
  1263. icon-4 = 5;
  1264. icon-5 = 6;
  1265. icon-6 = 7;
  1266. icon-7 = 8;
  1267. icon-8 = 9;
  1268. format = <label-state>
  1269. label-monitor = %name%
  1270.  
  1271. label-active = %name%
  1272. label-active-foreground = #6790EB
  1273. label-active-background = #00000000
  1274. label-active-underline = #f7e768
  1275. label-active-padding = 2
  1276.  
  1277. label-occupied = %name%
  1278. label-occupied-background = #00000000
  1279. label-occupied-padding = 2
  1280.  
  1281. label-urgent = %name%
  1282. label-urgent-foreground = ${colors.foreground}
  1283. ;label-urgent-background = ${colors.alert}
  1284. ;label-urgent-underline = ${colors.alert}
  1285. label-urgent-padding = 2
  1286.  
  1287. label-empty = %name%
  1288. label-empty-foreground = ${colors.foreground}
  1289. label-empty-padding = 2
  1290. format-foreground = ${colors.foreground}
  1291. format-background = #00000000
  1292.  
  1293. ################################################################################
  1294.  
  1295. [module/filesystem]
  1296. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1297. type = internal/fs
  1298.  
  1299. ; Mountpoints to display
  1300. mount-0 = /
  1301. ;mount-1 = /home
  1302. ;mount-2 = /var
  1303.  
  1304. ; Seconds to sleep between updates
  1305. ; Default: 30
  1306. interval = 30
  1307.  
  1308. ; Display fixed precision values
  1309. ; Default: false
  1310. fixed-values = false
  1311.  
  1312. ; Spacing between entries
  1313. ; Default: 2
  1314. spacing = 4
  1315.  
  1316. ; Available tags:
  1317. ; <label-mounted> (default)
  1318. ; <bar-free>
  1319. ; <bar-used>
  1320. ; <ramp-capacity>
  1321. format-mounted = <label-mounted>
  1322. format-mounted-foreground = ${colors.foreground}
  1323. format-mounted-background = #00000000
  1324. ;format-mounted-underline = #6790EB
  1325.  
  1326. ; Available tokens:
  1327. ; %mountpoint%
  1328. ; %type%
  1329. ; %fsname%
  1330. ; %percentage_free%
  1331. ; %percentage_used%
  1332. ; %total%
  1333. ; %free%
  1334. ; %used%
  1335. ; Default: %mountpoint% %percentage_free%%
  1336. label-mounted = %mountpoint% : %used% used of %total%
  1337.  
  1338. ; Available tokens:
  1339. ; %mountpoint%
  1340. ; Default: %mountpoint% is not mounted
  1341. label-unmounted = %mountpoint% not mounted
  1342. format-unmounted-foreground = ${colors.foreground}
  1343. format-unmounted-background = #00000000
  1344. format-unmounted-underline = ${colors.alert}
  1345.  
  1346. ################################################################################
  1347.  
  1348. [module/kernel]
  1349. type = custom/script
  1350. exec = uname -r
  1351. tail = false
  1352. interval = 1024
  1353.  
  1354. format-foreground = ${colors.foreground}
  1355. format-background = #00000000
  1356. format-prefix = "  "
  1357. ;format-prefix-foreground = #394349
  1358. format-underline = $(colors.format-underline)
  1359.  
  1360. ################################################################################
  1361.  
  1362. [module/jgmenu]
  1363. type = custom/script
  1364. interval = 120
  1365. exec = echo "ArcoLinux"
  1366. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1367. format-foreground = ${colors.foreground}
  1368. format-background = #00000000
  1369.  
  1370. ################################################################################
  1371.  
  1372. [module/load-average]
  1373. type = custom/script
  1374. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1375. interval = 100
  1376.  
  1377. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1378. ;label = %output%
  1379. label = %output:10%
  1380.  
  1381. format-foreground = ${colors.foreground}
  1382. format-background = #00000000
  1383. format-prefix = "  "
  1384. ;format-prefix-foreground = #394349
  1385. format-underline = #6790EB
  1386.  
  1387. ################################################################################
  1388.  
  1389. [module/memory1]
  1390. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1391. type = internal/memory
  1392. interval = 1
  1393. ; Available tokens:
  1394. ; %percentage_used% (default)
  1395. ; %percentage_free%
  1396. ; %gb_used%
  1397. ; %gb_free%
  1398. ; %gb_total%
  1399. ; %mb_used%
  1400. ; %mb_free%
  1401. ; %mb_total%
  1402. label = %percentage_used%%
  1403. bar-used-indicator =
  1404. bar-used-width = 10
  1405. bar-used-foreground-0 = #3384d0
  1406. bar-used-fill = 
  1407. bar-used-empty = 
  1408. bar-used-empty-foreground = #ffffff
  1409.  
  1410. format = <label> <bar-used>
  1411. format-prefix = "  "
  1412. ;format-prefix-foreground = #394349
  1413. format-underline = #6790EB
  1414. format-foreground = ${colors.foreground}
  1415. format-background = #00000000
  1416.  
  1417. ################################################################################
  1418.  
  1419. [module/memory2]
  1420. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1421. type = internal/memory
  1422. interval = 1
  1423. ; Available tokens:
  1424. ; %percentage_used% (default)
  1425. ; %percentage_free%
  1426. ; %gb_used%
  1427. ; %gb_free%
  1428. ; %gb_total%
  1429. ; %mb_used%
  1430. ; %mb_free%
  1431. ; %mb_total%
  1432. label = %percentage_used%%
  1433.  
  1434. format = Mem <label>
  1435. format-prefix = "  "
  1436. format-prefix-foreground = #FFDDC5
  1437. ;format-underline = $(colors.format-underline)
  1438. format-foreground = ${colors.foreground}
  1439. format-background = #00000000
  1440.  
  1441. ################################################################################
  1442.  
  1443. [module/memory3]
  1444. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1445. type = internal/memory
  1446. interval = 1
  1447. ; Available tokens:
  1448. ; %percentage_used% (default)
  1449. ; %percentage_free%
  1450. ; %gb_used%
  1451. ; %gb_free%
  1452. ; %gb_total%
  1453. ; %mb_used%
  1454. ; %mb_free%
  1455. ; %mb_total%
  1456. label = %gb_used%/%gb_free%
  1457.  
  1458. format = Mem <label>
  1459. format-prefix = "  "
  1460. ;format-prefix-foreground = #394349
  1461. format-underline = #6790EB
  1462. format-foreground = ${colors.foreground}
  1463. format-background = #00000000
  1464.  
  1465. ################################################################################
  1466.  
  1467. [module/mpd]
  1468. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1469. type = internal/mpd
  1470. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1471. format-online = "<label-song> <bar-progress>"
  1472. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1473. icon-prev = 
  1474. icon-stop = 
  1475. icon-play = 
  1476. icon-pause = 
  1477. icon-next = 
  1478. label-song-maxlen = 40
  1479. label-song-ellipsis = true
  1480. bar-progress-width = 10
  1481. bar-progress-indicator = 
  1482. bar-progress-fill = 
  1483. bar-progress-empty = 
  1484. bar-progress-fill-foreground = #ff0
  1485. bar-progress-fill-background = #00000000
  1486. bar-progress-indicator-foreground = ${colors.foreground}
  1487. format-online-foreground = ${colors.foreground}
  1488. format-online-background = #00000000
  1489. ################################################################################
  1490.  
  1491. [module/networkspeedup]
  1492. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1493. type = internal/network
  1494. interface = enp0s25
  1495. label-connected = "%upspeed:7%"
  1496. format-connected = <label-connected>
  1497. format-connected-prefix = ""
  1498. format-connected-prefix-foreground = #FFDDC5
  1499. format-connected-foreground = ${colors.foreground}
  1500. format-connected-background = #00000000
  1501. ;format-connected-underline = #6790EB
  1502.  
  1503. ################################################################################
  1504.  
  1505. [module/networkspeeddown]
  1506. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1507. type = internal/network
  1508. interface = enp0s25
  1509. ;interface = enp4s0
  1510. label-connected = "%downspeed:7%"
  1511. format-connected = <label-connected>
  1512. format-connected-prefix = ""
  1513. format-connected-prefix-foreground = #FFDDC5
  1514. format-connected-foreground = ${colors.foreground}
  1515. format-connected-background = #00000000
  1516. ;format-connected-underline = #6790EB
  1517.  
  1518. ################################################################################
  1519.  
  1520. [module/pacman-updates]
  1521. type = custom/script
  1522. ;exec = pacman -Qu | wc -l
  1523. exec = checkupdates | wc -l
  1524. interval = 1000
  1525. label = Repo: %output%
  1526. format-foreground = ${colors.foreground}
  1527. format-background = #00000000
  1528. format-prefix = "  "
  1529. ;format-prefix-foreground = #394349
  1530. format-underline = $(colors.format-underline)
  1531.  
  1532. ################################################################################
  1533.  
  1534. [module/pamac-manager]
  1535. type = custom/script
  1536. exec = pamac checkupdates -q | wc -l
  1537. interval = 1000
  1538. label = Pamac : %output%
  1539. tail = true
  1540. format-foreground = ${colors.foreground}
  1541. format-background = #00000000
  1542. ;format-prefix-foreground = #394349
  1543. format-underline = $(colors.format-underline)
  1544. click-right = pamac-manager &
  1545. click-left = pamac-manager &
  1546. format-prefix = " "
  1547.  
  1548. ################################################################################
  1549.  
  1550. [module/pavolume]
  1551. type = custom/script
  1552. tail = true
  1553. label = %output%
  1554. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1555. click-right = exec pavucontrol
  1556. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1557. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1558. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1559. format-underline = $(colors.format-underline)
  1560. format-foreground = ${colors.foreground}
  1561. format-background = #00000000
  1562.  
  1563. ################################################################################
  1564.  
  1565. [module/polywins]
  1566. type = custom/script
  1567. exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
  1568. format = <label>
  1569. label = %output%
  1570. label-padding = 1
  1571. tail = true
  1572.  
  1573. ################################################################################
  1574.  
  1575. [module/pub-ip]
  1576. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1577. type = custom/script
  1578. exec = ~/.config/polybar/scripts/pub-ip.sh
  1579. interval = 100
  1580. format-foreground = ${colors.foreground}
  1581. format-background = #00000000
  1582. ;format-underline = #e7ebde
  1583. label = %output%
  1584. format-prefix = "  "
  1585. ;format-prefix-foreground = #394349
  1586.  
  1587. ################################################################################
  1588.  
  1589. [module/release]
  1590. type = custom/script
  1591. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1592. interval = 6000
  1593.  
  1594. format-foreground = ${colors.foreground}
  1595. format-background = #00000000
  1596. format-prefix = "  "
  1597. ;format-prefix-foreground = #394349
  1598. format-underline = $(colors.format-underline)
  1599.  
  1600. ################################################################################
  1601.  
  1602. [module/sep]
  1603. ; alternative separator
  1604. type = custom/text
  1605. content = 
  1606. content-foreground = ${colors.foreground}
  1607. content-background = #00000000
  1608. format-foreground = ${colors.foreground}
  1609. format-background = #00000000
  1610.  
  1611. ################################################################################
  1612.  
  1613. [module/temperature1]
  1614. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1615. type = internal/temperature
  1616. ; Thermal zone to use
  1617. ; To list all the zone types, run
  1618. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1619. ; Default: 0
  1620. thermal-zone = 0
  1621.  
  1622. ; Full path of temperature sysfs path
  1623. ; Use `sensors` to find preferred temperature source, then run
  1624. ; $ 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
  1625. ; to find path to desired file
  1626. ; Default reverts to thermal zone setting
  1627. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1628.  
  1629. warn-temperature = 70
  1630. format = <ramp> <label>
  1631. format-foreground = ${colors.foreground}
  1632. format-background = #00000000
  1633. format-underline = $(colors.format-underline)
  1634. format-warn = <ramp> <label-warn>
  1635. format-warn-underline = #c7254f
  1636. label = %temperature%
  1637. label-warn =  %temperature%
  1638. label-warn-foreground = #c7254f
  1639.  
  1640. ramp-0 = 
  1641. ramp-1 = 
  1642. ramp-2 = 
  1643. ramp-3 = 
  1644. ramp-4 = 
  1645. ramp-foreground =${colors.foreground}
  1646.  
  1647. ################################################################################
  1648.  
  1649. [module/temperature2]
  1650. type = custom/script
  1651. exec = ~/.config/polybar/scripts/tempcores.sh
  1652. interval = 2
  1653. format-padding = 1
  1654. format-foreground = ${colors.foreground}
  1655. format-background = #00000000
  1656. format-underline = $(colors.format-underline)
  1657. ;format-prefix-foreground = #394349
  1658. label =  %output:0:150:%
  1659.  
  1660. ################################################################################
  1661.  
  1662. [module/uptime]
  1663. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1664. type = custom/script
  1665. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1666. interval = 100
  1667. label = Uptime : %output%
  1668.  
  1669. format-foreground = ${colors.foreground}
  1670. format-background = #00000000
  1671. format-prefix = "  "
  1672. format-prefix-foreground = #FFDDC5
  1673. ;format-underline = #6790EB
  1674.  
  1675. ################################################################################
  1676.  
  1677. [module/variety]
  1678. type = custom/script
  1679. exec = echo " Variety"
  1680. ;exec = echo " "
  1681. interval = 1
  1682. tail = true
  1683. format-foreground = ${colors.foreground}
  1684. format-background = #00000000
  1685. format-prefix = ""
  1686. format-prefix-foreground = #394349
  1687. format-underline = $(colors.format-underline)
  1688. click-right = variety --preferences
  1689. click-left = variety --selector
  1690.  
  1691. ################################################################################
  1692.  
  1693. [module/volume]
  1694. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1695. type = internal/volume
  1696. format-volume = "<label-volume> <bar-volume>"
  1697.  
  1698. label-volume = " "
  1699. label-volume-foreground = #40ad4b
  1700. label-muted = muted
  1701.  
  1702. bar-volume-width = 10
  1703. bar-volume-foreground-0 = #40ad4b
  1704. bar-volume-foreground-1 = #40ad4b
  1705. bar-volume-foreground-2 = #40ad4b
  1706. bar-volume-foreground-3 = #40ad4b
  1707. bar-volume-foreground-4 = #40ad4b
  1708. bar-volume-foreground-5 = #40ad4b
  1709. bar-volume-foreground-6 = #40ad4b
  1710. bar-volume-gradient = false
  1711. bar-volume-indicator = 
  1712. bar-volume-indicator-font = 2
  1713. bar-volume-fill = 
  1714. bar-volume-fill-font = 2
  1715. bar-volume-empty = 
  1716. bar-volume-empty-font = 2
  1717. bar-volume-empty-foreground = ${colors.foreground}
  1718. format-volume-foreground = ${colors.foreground}
  1719. format-volume-background = #00000000
  1720. format-muted-prefix = "  "
  1721. format-muted-prefix-foreground = "#ff0000"
  1722. format-muted-foreground = ${colors.foreground}
  1723. format-muted-background = #00000000
  1724.  
  1725. ################################################################################
  1726.  
  1727. [module/weather]
  1728. type = custom/script
  1729. interval = 10
  1730. format = <label>
  1731. format-prefix = " "
  1732. ;format-prefix-foreground = #394349
  1733. format-underline = $(colors.format-underline)
  1734. format-foreground = ${colors.foreground}
  1735. format-background = #00000000
  1736. exec = python -u ~/.config/polybar/scripts/weather.py
  1737. tail = true
  1738.  
  1739. #################################################################################
  1740.  
  1741. [module/wired-network]
  1742. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1743. type = internal/network
  1744. interface = enp6s0
  1745. interval = 3.0
  1746.  
  1747. ; Available tokens:
  1748. ; %ifname% [wireless+wired]
  1749. ; %local_ip% [wireless+wired]
  1750. ; %essid% [wireless]
  1751. ; %signal% [wireless]
  1752. ; %upspeed% [wireless+wired]
  1753. ; %downspeed% [wireless+wired]
  1754. ; %linkspeed% [wired]
  1755. ; Default: %ifname% %local_ip%
  1756. label-connected = %ifname%
  1757. label-disconnected = %ifname% disconnected
  1758.  
  1759. format-connected-foreground = ${colors.foreground}
  1760. format-connected-background = #00000000
  1761. format-connected-underline = #99E2B856
  1762. format-connected-prefix = " "
  1763. ;format-connected-prefix-foreground = #394349
  1764. format-connected-prefix-background = #00000000
  1765.  
  1766. format-disconnected = <label-disconnected>
  1767. format-disconnected-underline = ${colors.alert}
  1768. label-disconnected-foreground = ${colors.foreground}
  1769.  
  1770. ###############################################################################
  1771.  
  1772. [module/xwindow]
  1773. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1774. type = internal/xwindow
  1775.  
  1776. ; Available tokens:
  1777. ; %title%
  1778. ; Default: %title%
  1779. label = %title%
  1780. label-maxlen = 100
  1781.  
  1782. format-underline = $(colors.format-underline)
  1783. format-foreground = ${colors.foreground}
  1784. format-background = #00000000
  1785.  
  1786. ###############################################################################
  1787.  
  1788. [module/xworkspaces]
  1789. type = internal/xworkspaces
  1790. pin-workspaces = true
  1791. enable-click = true
  1792. enable-scroll = false
  1793.  
  1794. format = <label-state>
  1795. format-padding = ${user.padding}
  1796. format-background = ${colors.dark1}
  1797.  
  1798. ; %index%, %name% or %icon%
  1799. label-active = %index%
  1800. label-active-foreground = ${colors.foregrounda}
  1801. label-active-padding = 2
  1802. ;label-active-underline = #ffdf00
  1803. label-active-underline = $(colors.format-underline)
  1804.  
  1805. label-occupied = %index%
  1806. label-occupied-foreground = ${colors.foregroundo}
  1807. label-occupied-padding = 2
  1808.  
  1809. label-urgent = %index%
  1810. label-urgent-foreground = ${colors.red}
  1811. label-urgent-padding = 2
  1812.  
  1813. label-empty = %index%
  1814. label-empty-foreground = #FFDF00
  1815. label-empty-padding = 2
  1816.  
  1817. icon-0 = 0;
  1818. icon-1 = 1;
  1819. icon-2 = 2;
  1820. icon-3 = 3;
  1821. icon-4 = 4;
  1822. icon-5 = 5;
  1823. icon-6 = 6;
  1824. icon-7 = 7;
  1825. icon-8 = 8;
  1826.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement