poetician

Polybar | Bspwm ArcoLinux | 0018 Round Suru

Jan 20th, 2021 (edited)
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.06 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 = #99443f39
  45. foreground = #ECD7AC
  46. alert = #ffa500
  47. ;primary = #66fdb739
  48. ;secondary =#4dfdb739
  49. volume-min = #a3be8c
  50. volume-med = #ebcb8b
  51. volume-max = #bf616a
  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 = 290
  81. border-right-size = 290
  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
  715. ; on different bars
  716. ;
  717. ; Default: false
  718. pin-workspaces = true
  719.  
  720. ; This will split the workspace name on ':'
  721. ; Default: false
  722. strip-wsnumbers = false
  723.  
  724. ; Sort the workspaces by index instead of the default
  725. ; sorting that groups the workspaces by output
  726. ; Default: false
  727. index-sort = false
  728.  
  729. ; Create click handler used to focus workspace
  730. ; Default: true
  731. enable-click = true
  732.  
  733. ; Create scroll handlers used to cycle workspaces
  734. ; Default: true
  735. enable-scroll = true
  736.  
  737. ; Wrap around when reaching the first/last workspace
  738. ; Default: true
  739. wrapping-scroll = false
  740.  
  741. ; Set the scroll cycle direction
  742. ; Default: true
  743. reverse-scroll = false
  744.  
  745. ; Use fuzzy (partial) matching on labels when assigning
  746. ; icons to workspaces
  747. ; Example: code;♚ will apply the icon to all workspaces
  748. ; containing 'code' in the label
  749. ; Default: false
  750. fuzzy-match = false
  751.  
  752. ;extra icons to choose from
  753. ;http://fontawesome.io/cheatsheet/
  754. ;            
  755.  
  756. ws-icon-0 = 1;
  757. ws-icon-1 = 2;
  758. ws-icon-2 = 3;
  759. ws-icon-3 = 4;
  760. ws-icon-4 = 5;
  761. ws-icon-5 = 6;
  762. ws-icon-6 = 7;
  763. ws-icon-7 = 8;
  764. ws-icon-8 = 9;
  765. ws-icon-9 = 10;
  766. ws-icon-10 = 11;
  767. ws-icon-11 = 12;
  768. ws-icon-12 = 13;
  769. ws-icon-13 = 14;
  770. ws-icon-14 = 15:
  771. ws-icon-default = ""
  772.  
  773. ; Available tags:
  774. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  775. ; <label-mode> (default)
  776. format = <label-state> <label-mode>
  777.  
  778. label-mode = %mode%
  779. label-mode-padding = 2
  780. label-mode-foreground = #000000
  781. label-mode-background = #FFBB00
  782.  
  783. ; Available tokens:
  784. ; %name%
  785. ; %icon%
  786. ; %index%
  787. ; %output%
  788. ; Default: %icon% %name%
  789. ; focused = Active workspace on focused monitor
  790. label-focused = %icon% %name%
  791. label-focused-background = ${colors.background}
  792. label-focused-foreground = #bebdbc
  793. label-focused-underline = ${colors.background}
  794. label-focused-padding = 2
  795.  
  796. ; Available tokens:
  797. ; %name%
  798. ; %icon%
  799. ; %index%
  800. ; Default: %icon% %name%
  801. ; unfocused = Inactive workspace on any monitor
  802. label-unfocused = %icon% %name%
  803. label-unfocused-padding = 2
  804. label-unfocused-background = ${colors.background}
  805. label-unfocused-foreground = ${colors.foreground}
  806. label-unfocused-underline =
  807.  
  808. ; visible = Active workspace on unfocused monitor
  809. label-visible = %icon% %name%
  810. label-visible-background = ${self.label-focused-background}
  811. label-visible-underline = ${self.label-focused-underline}
  812. label-visible-padding = 2
  813.  
  814. ; Available tokens:
  815. ; %name%
  816. ; %icon%
  817. ; %index%
  818. ; Default: %icon% %name%
  819. ; urgent = Workspace with urgency hint set
  820. label-urgent = %icon% %name%
  821. label-urgent-background = ${self.label-focused-background}
  822. label-urgent-foreground = #A6B190
  823. label-urgent-padding = 2
  824.  
  825. format-foreground = ${colors.foreground}
  826. format-background = ${colors.background}
  827.  
  828. ################################################################################
  829. ############ MODULE BSPWM ############
  830. ################################################################################
  831.  
  832. [module/bspwm]
  833. type = internal/bspwm
  834.  
  835. enable-click = true
  836. enable-scroll = true
  837. reverse-scroll = true
  838. pin-workspaces = true
  839.  
  840. ws-icon-0 = 1;
  841. ws-icon-1 = 2;
  842. ws-icon-2 = 3;
  843. ws-icon-3 = 4;
  844. ws-icon-4 = 5;
  845. ws-icon-5 = 6;
  846. ws-icon-6 = 7;
  847. ws-icon-7 = 8;
  848. ws-icon-8 = 9;
  849. ws-icon-9 = 10;
  850. ws-icon-default = " "
  851.  
  852.  
  853. format = <label-state> <label-mode>
  854.  
  855. label-focused = %icon%
  856. label-focused-background = ${colors.background}
  857. label-focused-underline= #6790eb
  858. label-focused-padding = 4
  859. label-focused-foreground = #6790EB
  860.  
  861. label-occupied = %icon%
  862. label-occupied-padding = 2
  863. label-occupied-background = ${colors.background}
  864. label-occupied-foreground = #6790EB
  865.  
  866. label-urgent = %icon%
  867. label-urgent-padding = 2
  868.  
  869. label-empty = %icon%
  870. label-empty-foreground = ${colors.foreground}
  871. label-empty-padding = 2
  872. label-empty-background = ${colors.background}
  873. label-monocle = "  "
  874. label-monocle-foreground = ${colors.foreground}
  875. label-tiled = "  "
  876. label-tiled-foreground = ${colors.foreground}
  877. label-fullscreen = "  "
  878. label-fullscreen-foreground = ${colors.foreground}
  879. label-floating = "  "
  880. label-floating-foreground = ${colors.foreground}
  881. label-pseudotiled = "  "
  882. label-pseudotiled-foreground = ${colors.foreground}
  883. label-locked = "  "
  884. label-locked-foreground = ${colors.foreground}
  885. label-sticky = "  "
  886. label-sticky-foreground = ${colors.foreground}
  887. label-private = "  "
  888. label-private-foreground = ${colors.foreground}
  889.  
  890. ; Separator in between workspaces
  891. ;label-separator = |
  892. ;label-separator-padding = 10
  893. ;label-separator-foreground = #ffb52a
  894.  
  895. format-foreground = ${colors.foreground}
  896. format-background = ${colors.background}
  897.  
  898. ###############################################################################
  899. ############ MODULES A-Z ############
  900. ################################################################################
  901.  
  902. [module/arch-aur-updates]
  903. type = custom/script
  904. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  905. interval = 1000
  906. label = Updates: %output%
  907. format-foreground = ${colors.foreground}
  908. format-background = ${colors.background}
  909. format-prefix = "  "
  910. format-prefix-foreground = #F7EBD4
  911. ;format-underline = #704214
  912.  
  913. [module/aur-updates]
  914. type = custom/script
  915. exec = cower -u | wc -l
  916. interval = 1000
  917. label = Aur: %output%
  918. format-foreground = ${colors.foreground}
  919. format-background = ${colors.background}
  920. format-prefix = "  "
  921. format-prefix-foreground = #F7EBD4
  922. ;format-underline = #704214
  923.  
  924. ################################################################################
  925.  
  926. [module/backlight-acpi]
  927. inherit = module/xbacklight
  928. type = internal/backlight
  929. card = intel_backlight
  930. format-foreground = ${colors.foreground}
  931. format-background = ${colors.background}
  932. format-prefix-foreground = #7D49B6
  933. format-prefix-underline = #7D49B6
  934. format-underline = #7D49B6
  935. ################################################################################
  936.  
  937. [module/backlight]
  938. ;https://github.com/jaagr/polybar/wiki/Module:-backlight
  939.  
  940. type = internal/backlight
  941.  
  942. ; Use the following command to list available cards:
  943. ; $ ls -1 /sys/class/backlight/
  944. card = intel_backlight
  945.  
  946. ; Available tags:
  947. ; <label> (default)
  948. ; <ramp>
  949. ; <bar>
  950. format = <label>
  951. format-foreground = ${colors.foreground}
  952. format-background = ${colors.background}
  953.  
  954. ; Available tokens:
  955. ; %percentage% (default)
  956. label = %percentage%%
  957.  
  958. ; Only applies if <ramp> is used
  959. ramp-0 = 🌕
  960. ramp-1 = 🌔
  961. ramp-2 = 🌓
  962. ramp-3 = 🌒
  963. ramp-4 = 🌑
  964.  
  965. ; Only applies if <bar> is used
  966. bar-width = 10
  967. bar-indicator = |
  968. bar-fill = ─
  969. bar-empty = ─
  970.  
  971. ################################################################################
  972.  
  973. [module/battery]
  974. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  975. type = internal/battery
  976. battery = BAT0
  977. adapter = AC0
  978. full-at = 100
  979.  
  980. format-charging = <animation-charging> <label-charging>
  981. label-charging =  %percentage%%
  982. format-charging-foreground = ${colors.foreground}
  983. format-charging-background = ${colors.background}
  984. format-charging-underline = #a3c725
  985.  
  986. format-discharging = <ramp-capacity> <label-discharging>
  987. label-discharging =  %percentage%%
  988. format-discharging-underline = #c7ae25
  989. format-discharging-foreground = ${colors.foreground}
  990. format-discharging-background = ${colors.background}
  991.  
  992. format-full-prefix = " "
  993. format-full-prefix-foreground = #a3c725
  994. format-full-underline = #a3c725
  995. format-foreground = ${colors.foreground}
  996. format-background = ${colors.background}
  997.  
  998. ramp-capacity-0 = 
  999. ramp-capacity-1 = 
  1000. ramp-capacity-2 = 
  1001. ramp-capacity-3 = 
  1002. ramp-capacity-4 = 
  1003. ramp-capacity-foreground = #c7ae25
  1004.  
  1005. animation-charging-0 = 
  1006. animation-charging-1 = 
  1007. animation-charging-2 = 
  1008. animation-charging-3 = 
  1009. animation-charging-4 = 
  1010. animation-charging-foreground = #a3c725
  1011. animation-charging-framerate = 750
  1012.  
  1013. ################################################################################
  1014.  
  1015. [module/cpu1]
  1016. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1017. type = internal/cpu
  1018. ; Seconds to sleep between updates
  1019. ; Default: 1
  1020. interval = 1
  1021. format-foreground = ${colors.foreground}
  1022. format-background = ${colors.background}
  1023. ;   
  1024. format-prefix = " "
  1025. format-prefix-foreground = #F7EBD4
  1026. ;format-underline = #704214
  1027.  
  1028. ; Available tags:
  1029. ; <label> (default)
  1030. ; <bar-load>
  1031. ; <ramp-load>
  1032. ; <ramp-coreload>
  1033. format = <label> <ramp-coreload>
  1034.  
  1035. format-padding = 2
  1036.  
  1037. ; Available tokens:
  1038. ; %percentage% (default) - total cpu load
  1039. ; %percentage-cores% - load percentage for each core
  1040. ; %percentage-core[1-9]% - load percentage for specific core
  1041. label-font = 3
  1042. label = Cpu %percentage:3%%
  1043. ramp-coreload-0 = ▁
  1044. ramp-coreload-0-font = 3
  1045. ramp-coreload-0-foreground = #FFF1C6
  1046. ramp-coreload-1 = ▂
  1047. ramp-coreload-1-font = 3
  1048. ramp-coreload-1-foreground = #E6D8AD
  1049. ramp-coreload-2 = ▃
  1050. ramp-coreload-2-font = 3
  1051. ramp-coreload-2-foreground = #CCBE93
  1052. ramp-coreload-3 = ▄
  1053. ramp-coreload-3-font = 3
  1054. ramp-coreload-3-foreground = #B3A57A
  1055. ramp-coreload-4 = ▅
  1056. ramp-coreload-4-font = 3
  1057. ramp-coreload-4-foreground = #998B60
  1058. ramp-coreload-5 = ▆
  1059. ramp-coreload-5-font = 3
  1060. ramp-coreload-5-foreground = #66582D
  1061. ramp-coreload-6 = ▇
  1062. ramp-coreload-6-font = 3
  1063. ramp-coreload-6-foreground = #332500
  1064. ramp-coreload-7 = █
  1065. ramp-coreload-7-font = 3
  1066. ramp-coreload-7-foreground = #1A0C00
  1067.  
  1068. ################################################################################
  1069.  
  1070. [module/cpu2]
  1071. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1072. type = internal/cpu
  1073. ; Seconds to sleep between updates
  1074. ; Default: 1
  1075. interval = 1
  1076. format-foreground = ${colors.foreground}
  1077. format-background = ${colors.background}
  1078. format-prefix = "  "
  1079. format-prefix-foreground = #F7EBD4
  1080. ;format-underline = #704214
  1081.  
  1082. label-font = 3
  1083.  
  1084. ; Available tags:
  1085. ; <label> (default)
  1086. ; <bar-load>
  1087. ; <ramp-load>
  1088. ; <ramp-coreload>
  1089. format = <label>
  1090.  
  1091. format-padding = 2
  1092.  
  1093. ; Available tokens:
  1094. ; %percentage% (default) - total cpu load
  1095. ; %percentage-cores% - load percentage for each core
  1096. ; %percentage-core[1-9]% - load percentage for specific core
  1097. label = Cpu %percentage:3%%
  1098.  
  1099. ################################################################################
  1100.  
  1101. [module/date]
  1102. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1103. type = internal/date
  1104. ; Seconds to sleep between updates
  1105. interval = 5
  1106. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1107. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1108. date = "%a %d %b"
  1109. date-alt = " %d-%m-%Y"
  1110. time = %H:%M
  1111. time-alt = %H:%M
  1112. format-prefix = " "
  1113. format-prefix-foreground = #F7EBD4
  1114. ;format-underline = #704214
  1115. format-foreground = ${colors.foreground}
  1116. format-background = ${colors.background}
  1117. label = %date% %time%
  1118.  
  1119. #################################################################
  1120.  
  1121. [module/discord]
  1122. type = custom/script
  1123. exec = echo " Discord "
  1124. ;exec = echo " "
  1125. interval = 1
  1126. tail = true
  1127. format-foreground = ${colors.foreground}
  1128. format-background = ${colors.background}
  1129. format-prefix-foreground = #738adb
  1130. format-underline = #738adb
  1131. click-left = discord &
  1132. click-right = killall Discord && killall Discord
  1133. format-prefix = ""
  1134.  
  1135. #################################################################
  1136.  
  1137. [module/ewmh]
  1138. type = internal/xworkspaces
  1139.  
  1140. pin-workspaces = false
  1141. enable-click = true
  1142. enable-scroll = true
  1143. reverse-scroll = true
  1144.  
  1145.  
  1146. icon-0 = 1;
  1147. icon-1 = 2;
  1148. icon-2 = 3;
  1149. icon-3 = 4;
  1150. icon-4 = 5;
  1151. #icon-5 = 6;
  1152. format = <label-state>
  1153. label-monitor = %name%
  1154.  
  1155. label-active = %name%
  1156. label-active-foreground = ${colors.foreground}
  1157. label-active-background = ${colors.background}
  1158. ;label-active-underline= #704214
  1159. label-active-padding = 2
  1160.  
  1161. label-occupied = %name%
  1162. label-occupied-background = ${colors.background}
  1163. label-occupied-padding = 2
  1164.  
  1165. label-urgent = %name%
  1166. label-urgent-foreground = ${colors.foreground}
  1167. label-urgent-background = ${colors.alert}
  1168. label-urgent-underline = ${colors.alert}
  1169. label-urgent-padding = 2
  1170.  
  1171.  
  1172. label-empty = %name%
  1173. label-empty-foreground = ${colors.foreground}
  1174. label-empty-padding = 2
  1175. format-foreground = ${colors.foreground}
  1176. format-background = ${colors.background}
  1177.  
  1178.  
  1179. ################################################################################
  1180.  
  1181. [module/filesystem]
  1182. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1183. type = internal/fs
  1184.  
  1185. ; Mountpoints to display
  1186. mount-0 = /
  1187. ;mount-1 = /home
  1188. ;mount-2 = /var
  1189.  
  1190. ; Seconds to sleep between updates
  1191. ; Default: 30
  1192. interval = 30
  1193.  
  1194. ; Display fixed precision values
  1195. ; Default: false
  1196. fixed-values = false
  1197.  
  1198. ; Spacing between entries
  1199. ; Default: 2
  1200. spacing = 4
  1201.  
  1202. ; Available tags:
  1203. ; <label-mounted> (default)
  1204. ; <bar-free>
  1205. ; <bar-used>
  1206. ; <ramp-capacity>
  1207. format-mounted = <label-mounted>
  1208. format-mounted-foreground = ${colors.foreground}
  1209. format-mounted-background = ${colors.background}
  1210. ;format-mounted-underline = #704214
  1211.  
  1212. ; Available tokens:
  1213. ; %mountpoint%
  1214. ; %type%
  1215. ; %fsname%
  1216. ; %percentage_free%
  1217. ; %percentage_used%
  1218. ; %total%
  1219. ; %free%
  1220. ; %used%
  1221. ; Default: %mountpoint% %percentage_free%%
  1222. label-mounted = %mountpoint% : %percentage_free%% free of %total%
  1223.  
  1224. ; Available tokens:
  1225. ; %mountpoint%
  1226. ; Default: %mountpoint% is not mounted
  1227. label-unmounted = %mountpoint% not mounted
  1228. format-unmounted-foreground = ${colors.foreground}
  1229. format-unmounted-background = ${colors.background}
  1230. ;format-unmounted-underline = ${colors.alert}
  1231.  
  1232. ################################################################################
  1233.  
  1234. [module/kernel]
  1235. type = custom/script
  1236. exec = uname -r
  1237. tail = false
  1238. interval = 1024
  1239.  
  1240. format-foreground = ${colors.foreground}
  1241. format-background = ${colors.background}
  1242. format-prefix = "  "
  1243. format-prefix-foreground = #F7EBD4
  1244. ;format-underline = #704214
  1245.  
  1246. ################################################################################
  1247.  
  1248. [module/jgmenu]
  1249. type = custom/script
  1250. interval = 120
  1251. exec = echo "Jgmenu"
  1252. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1253. format-foreground = ${colors.foreground}
  1254. format-background = ${colors.background}
  1255.  
  1256. ################################################################################
  1257.  
  1258. [module/load-average]
  1259. type = custom/script
  1260. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1261. interval = 100
  1262.  
  1263. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1264. ;label = %output%
  1265. label = %output:10%
  1266.  
  1267. format-foreground = ${colors.foreground}
  1268. format-background = ${colors.background}
  1269. format-prefix = "  "
  1270. format-prefix-foreground = #F7EBD4
  1271. ;format-underline = #704214
  1272.  
  1273. ################################################################################
  1274.  
  1275. [module/memory1]
  1276. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1277. type = internal/memory
  1278. interval = 1
  1279. ; Available tokens:
  1280. ; %percentage_used% (default)
  1281. ; %percentage_free%
  1282. ; %gb_used%
  1283. ; %gb_free%
  1284. ; %gb_total%
  1285. ; %mb_used%
  1286. ; %mb_free%
  1287. ; %mb_total%
  1288. label = %percentage_used%%
  1289. bar-used-indicator = 
  1290. bar-used-width = 10
  1291. bar-used-foreground-0 = #ECD7AC
  1292. bar-used-fill = 
  1293. bar-used-empty = 
  1294. bar-used-empty-foreground = #b9a479
  1295.  
  1296. format = <label> <bar-used>
  1297. format-prefix = "  "
  1298. format-prefix-foreground = #F7EBD4
  1299. ;format-underline = #704214
  1300. format-foreground = ${colors.foreground}
  1301. format-background = ${colors.background}
  1302.  
  1303. ################################################################################
  1304.  
  1305. [module/memory2]
  1306. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1307. type = internal/memory
  1308. interval = 1
  1309. ; Available tokens:
  1310. ; %percentage_used% (default)
  1311. ; %percentage_free%
  1312. ; %gb_used%
  1313. ; %gb_free%
  1314. ; %gb_total%
  1315. ; %mb_used%
  1316. ; %mb_free%
  1317. ; %mb_total%
  1318. label = %percentage_used%%
  1319.  
  1320. format = Mem <label>
  1321. format-prefix = "  "
  1322. format-prefix-foreground = #F7EBD4
  1323. ;format-underline = #704214
  1324. format-foreground = ${colors.foreground}
  1325. format-background = ${colors.background}
  1326.  
  1327. ################################################################################
  1328.  
  1329. [module/memory3]
  1330. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1331. type = internal/memory
  1332. interval = 1
  1333. ; Available tokens:
  1334. ; %percentage_used% (default)
  1335. ; %percentage_free%
  1336. ; %gb_used%
  1337. ; %gb_free%
  1338. ; %gb_total%
  1339. ; %mb_used%
  1340. ; %mb_free%
  1341. ; %mb_total%
  1342. label = %gb_used%/%gb_free%
  1343.  
  1344. format = Mem <label>
  1345. format-prefix = "  "
  1346. format-prefix-foreground = #F7EBD4
  1347. ;format-underline = #704214
  1348. format-foreground = ${colors.foreground}
  1349. format-background = ${colors.background}
  1350.  
  1351.  
  1352. ################################################################################
  1353.  
  1354. [module/mpd]
  1355. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1356. type = internal/mpd
  1357. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1358. format-online = "<label-song> <bar-progress>"
  1359. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1360. icon-prev = 
  1361. icon-stop = 
  1362. icon-play = 
  1363. icon-pause = 
  1364. icon-next = 
  1365. label-song-maxlen = 40
  1366. label-song-ellipsis = true
  1367. bar-progress-width = 10
  1368. bar-progress-indicator = 
  1369. bar-progress-fill = 
  1370. bar-progress-empty = 
  1371. bar-progress-fill-foreground = #ff0
  1372. bar-progress-fill-background = ${colors.background}
  1373. bar-progress-indicator-foreground = ${colors.foreground}
  1374. format-online-foreground = ${colors.foreground}
  1375. format-online-background = ${colors.background}
  1376.  
  1377. ################################################################################
  1378.  
  1379. [module/networkspeedup]
  1380. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1381. type = internal/network
  1382. interface = enp6s0
  1383. label-connected = "%upspeed:7%"
  1384. format-connected = <label-connected>
  1385. format-connected-prefix = ""
  1386. format-connected-prefix-foreground = #443f39
  1387. format-connected-foreground = ${colors.foreground}
  1388. format-connected-background = ${colors.background}
  1389. ;format-connected-underline = #704214
  1390.  
  1391. ################################################################################
  1392.  
  1393. [module/networkspeeddown]
  1394. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1395. type = internal/network
  1396. interface = enp6s0
  1397. label-connected = "%downspeed:7%"
  1398. format-connected = <label-connected>
  1399. format-connected-prefix = ""
  1400. format-connected-prefix-foreground = #c39b55
  1401. format-connected-foreground = ${colors.foreground}
  1402. format-connected-background = ${colors.background}
  1403. ;format-connected-underline = #704214
  1404.  
  1405. ################################################################################
  1406.  
  1407. [module/pacman-updates]
  1408. type = custom/script
  1409. ;exec = pacman -Qu | wc -l
  1410. exec = checkupdates | wc -l
  1411. interval = 1000
  1412. label = Repo: %output%
  1413. format-foreground = ${colors.foreground}
  1414. format-background = ${colors.background}
  1415. format-prefix = "  "
  1416. format-prefix-foreground = #F7EBD4
  1417. ;format-underline = #704214
  1418.  
  1419. ################################################################################
  1420.  
  1421. [module/pamac-manager]
  1422. type = custom/script
  1423. exec = pamac checkupdates -q | wc -l
  1424. interval = 1000
  1425. label = Pamac : %output%
  1426. tail = true
  1427. format-foreground = ${colors.foreground}
  1428. format-background = ${colors.background}
  1429. format-prefix-foreground = #F7EBD4
  1430. ;format-underline = #704214
  1431. click-right = pamac-manager &
  1432. click-left = pamac-manager &
  1433. format-prefix = " "
  1434.  
  1435. ################################################################################
  1436.  
  1437. [module/pavolume]
  1438. type = custom/script
  1439. tail = true
  1440. label = %output%
  1441. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1442. click-right = exec pavucontrol
  1443. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1444. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1445. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1446. ;format-underline = #704214
  1447. format-foreground = ${colors.foreground}
  1448. format-background = ${colors.background}
  1449.  
  1450. ################################################################################
  1451.  
  1452. [module/pub-ip]
  1453. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1454. type = custom/script
  1455. exec = ~/.config/polybar/scripts/pub-ip.sh
  1456. interval = 100
  1457. format-foreground = ${colors.foreground}
  1458. format-background = ${colors.background}
  1459. format-underline = #FFBB00
  1460. label = %output%
  1461. format-prefix = "  "
  1462. format-prefix-foreground = #FFBB00
  1463.  
  1464. ################################################################################
  1465.  
  1466. [module/release]
  1467. type = custom/script
  1468. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1469. interval = 6000
  1470.  
  1471. format-foreground = ${colors.foreground}
  1472. format-background = ${colors.background}
  1473. format-prefix = "  "
  1474. format-prefix-foreground = #F7EBD4
  1475. ;format-underline = #704214
  1476.  
  1477. ################################################################################
  1478.  
  1479. [module/sep]
  1480. ; alternative separator
  1481. type = custom/text
  1482. content = 
  1483. content-foreground = ${colors.foreground}
  1484. content-background = ${colors.background}
  1485. format-foreground = ${colors.foreground}
  1486. format-background = ${colors.background}
  1487.  
  1488. ################################################################################
  1489.  
  1490. [module/spotify2]
  1491. ;install zscroll
  1492. ;https://github.com/PrayagS/polybar-spotify
  1493. type = custom/script
  1494. tail = true
  1495. format-prefix = " "
  1496. format = <label>
  1497. format-foreground = ${colors.foreground}
  1498. format-background = ${colors.background}
  1499. exec = ~/.config/polybar/scripts/scroll_spotify_status.sh
  1500.  
  1501. [module/spotify-prev]
  1502. type = custom/script
  1503. exec = echo ""
  1504. format = <label>
  1505. format-foreground = ${colors.foreground}
  1506. format-background = ${colors.background}
  1507. click-left = playerctl previous spotify
  1508.  
  1509. [module/spotify-play-pause]
  1510. type = custom/ipc
  1511. hook-0 = echo ""
  1512. hook-1 = echo ""
  1513. initial = 1
  1514. format-foreground = ${colors.foreground}
  1515. format-background = ${colors.background}
  1516. click-left = playerctl play-pause spotify
  1517. click-right = spotify
  1518.  
  1519. [module/spotify-next]
  1520. type = custom/script
  1521. exec = echo ""
  1522. format = <label>
  1523. format-foreground = ${colors.foreground}
  1524. format-background = ${colors.background}
  1525. click-left = playerctl next spotify
  1526.  
  1527. ################################################################################
  1528.  
  1529. [module/temperature1]
  1530. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1531. type = internal/temperature
  1532. ; Thermal zone to use
  1533. ; To list all the zone types, run
  1534. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1535. ; Default: 0
  1536. thermal-zone = 0
  1537.  
  1538. ; Full path of temperature sysfs path
  1539. ; Use `sensors` to find preferred temperature source, then run
  1540. ; $ 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
  1541. ; to find path to desired file
  1542. ; Default reverts to thermal zone setting
  1543. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1544.  
  1545. warn-temperature = 70
  1546. format = <ramp> <label>
  1547. format-foreground = ${colors.foreground}
  1548. format-background = ${colors.background}
  1549. ;format-underline = #704214
  1550. format-warn = <ramp> <label-warn>
  1551. format-warn-underline = #c7254f
  1552. label = %temperature%
  1553. label-warn =  %temperature%
  1554. label-warn-foreground = #c7254f
  1555.  
  1556. ramp-0 = 
  1557. ramp-1 = 
  1558. ramp-2 = 
  1559. ramp-3 = 
  1560. ramp-4 = 
  1561. ramp-foreground =${colors.foreground}
  1562.  
  1563. ################################################################################
  1564.  
  1565. [module/temperature2]
  1566. type = custom/script
  1567. exec = ~/.config/polybar/scripts/tempcores.sh
  1568. interval = 2
  1569. format-padding = 1
  1570. format-foreground = ${colors.foreground}
  1571. format-background = ${colors.background}
  1572. ;format-underline = #704214
  1573. format-prefix-foreground = #C1B93E
  1574. label =  %output:0:150:%
  1575.  
  1576. ################################################################################
  1577.  
  1578. [module/uptime]
  1579. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1580. type = custom/script
  1581. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1582. interval = 100
  1583. label = Uptime : %output%
  1584.  
  1585. format-foreground = ${colors.foreground}
  1586. format-background = ${colors.background}
  1587. format-prefix = " "
  1588. format-prefix-foreground = #F7EBD4
  1589. ;format-underline = #704214
  1590.  
  1591. ################################################################################
  1592.  
  1593. [module/variety]
  1594. type = custom/script
  1595. exec = echo " Variety"
  1596. ;exec = echo " "
  1597. interval = 1
  1598. tail = true
  1599. format-foreground = ${colors.foreground}
  1600. format-background = ${colors.background}
  1601. format-prefix = ""
  1602. format-prefix-foreground = #F7EBD4
  1603. ;format-underline = #704214
  1604. click-right = variety --preferences
  1605. click-left = variety --selector
  1606.  
  1607. ################################################################################
  1608.  
  1609. [module/volume]
  1610. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1611. type = internal/volume
  1612. format-volume = "<label-volume> <bar-volume>"
  1613.  
  1614. label-volume = ""
  1615. label-volume-foreground = #F7EBD4
  1616. label-muted = muted
  1617.  
  1618. bar-volume-width = 10
  1619. bar-volume-foreground-0 = #FFF1C6
  1620. bar-volume-foreground-1 = #E6D8AD
  1621. bar-volume-foreground-2 = #CCBE93
  1622. bar-volume-foreground-3 = #B3A57A
  1623. bar-volume-foreground-4 = #998B60
  1624. bar-volume-foreground-5 = #807247
  1625. bar-volume-foreground-6 = #66582D
  1626. bar-volume-foreground-7 = #4D3F14
  1627. bar-volume-foreground-8 = #332500
  1628. bar-volume-gradient = true
  1629. bar-volume-indicator = 
  1630. bar-volume-indicator-font = 2
  1631. bar-volume-fill = 
  1632. bar-volume-fill-font = 2
  1633. bar-volume-empty = 
  1634. bar-volume-empty-font = 2
  1635. bar-volume-empty-foreground = ${colors.foreground}
  1636. format-volume-foreground = ${colors.foreground}
  1637. format-volume-background = ${colors.background}
  1638. format-muted-prefix = "  "
  1639. format-muted-prefix-foreground = "#ff0000"
  1640. format-muted-foreground = ${colors.foreground}
  1641. format-muted-background = ${colors.background}
  1642.  
  1643. ################################################################################
  1644.  
  1645. [module/weather]
  1646. type = custom/script
  1647. interval = 10
  1648. format = <label>
  1649. format-prefix = " "
  1650. format-prefix-foreground = #F7EBD4
  1651. ;format-underline = #704214
  1652. format-foreground = ${colors.foreground}
  1653. format-background = ${colors.background}
  1654. exec = python -u ~/.config/polybar/scripts/weather.py
  1655. tail = true
  1656.  
  1657. #################################################################################
  1658.  
  1659. [module/wired-network]
  1660. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1661. type = internal/network
  1662. interface = enp6s0
  1663. interval = 3.0
  1664.  
  1665. ; Available tokens:
  1666. ; %ifname% [wireless+wired]
  1667. ; %local_ip% [wireless+wired]
  1668. ; %essid% [wireless]
  1669. ; %signal% [wireless]
  1670. ; %upspeed% [wireless+wired]
  1671. ; %downspeed% [wireless+wired]
  1672. ; %linkspeed% [wired]
  1673. ; Default: %ifname% %local_ip%
  1674. label-connected = %ifname%
  1675. label-disconnected = %ifname% disconnected
  1676.  
  1677. format-connected-foreground = ${colors.foreground}
  1678. format-connected-background = ${colors.background}
  1679. ;format-connected-underline = #704214
  1680. format-connected-prefix = " "
  1681. ;format-connected-prefix-foreground = #704214
  1682. format-connected-prefix-background = ${colors.background}
  1683.  
  1684. format-disconnected = <label-disconnected>
  1685. format-disconnected-underline = ${colors.alert}
  1686. label-disconnected-foreground = ${colors.foreground}
  1687.  
  1688. ################################################################################
  1689.  
  1690. [module/wireless-network]
  1691. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1692. type = internal/network
  1693. interface = wlp3s0
  1694. interval = 3.0
  1695. label-connected = %essid%
  1696.  
  1697. format-connected = <label-connected>
  1698. ;format-connected = <ramp-signal> <label-connected>
  1699. format-connected-foreground = ${colors.foreground}
  1700. format-connected-background = ${colors.background}
  1701. format-connected-prefix = "  "
  1702. format-connected-prefix-foreground = #7e52c6
  1703. format-connected-prefix-background = ${colors.background}
  1704. ;format-connected-underline = #704214
  1705.  
  1706. label-disconnected = %ifname% disconnected
  1707. label-disconnected-foreground = ${colors.alert}
  1708. label-disconnected-background = ${colors.background}
  1709.  
  1710. format-disconnected = <label-disconnected>
  1711. format-disconnected-foreground = ${colors.alert}
  1712. format-disconnected-background = ${colors.background}
  1713. format-disconnected-prefix = "  "
  1714. format-disconnected-prefix-foreground = ${colors.alert}
  1715. format-disconnected-prefix-background = ${colors.background}
  1716. format-disconnected-underline =${colors.alert}
  1717.  
  1718. ramp-signal-0 = ▁
  1719. ramp-signal-1 = ▂
  1720. ramp-signal-2 = ▃
  1721. ramp-signal-3 = ▄
  1722. ramp-signal-4 = ▅
  1723. ramp-signal-5 = ▆
  1724. ramp-signal-6 = ▇
  1725. ramp-signal-7 = █
  1726. ramp-signal-foreground = #7e52c6
  1727.  
  1728. ################################################################################
  1729.  
  1730. [module/xbacklight]
  1731. ;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
  1732. type = internal/xbacklight
  1733. format = <label> <bar>
  1734. format-prefix = "  "
  1735. format-prefix-foreground = ${colors.foreground}
  1736. format-prefix-background = ${colors.background}
  1737. format-prefix-underline = #9f78e1
  1738. format-underline = #9f78e1
  1739. label = %percentage%%
  1740. bar-width = 10
  1741. bar-indicator = 
  1742. bar-indicator-foreground = #fff
  1743. bar-indicator-font = 2
  1744. bar-fill = 
  1745. bar-fill-font = 2
  1746. bar-fill-foreground = #9f78e1
  1747. bar-empty = 
  1748. bar-empty-font = 2
  1749. bar-empty-foreground = #fff
  1750. format-foreground = ${colors.foreground}
  1751. format-background = ${colors.background}
  1752.  
  1753. ################################################################################
  1754.  
  1755. [module/xkeyboard]
  1756. ;https://github.com/jaagr/polybar/wiki/Module:-xkeyboard
  1757. type = internal/xkeyboard
  1758. blacklist-0 = num lock
  1759.  
  1760. format-prefix = " "
  1761. format-prefix-foreground = ${colors.foreground}
  1762. format-prefix-background = ${colors.background}
  1763. format-prefix-underline = #3ecfb2
  1764. format-foreground = ${colors.foreground}
  1765. format-background = ${colors.background}
  1766.  
  1767. label-layout = %layout%
  1768. label-layout-underline = #3ecfb2
  1769. label-indicator-padding = 2
  1770. label-indicator-margin = 1
  1771. label-indicator-background = ${colors.background}
  1772. label-indicator-underline = ${colors.foreground}
  1773.  
  1774. ################################################################################
  1775.  
  1776. [module/xwindow]
  1777. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1778. type = internal/xwindow
  1779.  
  1780. ; Available tokens:
  1781. ; %title%
  1782. ; Default: %title%
  1783. label = %title%
  1784. label-maxlen = 50
  1785.  
  1786. format-foreground = ${colors.foreground}
  1787. format-background = ${colors.background}
  1788.  
  1789. ###############################################################################
  1790.  
Advertisement
Add Comment
Please, Sign In to add comment