poetician

Polybar i3 | 0018 Round Suru Inverted

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