Advertisement
poetician

Polybar i3 | Plum Gold variation

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