poetician

Polybar nvme1n1 Plum Gold

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