Advertisement
poetician

Polybar | ArcoLinux | colors as variables in round corner modules

Sep 3rd, 2022
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.54 KB | None | 0 0
  1. ; ____ __ _ _ ______ ___ __ _ #
  2. ; / __ \____ ___ / /_(_)____(_)___ _____ / ____/___/ (_) /_(_)___ ____ #
  3. ; / /_/ / __ \/ _ \/ __/ / ___/ / __ `/ __ \ / __/ / __ / / __/ / __ \/ __ \ #
  4. ; / ____/ /_/ / __/ /_/ / /__/ / /_/ / / / / / /___/ /_/ / / /_/ / /_/ / / / / #
  5. ; /_/ \____/\___/\__/_/\___/_/\__,_/_/ /_/ /_____/\__,_/_/\__/_/\____/_/ /_/ #
  6. ; #
  7. ;ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ#
  8. ;ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ ㄗ𐍈𐔹ⵖЪДⴽ ᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜᰜ#
  9. ;
  10. ; To learn more about how to configure Polybar go to
  11. ; https://github.com/jaagr/polybar
  12. ;
  13. ; The README contains important information
  14. ; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
  15. ; https://github.com/jaagr/polybar/wiki/
  16. ; https://github.com/jaagr/polybar/wiki/Configuration
  17. ; https://github.com/jaagr/polybar/wiki/Formatting
  18. ;=====================================================
  19. ; https://gitlab.com/Poetician
  20. ; https://pastebin.com/u/poetician
  21. ;=====================================================
  22.  
  23. [settings]
  24. ;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
  25. screenchange-reload = true
  26. compositing-background = over
  27. compositing-foreground = over
  28. compositing-overline = over
  29. compositing-underline = over
  30. compositing-border = over
  31. pseudo-transparency = true
  32.  
  33. [global/wm]
  34. margin-bottom = 0
  35. margin-top = 0
  36.  
  37. ;include-file = ~/.config/i3/polybar/colors
  38. ;include-file = ~/.config/i3/polybar/modules
  39. ;include-file = ~/.config/i3/polybar/decor
  40. ;include-file = ~/.config/i3/polybar/system
  41.  
  42. [colors]
  43. foreground = #e4e5df
  44. background = #80200000
  45. foreground-alt = #D8DEE9
  46. background-alt = #947155
  47.  
  48. ############################################################################
  49. ############ Topbar ############
  50. ############################################################################
  51.  
  52. [bar/topbar-i3]
  53.  
  54. monitor = ${env:MONITOR}
  55. ;monitor-fallback = HDMI1
  56. monitor-strict = false
  57. override-redirect = false
  58. bottom = false
  59. fixed-center = true
  60. width = 1720
  61. height = 22
  62. ;offset-x = 4
  63. ;offset-y = 4
  64. locale = fr_CA.UTF-8
  65.  
  66. background = #00000000
  67.  
  68. ; Background gradient (vertical steps)
  69. ; background-[0-9]+ = #aarrggbb
  70. ;background-0 = #ff464147
  71. ;background-1 = #f2464147
  72. ;background-2 = #e6464147
  73. ;background-3 = #d9464147
  74. ;background-4 = #cc464147
  75. ;background-5 = #bf464147
  76. ;background-6 = #b3464147
  77. ;background-7 = #a6464147
  78. ;background-8 = #99464147
  79. ;background-9 = #8c464147
  80.  
  81. radius-top = 0
  82. radius-bottom = 0
  83.  
  84. line-size = 0
  85. line-color = #f8b317
  86.  
  87. ;border-size = 6
  88. border-left-size = 200
  89. border-right-size = 0
  90. border-top-size = 2
  91. border-bottom-size = 4
  92. border-color = #00000000
  93.  
  94. padding-left = 0
  95. padding-right = 0
  96.  
  97. module-margin-left = 0
  98. module-margin-right = 0
  99.  
  100. font-0 = "Source Code Pro Medium:size=13;3"
  101. font-1 = "Bauhaus:size=13;3"
  102. font-2 = "fontawesome:size=13;3"
  103. font-3 = "Iosevka Nerd Font:size=13;3"
  104. font-4 = "Iosevka Nerd Font:size=16;4"
  105. font-5 = "Iosevka Nerd Font:size=18;4"
  106.  
  107. modules-left = space-c1 space-c1 round-left i3 round-right space-c1 space-c1
  108. modules-center =
  109. modules-right = space-c1 space-c1 round-left changebackground round-right space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 round-left date round-right space-c1 space-c1
  110.  
  111. ;separator = |
  112.  
  113. dim-value = 0.4
  114.  
  115. tray-detached = true
  116. tray-offset-x = -55
  117. tray-offset-y = 0
  118. tray-padding = 2
  119. tray-maxsize = 17
  120. tray-scale = 1.1
  121. tray-position = center
  122. tray-background = ${colors.background}
  123.  
  124. #i3: Make the bar appear below windows
  125. ;wm-restack = i3
  126. ;override-redirect = true
  127.  
  128. ; Enable support for inter-process messaging
  129. ; See the Messaging wiki page for more details.
  130. enable-ipc = true
  131.  
  132. ; Fallback click handlers that will be called if
  133. ; there's no matching module handler found.
  134. click-left = jgmenu_run
  135. click-middle = rofi -show window
  136. click-right = rofi -show drun
  137. scroll-up = i3wm-wsnext
  138. scroll-down = i3wm-wsprev
  139. double-click-left =
  140. double-click-middle =
  141. double-click-right =
  142.  
  143. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  144. ; Possible values are:
  145. ; - default : The default pointer as before, can also be an empty string (default)
  146. ; - pointer : Typically in the form of a hand
  147. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  148. cursor-click =
  149. cursor-scroll =
  150.  
  151. #########################################################################
  152. ############ BOTTOMBAR ############
  153. #########################################################################
  154.  
  155. [bar/bottombar-i3]
  156.  
  157. monitor = ${env:MONITOR}
  158. ;monitor-fallback = HDMI1
  159. monitor-strict = false
  160. override-redirect = false
  161. bottom = true
  162. fixed-center = true
  163. width = 1440
  164. height = 20
  165. ;offset-x = 1%
  166. ;offset-y = 1%
  167. locale = fr_CA.UTF-8
  168.  
  169. background = #00000000
  170.  
  171. ; Background gradient (vertical steps)
  172. ; background-[0-9]+ = #aarrggbb
  173. ;background-0 = #f2c5c1c2
  174. ;background-1 = #e6c5c1c2
  175. ;background-2 = #d9c5c1c2
  176. ;background-3 = #ccc5c1c2
  177. ;background-4 = #bfc5c1c2
  178. ;background-5 = #b3c5c1c2
  179. ;background-6 = #99c5c1c2
  180. ;background-7 = #80c5c1c2
  181. ;background-8 = #66c5c1c2
  182. ;background-9 = #4dc5c1c2
  183.  
  184. radius-top = 0
  185. radius-bottom = 0
  186.  
  187. ;line-size = 0
  188. ;line-color = #f8b317
  189.  
  190. ;border-size = 0
  191. border-left-size = 480
  192. ;border-right-size = 25
  193. border-top-size = 3
  194. border-bottom-size = 0
  195. border-color = #00000000
  196.  
  197. padding-left = 0
  198. padding-right = 0
  199.  
  200. module-margin-left = 0
  201. module-margin-right = 0
  202.  
  203. font-0 = "Source Code Pro Medium:size=13;3"
  204. font-1 = "Bauhaus:size=13;3"
  205. font-2 = "fontawesome:size=13;3"
  206. font-3 = "Iosevka Nerd Font:size=13;3"
  207. font-4 = "Iosevka Nerd Font:size=16;4"
  208. font-5 = "Iosevka Nerd Font:size=18;4"
  209.  
  210. modules-left = space-c1 space-c1 round-left-c1 changebackground round-right-c1 space-c1 space-c1 space-c1 space-c1 round-left-c1 uptime round-right-c1
  211. modules-center =
  212. modules-right = round-left-c1 networkspeedup round-right-c1 space-c1 space-c1 space-c1 round-left-c1 networkspeeddown round-right-c1 space-c1 space-c1
  213.  
  214. ;separator = |
  215.  
  216. dim-value = 0.6
  217.  
  218. #i3: Make the bar appear below windows
  219. ;wm-restack = i3
  220. ;override-redirect = true
  221.  
  222. ; Enable support for inter-process messaging
  223. ; See the Messaging wiki page for more details.
  224. enable-ipc = true
  225.  
  226. ; Fallback click handlers that will be called if
  227. ; there's no matching module handler found.
  228. click-left = jgmenu_run
  229. click-middle = rofi -show window
  230. click-right = rofi -show drun
  231. scroll-up = i3wm-wsnext
  232. scroll-down = i3wm-wsprev
  233. ;double-click-left =
  234. ;double-click-middle =
  235. ;double-click-right =
  236.  
  237. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  238. ; Possible values are:
  239. ; - default : The default pointer as before, can also be an empty string (default)
  240. ; - pointer : Typically in the form of a hand
  241. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  242. ;cursor-click =
  243. ;cursor-scroll =
  244.  
  245. ################################################################################
  246. ############ MODULE I3 ############
  247. ################################################################################
  248.  
  249. [module/i3]
  250. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  251. type = internal/i3
  252.  
  253. ; Only show workspaces defined on the same output as the bar
  254. ;
  255. ; Useful if you want to show monitor specific workspaces
  256. ; on different bars
  257. ;
  258. ; Default: false
  259. pin-workspaces = true
  260.  
  261. ; This will split the workspace name on ':'
  262. ; Default: false
  263. strip-wsnumbers = true
  264.  
  265. ; Sort the workspaces by index instead of the default
  266. ; sorting that groups the workspaces by output
  267. ; Default: false
  268. index-sort = false
  269.  
  270. ; Create click handler used to focus workspace
  271. ; Default: true
  272. enable-click = true
  273.  
  274. ; Create scroll handlers used to cycle workspaces
  275. ; Default: true
  276. enable-scroll = true
  277.  
  278. ; Wrap around when reaching the first/last workspace
  279. ; Default: true
  280. wrapping-scroll = true
  281.  
  282. ; Set the scroll cycle direction
  283. ; Default: true
  284. reverse-scroll = true
  285.  
  286. ; Use fuzzy (partial) matching on labels when assigning
  287. ; icons to workspaces
  288. ; Example: code;♚ will apply the icon to all workspaces
  289. ; containing 'code' in the label
  290. ; Default: false
  291. fuzzy-match = false
  292.  
  293. ;extra icons to choose from
  294. ;http://fontawesome.io/cheatsheet/
  295. ;          
  296.  
  297. ws-icon-0 = 1;
  298. ws-icon-1 = 2;
  299. ws-icon-2 = 3;
  300. ws-icon-3 = 4;
  301. ws-icon-4 = 5;
  302. ws-icon-5 = 6;
  303. ws-icon-6 = 7;
  304. ws-icon-7 = 8;
  305. ws-icon-8 = 9;
  306. ws-icon-9 = 10;
  307. ws-icon-10 = 11;
  308. ws-icon-11 = 12;
  309. ws-icon-12 = 13;
  310. ws-icon-13 = 14;
  311. ws-icon-14 = 15;
  312. ws-icon-15 = 16;
  313. ws-icon-default = ""
  314.  
  315. ; Available tags:
  316. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  317. ; <label-mode> (default)
  318. format = <label-state> <label-mode>
  319.  
  320. label-mode = %mode%
  321. label-mode-padding = 1
  322. label-mode-foreground = ${colors.foreground}
  323. label-mode-background = ${colors.background}
  324.  
  325. ; Available tokens:
  326. ; %name%
  327. ; %icon%
  328. ; %index%
  329. ; %output%
  330. ; Default: %icon% %name%
  331. ; focused = Active workspace on focused monitor
  332. label-focused = %icon% %name%
  333. label-focused-background = ${colors.background}
  334. label-focused-foreground = ${colors.foreground}
  335. label-focused-underline = ${colors.background}
  336. label-focused-padding = 1
  337.  
  338. ; Available tokens:
  339. ; %name%
  340. ; %icon%
  341. ; %index%
  342. ; Default: %icon% %name%
  343. ; unfocused = Inactive workspace on any monitor
  344. label-unfocused = %icon% %name%
  345. label-unfocused-padding = 1
  346. label-unfocused-background = ${colors.background}
  347. label-unfocused-foreground = ${colors.foreground}
  348. label-unfocused-underline = ${colors.foreground}
  349.  
  350. ; visible = Active workspace on unfocused monitor
  351. label-visible = %icon% %name%
  352. label-visible-background = ${self.label-focused-background}
  353. label-visible-underline = ${self.label-focused-underline}
  354. label-visible-padding = 1
  355.  
  356. ; Available tokens:
  357. ; %name%
  358. ; %icon%
  359. ; %index%
  360. ; Default: %icon% %name%
  361. ; urgent = Workspace with urgency hint set
  362. label-urgent = %icon% %name%
  363. label-urgent-background = ${self.label-focused-background}
  364. label-urgent-foreground = #db104e
  365. label-urgent-padding = 1
  366.  
  367. format-foreground = ${colors.foreground}
  368. format-background = ${colors.background}
  369.  
  370. ################################################################################
  371. ############ MAINBAR-BSPWM ############
  372. ################################################################################
  373.  
  374. [bar/mainbar-bspwm]
  375. monitor = ${env:MONITOR}
  376. ;monitor-fallback = DVI-0
  377. width =76%
  378. height = 30
  379. offset-x = 12%
  380. offset-y = 4
  381. radius = 0
  382. fixed-center = true
  383. bottom = false
  384. ;separator = |
  385.  
  386. ; Background gradient (vertical steps)
  387. ; background-[0-9]+ = #aarrggbb
  388. background-0 = #662D00
  389. background-1 = #733A00
  390. background-2 = #804700
  391. background-3 = #8C5300
  392. background-4 = #996000
  393. background-5 = #A66D00
  394. background-6 = #B37A00
  395. background-7 = #BF8602
  396. background-8 = #CC930F
  397. background-9 = #D9A01C
  398.  
  399. line-size = 0
  400. line-color = #662D00
  401.  
  402. ;wm-restack = bspwm
  403. ;override-redirect = true
  404.  
  405. ; Enable support for inter-process messaging
  406. ; See the Messaging wiki page for more details.
  407. enable-ipc = true
  408.  
  409. ;border-size = 5
  410. border-left-size = 4
  411. border-right-size = 4
  412. border-top-size = 4
  413. border-bottom-size = 4
  414. border-color = #662D00
  415.  
  416. padding-left = 2
  417. padding-right = 2
  418.  
  419. module-margin-left = 0
  420. module-margin-right = 0
  421.  
  422. font-0 = "Jura:size=11;0"
  423. font-1 = "FontAwesome:size=12;0"
  424. font-2 = "Federation:size=10;0"
  425. font-3 = "FantasqueSansMono:size=12;0"
  426.  
  427. modules-left = bspwm
  428. modules-center =
  429. modules-right = pavolume memory2 cpu2 date
  430.  
  431. ;tray-detached = false
  432. ;tray-offset-x = 0
  433. ;tray-offset-y = 0
  434. ;tray-padding = 2
  435. ;tray-maxsize = 20
  436. ;tray-scale = 1.0
  437. ;tray-position = right
  438. ;tray-background = ${colors.background}
  439.  
  440. scroll-up = bspwm-desknext
  441. scroll-down = bspwm-deskprev
  442.  
  443. ################################################################################
  444. ############ MAINBAR-BSPWM-EXTRA ############
  445. ################################################################################
  446.  
  447. [bar/mainbar-bspwm-extra]
  448. monitor = ${env:MONITOR}
  449. ;monitor-fallback = DVI-0
  450. width = 50%
  451. height = 30
  452. offset-x = 25%
  453. ;offset-y = 1%
  454. radius = 0
  455. fixed-center = true
  456. bottom = true
  457. ;separator = |
  458.  
  459. ; Background gradient (vertical steps)
  460. ; background-[0-9]+ = #aarrggbb
  461. background-0 = #D9A01C
  462. background-1 = #CC930F
  463. background-2 = #BF8602
  464. background-3 = #B37A00
  465. background-4 = #A66D00
  466. background-5 = #996000
  467. background-6 = #8C5300
  468. background-7 = #804700
  469. background-8 = #733A00
  470. background-9 = #662D00
  471.  
  472. line-size = 0
  473. line-color = #662D00
  474.  
  475. ;wm-restack = bspwm
  476. ;override-redirect = true
  477.  
  478. ; Enable support for inter-process messaging
  479. ; See the Messaging wiki page for more details.
  480. enable-ipc = true
  481.  
  482. ;border-size = 6
  483. border-left-size = 4
  484. border-right-size = 4
  485. border-top-size = 4
  486. border-bottom-size = 4
  487. border-color = #662D00
  488.  
  489. padding-left = 6
  490. padding-right = 6
  491.  
  492. module-margin-left = 1
  493. module-margin-right = 1
  494.  
  495. font-0 = "Wallpoet_Regular:size=13;0"
  496. font-1 = "FontAwesome:size=12;0"
  497. font-2 = "Wallpoet_Regular:size=12;0"
  498. font-3 = "FantasqueSansMono:size=12;0"
  499.  
  500. modules-left = jgmenu networkspeeddown networkspeedup
  501. modules-center =
  502. modules-right = filesystem uptime
  503.  
  504. tray-detached = false
  505. tray-offset-x = -35
  506. tray-offset-y = 4
  507. tray-padding = 5
  508. tray-maxsize = 18
  509. tray-scale = 0.85
  510. tray-position = center
  511. tray-background = ${colors.background}
  512.  
  513. scroll-up = bspwm-desknext
  514. scroll-down = bspwm-deskprev
  515.  
  516. ################################################################################
  517. ############ MODULE BSPWM ############
  518. ################################################################################
  519.  
  520. [module/bspwm]
  521. type = internal/bspwm
  522.  
  523. enable-click = true
  524. enable-scroll = true
  525. reverse-scroll = true
  526. pin-workspaces = true
  527. strip-wsnumbers = false
  528.  
  529. ws-icon-0 = 1;
  530. ws-icon-1 = 2;
  531. ws-icon-2 = 3;
  532. ws-icon-3 = 4;
  533. ws-icon-4 = 5;
  534. ws-icon-5 = 6;
  535. ws-icon-6 = 7;
  536. ws-icon-7 = 8;
  537. ws-icon-8 = 9;
  538. ws-icon-9 = 10;
  539. ws-icon-10 = 11;
  540. ws-icon-11 = 12;
  541. ws-icon-12 = 13;
  542. ws-icon-13 = 14;
  543. ws-icon-14 = 15;
  544. ws-icon-15 = 16;
  545. ws-icon-default = ""
  546.  
  547. format = <label-state> <label-mode>
  548.  
  549. label-focused = %name% %icon%
  550. label-focused-background = #662D00
  551. ;label-focused-underline= #662D00
  552. label-focused-padding = 1
  553. label-focused-foreground = #662D00
  554.  
  555. label-occupied = %name% %icon%
  556. label-occupied-padding = 1
  557. label-occupied-background = #00000000
  558. label-occupied-foreground = #8C5300
  559.  
  560. label-urgent = %name% %icon%
  561. label-urgent-padding = 0
  562.  
  563. label-empty = %name% %icon%
  564. label-empty-foreground = ${colors.foreground}
  565. label-empty-padding = 1
  566. label-empty-background = #00000000
  567. label-monocle = "  "
  568. label-monocle-foreground = ${colors.foreground}
  569. label-tiled = "  "
  570. label-tiled-foreground = ${colors.foreground}
  571. label-fullscreen = "  "
  572. label-fullscreen-foreground = ${colors.foreground}
  573. label-floating = "  "
  574. label-floating-foreground = ${colors.foreground}
  575. label-pseudotiled = "  "
  576. label-pseudotiled-foreground = ${colors.foreground}
  577. label-locked = "  "
  578. label-locked-foreground =` ${colors.foreground}
  579. label-sticky = "  "
  580. label-sticky-foreground = ${colors.foreground}
  581. label-private = "  "
  582. label-private-foreground = ${colors.foreground}
  583.  
  584. ; Separator in between workspaces
  585. ;label-separator = |
  586. ;label-separator-padding = 10
  587. ;label-separator-foreground = #ffb52a
  588.  
  589. format-foreground = ${colors.foreground}
  590. format-background = ${colors.background}
  591.  
  592. ################################################################################
  593. ############ MAINBAR-HERBSTLUFTWM ############
  594. ################################################################################
  595. ################################################################################
  596.  
  597. [bar/mainbar-herbstluftwm]
  598. monitor = ${env:MONITOR}
  599. ;monitor-fallback = HDMI1
  600. width = 80%
  601. height = 30
  602. offset-x = 10%
  603. ;offset-y = 1%
  604. radius = 10.0
  605. fixed-center = true
  606. bottom = false
  607. ;separator = |
  608.  
  609. background = #00000000
  610. foreground = ${colors.foreground}
  611.  
  612. line-size = 2
  613. line-color = #f00
  614.  
  615. wm-restack = bspwm
  616. override-redirect = true
  617.  
  618. ; Enable support for inter-process messaging
  619. ; See the Messaging wiki page for more details.
  620. enable-ipc = true
  621.  
  622. border-size = 0
  623. ;border-left-size = 0
  624. ;border-right-size = 25
  625. ;border-top-size = 0
  626. ;border-bottom-size = 25
  627. border-color = #00000000
  628.  
  629. padding-left = 0
  630. padding-right = 1
  631.  
  632. module-margin-left = 3
  633. module-margin-right = 3
  634.  
  635. ;https://github.com/jaagr/polybar/wiki/Fonts
  636. font-0 = "Source Code Pro Medium:size=13;3"
  637. font-1 = "Bauhaus:size=13;3"
  638. font-2 = "fontawesome:size=13;3"
  639. font-3 = "Iosevka Nerd Font:size=13;3"
  640. font-4 = "Iosevka Nerd Font:size=16;4"
  641. font-5 = "Iosevka Nerd Font:size=18;4"
  642.  
  643. modules-left = ewmh
  644. modules-center =
  645. modules-right = pavolume memory2 cpu2 date
  646.  
  647. tray-detached = false
  648. tray-offset-x = 0
  649. tray-offset-y = 0
  650. tray-padding = 2
  651. tray-maxsize = 20
  652. tray-scale = 1.0
  653. tray-position = right
  654. tray-background = ${colors.background}
  655.  
  656. scroll-up = herbstclient use_index -1
  657. scroll-down = herbstclient use_index +1
  658.  
  659.  
  660. ################################################################################
  661. ################################################################################
  662. ############ MAINBAR-HERBSTLUFTWM-EXTRA ############
  663. ################################################################################
  664. ################################################################################
  665.  
  666. [bar/mainbar-herbstluftwm-extra]
  667. monitor = ${env:MONITOR}
  668. ;monitor-fallback = HDMI1
  669. width = 60%
  670. height = 30
  671. offset-x = 15%
  672. ;offset-y = 1%
  673. radius = 0.0
  674. fixed-center = true
  675. bottom = true
  676. ;separator = |
  677.  
  678. background = #00000000
  679.  
  680. line-size = 2
  681. line-color = #f00
  682.  
  683. ;wm-restack = bspwm
  684. ;override-redirect = true
  685.  
  686. ; Enable support for inter-process messaging
  687. ; See the Messaging wiki page for more details.
  688. enable-ipc = true
  689.  
  690. border-size = 0
  691. ;border-left-size = 0
  692. ;border-right-size = 25
  693. ;border-top-size = 0
  694. ;border-bottom-size = 25
  695. border-color = #00000000
  696.  
  697. padding-left = 0
  698. padding-right = 1
  699.  
  700. module-margin-left = 3
  701. module-margin-right = 3
  702.  
  703. ;https://github.com/jaagr/polybar/wiki/Fonts
  704. font-0 = "Source Code Pro Medium:size=13;3"
  705. font-1 = "Bauhaus:size=13;3"
  706. font-2 = "fontawesome:size=13;3"
  707. font-3 = "Iosevka Nerd Font:size=13;3"
  708. font-4 = "Iosevka Nerd Font:size=16;4"
  709. font-5 = "Iosevka Nerd Font:size=18;4"
  710.  
  711. modules-left =
  712. modules-center = networkspeeddown networkspeedup
  713. modules-right = filesystem
  714.  
  715. tray-detached = false
  716. tray-offset-x = 0
  717. tray-offset-y = 0
  718. tray-padding = 2
  719. tray-maxsize = 20
  720. tray-scale = 1.0
  721. tray-position = left
  722. tray-background = ${colors.background}
  723.  
  724. scroll-up = herbstclient use_index -1
  725. scroll-down = herbstclient use_index +1
  726.  
  727. ################################################################################
  728. ################################################################################
  729. ############ MODULES A-Z ############
  730. ################################################################################
  731.  
  732. [module/arch-updates]
  733. type = custom/script
  734. exec = ~/.config/polybar/scripts/check-arch-updates.sh
  735. interval = 1000
  736. label = Arch: %output%
  737. format-foreground = ${colors.foreground}
  738. format-background = ${colors.background}
  739. format-prefix = "  "
  740. format-prefix-foreground = ${colors.foreground}
  741. ;format-underline = #FFBB00
  742.  
  743. [module/aur-updates]
  744. type = custom/script
  745. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  746. interval = 1000
  747. label = Aur: %output%
  748. format-foreground = ${colors.foreground}
  749. format-background = ${colors.background}
  750. format-prefix = "  "
  751. format-prefix-foreground = ${colors.foreground}
  752. ;format-underline = #FFBB00
  753.  
  754. ################################################################################
  755.  
  756. [module/battery]
  757. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  758. type = internal/battery
  759. battery = BAT0
  760. adapter = AC0
  761. full-at = 100
  762.  
  763. format-charging = <animation-charging> <label-charging>
  764. label-charging =  %percentage%%
  765. format-charging-foreground = ${colors.foreground}
  766. format-charging-background = ${colors.background}
  767. format-charging-underline = #a3c725
  768.  
  769. format-discharging = <ramp-capacity> <label-discharging>
  770. label-discharging =  %percentage%%
  771. format-discharging-underline = #c7ae25
  772. format-discharging-foreground = ${colors.foreground}
  773. format-discharging-background = ${colors.background}
  774.  
  775. format-full-prefix = " "
  776. format-full-prefix-foreground = #a3c725
  777. format-full-underline = #a3c725
  778. format-full-foreground = ${colors.foreground}
  779. format-full-background = ${colors.background}
  780.  
  781. ramp-capacity-0 = 
  782. ramp-capacity-1 = 
  783. ramp-capacity-2 = 
  784. ramp-capacity-3 = 
  785. ramp-capacity-4 = 
  786. ramp-capacity-foreground = #c7ae25
  787.  
  788. animation-charging-0 = 
  789. animation-charging-1 = 
  790. animation-charging-2 = 
  791. animation-charging-3 = 
  792. animation-charging-4 = 
  793. animation-charging-foreground = #a3c725
  794. animation-charging-framerate = 750
  795.  
  796. ################################################################################
  797.  
  798. [module/changebackground]
  799. type = custom/text
  800. content = 
  801. ;content = CB
  802. content-padding = 2%
  803. content-background = ${colors.background}
  804. content-foreground = ${colors.foreground}
  805. click-left = exec feh --randomize --bg-fill /home/poeticien/Images/GimpGmic/*
  806.  
  807. ################################################################################
  808.  
  809. [module/cpu1]
  810. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  811. type = internal/cpu
  812. ; Seconds to sleep between updates
  813. ; Default: 1
  814. interval = 1
  815. format-foreground = ${colors.foreground}
  816. format-background = ${colors.background}
  817. ;   
  818. format-prefix = " "
  819. format-prefix-foreground = ${colors.foreground}
  820. format-underline = $(colors.format-underline)
  821.  
  822. ; Available tags:
  823. ; <label> (default)
  824. ; <bar-load>
  825. ; <ramp-load>
  826. ; <ramp-coreload>
  827. format = <label> <ramp-coreload>
  828.  
  829. format-padding = 2
  830.  
  831. ; Available tokens:
  832. ; %percentage% (default) - total cpu load
  833. ; %percentage-cores% - load percentage for each core
  834. ; %percentage-core[1-9]% - load percentage for specific core
  835. label-font = 3
  836. label = UCT %percentage:3%%
  837. ramp-coreload-0 = ▁
  838. ramp-coreload-0-font = 3
  839. ramp-coreload-0-foreground = #aaff77
  840. ramp-coreload-1 = ▂
  841. ramp-coreload-1-font = 3
  842. ramp-coreload-1-foreground = #aaff77
  843. ramp-coreload-2 = ▃
  844. ramp-coreload-2-font = 3
  845. ramp-coreload-2-foreground = #aaff77
  846. ramp-coreload-3 = ▄
  847. ramp-coreload-3-font = 3
  848. ramp-coreload-3-foreground = #aaff77
  849. ramp-coreload-4 = ▅
  850. ramp-coreload-4-font = 3
  851. ramp-coreload-4-foreground = #fba922
  852. ramp-coreload-5 = ▆
  853. ramp-coreload-5-font = 3
  854. ramp-coreload-5-foreground = #fba922
  855. ramp-coreload-6 = ▇
  856. ramp-coreload-6-font = 3
  857. ramp-coreload-6-foreground = #ff5555
  858. ramp-coreload-7 = █
  859. ramp-coreload-7-font = 3
  860. ramp-coreload-7-foreground = #ff5555
  861.  
  862. ################################################################################
  863.  
  864. [module/cpu2]
  865. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  866. type = internal/cpu
  867. ; Seconds to sleep between updates
  868. ; Default: 1
  869. interval = 1
  870. format-foreground = ${colors.foreground}
  871. format-background = ${colors.background}
  872. format-prefix = "  "
  873. format-prefix-foreground = ${colors.foreground}
  874. ;format-underline = $(colors.format-underline)
  875.  
  876. label-font = 1
  877.  
  878. ; Available tags:
  879. ; <label> (default)
  880. ; <bar-load>
  881. ; <ramp-load>
  882. ; <ramp-coreload>
  883. format = <label>
  884.  
  885. format-padding = 0
  886.  
  887. ; Available tokens:
  888. ; %percentage% (default) - total cpu load
  889. ; %percentage-cores% - load percentage for each core
  890. ; %percentage-core[1-9]% - load percentage for specific core
  891. label = UCT%percentage:3%%
  892.  
  893. ################################################################################
  894.  
  895. [module/date]
  896. ;https://github.com/jaagr/polybar/wiki/Module:-date
  897. type = internal/date
  898. ; Seconds to sleep between updates
  899. interval = 5
  900. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  901. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  902. ;date = " %c "
  903. date = " %A, %d %B, %Y, "
  904. date-alt = " %d-%m-%Y"
  905. time = "l'heure est: %H:%M "
  906. time-alt = %H:%M
  907. format-prefix = "  "
  908. format-prefix-foreground = ${colors.foreground}
  909. format-underline =
  910. format-foreground = ${colors.foreground}
  911. format-background = ${colors.background}
  912. label = %date% %time%
  913.  
  914. #################################################################
  915.  
  916. [module/ewmh]
  917. type = internal/xworkspaces
  918.  
  919. pin-workspaces = true
  920. enable-click = true
  921. enable-scroll = true
  922. reverse-scroll = true
  923.  
  924. icon-0 = 1;
  925. icon-1 = 2;
  926. icon-2 = 3;
  927. icon-3 = 4;
  928. icon-4 = 5;
  929. icon-5 = 6;
  930. icon-6 = 7;
  931. icon-7 = 8;
  932. icon-8 = 9;
  933. format = <label-state>
  934. label-monitor = %name%
  935.  
  936. label-active = %name%
  937. label-focused-background = ${colors.background}
  938. label-focused-foreground = ${colors.foreground}
  939. label-focused-underline = #b3c5c1c2
  940. label-active-padding = 2
  941.  
  942. label-occupied = %name%
  943. label-occupied-background = ${colors.background}
  944. label-occupied-foreground = ${colors.foreground}
  945. label-occupied-underline = #b3c5c1c2
  946. label-occupied-padding = 2
  947.  
  948. label-urgent = %name%
  949. label-urgent-background = ${colors.background}
  950. label-urgent-foreground = ${colors.foreground}
  951. label-urgent-underline = #b3c5c1c2
  952. label-urgent-padding = 2
  953.  
  954. label-empty = %name%
  955. label-empty-background = ${colors.background}
  956. label-empty-foreground = ${colors.foreground}
  957. label-empty-underline = #b3c5c1c2
  958. label-empty-padding = 2
  959.  
  960. ################################################################################
  961.  
  962. [module/filesystem]
  963. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  964. type = internal/fs
  965.  
  966. ; Mountpoints to display
  967. mount-0 = /
  968. ;mount-1 = /home
  969. ;mount-2 = /var
  970.  
  971. ; Seconds to sleep between updates
  972. ; Default: 30
  973. interval = 30
  974.  
  975. ; Display fixed precision values
  976. ; Default: false
  977. fixed-values = false
  978.  
  979. ; Spacing between entries
  980. ; Default: 2
  981. spacing = 2
  982.  
  983. ; Available tags:
  984. ; <label-mounted> (default)
  985. ; <bar-free>
  986. ; <bar-used>
  987. ; <ramp-capacity>
  988. format-mounted = <label-mounted>
  989. format-mounted-foreground = ${colors.foreground}
  990. format-mounted-background = ${colors.background}
  991. ;format-mounted-underline = $(colors.format-underline)
  992.  
  993. ; Available tokens:
  994. ; %mountpoint%
  995. ; %type%
  996. ; %fsname%
  997. ; %percentage_free%
  998. ; %percentage_used%
  999. ; %total%
  1000. ; %free%
  1001. ; %used%
  1002. ; Default: %mountpoint% %percentage_free%%
  1003. label-mounted = %mountpoint% : %used% utilisé de %total%
  1004.  
  1005. ; Available tokens:
  1006. ; %mountpoint%
  1007. ; Default: %mountpoint% is not mounted
  1008. label-unmounted = %mountpoint% not mounted
  1009. format-unmounted-foreground = ${colors.foreground}
  1010. format-unmounted-background = #00000000
  1011. ;format-unmounted-underline = ${colors.alert}
  1012.  
  1013. ################################################################################
  1014.  
  1015. [module/jgmenu]
  1016. type = custom/script
  1017. interval = 120
  1018. exec = echo "ArcoLinux"
  1019. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1020. format-foreground = ${colors.foreground}
  1021. format-background = ${colors.background}
  1022.  
  1023. ################################################################################
  1024.  
  1025. [module/kernel]
  1026. type = custom/script
  1027. exec = uname -r
  1028. tail = false
  1029. interval = 1024
  1030.  
  1031. format-foreground = ${colors.foreground}
  1032. format-background = ${colors.background}
  1033. format-prefix = "  "
  1034. format-prefix-foreground = ${colors.foreground}
  1035. format-underline = #00000000
  1036.  
  1037. ################################################################################
  1038.  
  1039. [module/load-average]
  1040. type = custom/script
  1041. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1042. interval = 100
  1043.  
  1044. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1045. ;label = %output%
  1046. label = %output:10%
  1047.  
  1048. format-foreground = ${colors.foreground}
  1049. format-background = ${colors.background}
  1050. format-prefix = "  "
  1051. ;format-prefix-foreground = ${colors.foreground}
  1052. format-underline = $(colors.format-underline)
  1053.  
  1054. ################################################################################
  1055.  
  1056. [module/memory1]
  1057. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1058. type = internal/memory
  1059. interval = 1
  1060. ; Available tokens:
  1061. ; %percentage_used% (default)
  1062. ; %percentage_free%
  1063. ; %gb_used%
  1064. ; %gb_free%
  1065. ; %gb_total%
  1066. ; %mb_used%
  1067. ; %mb_free%
  1068. ; %mb_total%
  1069. label = %percentage_used%%
  1070. bar-used-indicator =
  1071. bar-used-width = 10
  1072. bar-used-foreground-0 = #00000000
  1073. bar-used-fill = 
  1074. bar-used-empty = 
  1075. bar-used-empty-foreground = ${colors.foreground}
  1076.  
  1077. format = <label> <bar-used>
  1078. format-prefix = "  "
  1079. ;format-prefix-foreground = ${colors.foreground}
  1080. format-underline = $(colors.format-underline)
  1081. format-foreground = ${colors.foreground}
  1082. format-background = ${colors.background}
  1083.  
  1084. ################################################################################
  1085.  
  1086. [module/memory2]
  1087. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1088. type = internal/memory
  1089. interval = 1
  1090. ; Available tokens:
  1091. ; %percentage_used% (default)
  1092. ; %percentage_free%
  1093. ; %gb_used%
  1094. ; %gb_free%
  1095. ; %gb_total%
  1096. ; %mb_used%
  1097. ; %mb_free%
  1098. ; %mb_total%
  1099. label = %percentage_used%%
  1100.  
  1101. format = Mém <label>
  1102. format-prefix = "  "
  1103. format-prefix-foreground = ${colors.foreground}
  1104. ;format-underline = $(colors.format-underline)
  1105. format-foreground = ${colors.foreground}
  1106. format-background = ${colors.background}
  1107.  
  1108. ################################################################################
  1109.  
  1110. [module/memory3]
  1111. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1112. type = internal/memory
  1113. interval = 1
  1114. ; Available tokens:
  1115. ; %percentage_used% (default)
  1116. ; %percentage_free%
  1117. ; %gb_used%
  1118. ; %gb_free%
  1119. ; %gb_total%
  1120. ; %mb_used%
  1121. ; %mb_free%
  1122. ; %mb_total%
  1123. label = %gb_used%/%gb_free%
  1124.  
  1125. format = Mém <label>
  1126. format-prefix = "  "
  1127. format-prefix-foreground = ${colors.foreground}
  1128. format-underline = $(colors.format-underline)
  1129. format-foreground = ${colors.foreground}
  1130. format-background = ${colors.background}
  1131.  
  1132. ################################################################################
  1133.  
  1134. [module/mpd]
  1135. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1136. type = internal/mpd
  1137. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1138. format-online = "<label-song> <bar-progress>"
  1139. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1140. icon-prev = 
  1141. icon-stop = 
  1142. icon-play = 
  1143. icon-pause = 
  1144. icon-next = 
  1145. label-song-maxlen = 40
  1146. label-song-ellipsis = true
  1147. bar-progress-width = 10
  1148. bar-progress-indicator = 
  1149. bar-progress-fill = 
  1150. bar-progress-empty = 
  1151. bar-progress-fill-foreground = ${colors.foreground}
  1152. bar-progress-fill-background = ${colors.background}
  1153. bar-progress-indicator-foreground = ${colors.foreground}
  1154. format-online-foreground = ${colors.foreground}
  1155. format-online-background = ${colors.background}
  1156. ################################################################################
  1157.  
  1158. [module/networkspeedup]
  1159. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1160. type = internal/network
  1161. interface = enp6s0
  1162. label-connected = "%upspeed:7%"
  1163. format-connected = <label-connected>
  1164. format-connected-prefix = "  "
  1165. format-connected-prefix-foreground = ${colors.foreground}
  1166. format-connected-foreground = ${colors.foreground}
  1167. format-connected-background = ${colors.background}
  1168. format-connected-underline = $(colors.format-underline)
  1169.  
  1170. ################################################################################
  1171.  
  1172. [module/networkspeeddown]
  1173. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1174. type = internal/network
  1175. interface = enp6s0
  1176. ; Available tokens:
  1177. ; %percentage% (default)
  1178. label = %percentage:2%%
  1179. label-connected = "%downspeed:7%"
  1180. format-connected = <label-connected>
  1181. format-connected-prefix = "  "
  1182. format-connected-prefix-foreground = ${colors.foreground}
  1183. format-connected-foreground = ${colors.foreground}
  1184. format-connected-background = ${colors.background}
  1185. format-connected-underline = $(colors.format-underline)
  1186.  
  1187. ################################################################################
  1188.  
  1189. [module/pacman-updates]
  1190. type = custom/script
  1191. ;exec = pacman -Qu | wc -l
  1192. exec = checkupdates | wc -l
  1193. interval = 1000
  1194. label = Repo: %output%
  1195. format-foreground = ${colors.foreground}
  1196. format-background = ${colors.background}
  1197. format-prefix = "  "
  1198. ;format-prefix-foreground = ${colors.foreground}
  1199. format-underline = $(colors.format-underline)
  1200.  
  1201. ################################################################################
  1202.  
  1203. [module/pavolume]
  1204. type = custom/script
  1205. tail = true
  1206. label = %output%
  1207. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1208. click-right = exec pavucontrol
  1209. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1210. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1211. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1212. format-underline = $(colors.format-underline)
  1213. format-foreground = ${colors.foreground}
  1214. format-background = ${colors.background}
  1215.  
  1216. ################################################################################
  1217.  
  1218. [module/release]
  1219. type = custom/script
  1220. exec = lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1221. interval = 6000
  1222. format-foreground = ${colors.foreground}
  1223. format-background = ${colors.background}
  1224. format-prefix = "  "
  1225. format-prefix-foreground = ${colors.foreground}
  1226. format-underline = $(colors.format-underline)
  1227.  
  1228. ################################################################################
  1229.  
  1230. [module/sep]
  1231. ; alternative separator
  1232. ;type = custom/text
  1233. ;content = 
  1234. ;content-foreground = ${colors.foreground}
  1235. ;content-background = ${colors.background}
  1236. ;format-foreground = ${colors.foreground}
  1237. ;format-background = ${colors.background}
  1238.  
  1239. ################################################################################
  1240.  
  1241. [module/temperature1]
  1242. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1243. type = internal/temperature
  1244. ; Thermal zone to use
  1245. ; To list all the zone types, run
  1246. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1247. ; Default: 0
  1248. thermal-zone = 0
  1249.  
  1250. ; Full path of temperature sysfs path
  1251. ; Use `sensors` to find preferred temperature source, then run
  1252. ; $ 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
  1253. ; to find path to desired file
  1254. ; Default reverts to thermal zone setting
  1255. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1256.  
  1257. warn-temperature = 70
  1258. format = <ramp> <label>
  1259. format-foreground = ${colors.foreground}
  1260. format-background = ${colors.background}
  1261. format-underline = $(colors.format-underline)
  1262. format-warn = <ramp> <label-warn>
  1263. format-warn-underline = #c7254f
  1264. label = %temperature%
  1265. label-warn =  %temperature%
  1266. label-warn-foreground = #c7254f
  1267.  
  1268. ramp-0 = 
  1269. ramp-1 = 
  1270. ramp-2 = 
  1271. ramp-3 = 
  1272. ramp-4 = 
  1273. ramp-foreground =${colors.foreground}
  1274.  
  1275. ################################################################################
  1276.  
  1277. [module/temperature2]
  1278. type = custom/script
  1279. exec = ~/.config/polybar/scripts/tempcores.sh
  1280. interval = 2
  1281. format-padding = 1
  1282. format-foreground = ${colors.foreground}
  1283. format-background = ${colors.background}
  1284. format-underline = $(colors.format-underline)
  1285. ;format-prefix-foreground = ${colors.foreground}
  1286. label =  %output:0:150:%
  1287.  
  1288. ################################################################################
  1289.  
  1290. [module/uptime]
  1291. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1292. type = custom/script
  1293. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1294. interval = 100
  1295. label = Actif : %output%
  1296.  
  1297. format-foreground = ${colors.foreground}
  1298. format-background = ${colors.background}
  1299. format-prefix = "  "
  1300. format-prefix-foreground = ${colors.foreground}
  1301. format-underline = $(colors.format-underline)
  1302.  
  1303. ################################################################################
  1304.  
  1305. [module/variety]
  1306. type = custom/script
  1307. exec = echo " Variety"
  1308. ;exec = echo " "
  1309. interval = 1
  1310. tail = true
  1311. format-foreground = ${colors.foreground}
  1312. format-background = ${colors.background}
  1313. format-prefix = ""
  1314. format-prefix-foreground = ${colors.foreground}
  1315. format-underline = $(colors.format-underline)
  1316. click-right = variety --preferences
  1317. click-left = variety --selector
  1318.  
  1319. ################################################################################
  1320.  
  1321. [module/volume]
  1322. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1323. type = internal/volume
  1324. format-volume = "<label-volume> <bar-volume>"
  1325.  
  1326. label-volume = " "
  1327. label-volume-foreground = #40ad4b
  1328. label-muted = muted
  1329.  
  1330. bar-volume-width = 10
  1331. bar-volume-foreground-0 = #40ad4b
  1332. bar-volume-foreground-1 = #40ad4b
  1333. bar-volume-foreground-2 = #40ad4b
  1334. bar-volume-foreground-3 = #40ad4b
  1335. bar-volume-foreground-4 = #40ad4b
  1336. bar-volume-foreground-5 = #40ad4b
  1337. bar-volume-foreground-6 = #40ad4b
  1338. bar-volume-gradient = false
  1339. bar-volume-indicator = 
  1340. bar-volume-indicator-font = 2
  1341. bar-volume-fill = 
  1342. bar-volume-fill-font = 2
  1343. bar-volume-empty = 
  1344. bar-volume-empty-font = 2
  1345. bar-volume-empty-foreground = ${colors.foreground}
  1346. format-volume-foreground = ${colors.foreground}
  1347. format-volume-background = ${colors.background}
  1348. format-muted-prefix = "  "
  1349. format-muted-prefix-foreground = "#ff0000"
  1350. format-muted-foreground = ${colors.foreground}
  1351. format-muted-background = ${colors.background}
  1352.  
  1353. ##########################################################################################################################################
  1354.  
  1355. [module/wall]
  1356. type = custom/text
  1357. content = PW
  1358. content-padding = 1%
  1359. content-background = ${color.background}
  1360. content-foreground = ${color.foreground}
  1361. click-left = ~/.config/i3/scripts/wal.sh
  1362. ;format-underline = #3EC13F
  1363. format-foreground = ${color.foreground}
  1364. format-background = ${color.background}
  1365.  
  1366. ################################################################################
  1367.  
  1368. [module/weather]
  1369. type = custom/script
  1370. interval = 10
  1371. format = <label>
  1372. format-prefix = " "
  1373. ;format-prefix-foreground = ${colors.foreground}
  1374. format-underline = $(colors.format-underline)
  1375. format-foreground = ${colors.foreground}
  1376. format-background = ${colors.background}
  1377. exec = python -u ~/.config/polybar/scripts/weather.py
  1378. tail = true
  1379.  
  1380. #################################################################################
  1381.  
  1382. [module/wired-network]
  1383. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1384. type = internal/network
  1385. interface = enp6s0
  1386. interval = 3.0
  1387.  
  1388. ; Available tokens:
  1389. ; %ifname% [wireless+wired]
  1390. ; %local_ip% [wireless+wired]
  1391. ; %essid% [wireless]
  1392. ; %signal% [wireless]
  1393. ; %upspeed% [wireless+wired]
  1394. ; %downspeed% [wireless+wired]
  1395. ; %linkspeed% [wired]
  1396. ; Default: %ifname% %local_ip%
  1397. label-connected = %ifname%
  1398. label-disconnected = %ifname% disconnected
  1399.  
  1400. format-connected-foreground = ${colors.foreground}
  1401. format-connected-background = ${colors.background}
  1402. format-connected-underline = #99E2B856
  1403. format-connected-prefix = " "
  1404. ;format-connected-prefix-foreground = ${colors.foreground}
  1405. format-connected-prefix-background = ${colors.background}
  1406.  
  1407. format-disconnected = <label-disconnected>
  1408. format-disconnected-underline = ${colors.alert}
  1409. label-disconnected-foreground = ${colors.foreground}
  1410.  
  1411. ################################################################################
  1412.  
  1413. [module/xwindow]
  1414. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1415. type = internal/xwindow
  1416.  
  1417. ; Available tokens:
  1418. ; %title%
  1419. ; Default: %title%
  1420. label = %title%
  1421. label-maxlen = 50
  1422.  
  1423. format-foreground = ${colors.foreground}
  1424. format-background = ${colors.background}
  1425.  
  1426. ##########################################################################################################################################
  1427. #########DECORATIVE MODULES
  1428. ##########################################################################################################################################
  1429.  
  1430. [module/space-c1]
  1431. type = custom/text
  1432. content = %{T1} %{T-}
  1433. content-background = #00000000
  1434.  
  1435. [module/space-c2]
  1436. type = custom/text
  1437. content = %{T1} %{T-}
  1438. content-background = #00000000
  1439.  
  1440. [module/round-left]
  1441. type = custom/text
  1442.  
  1443. content = %{T1}%{T-}
  1444. content-foreground = ${colors.background}
  1445.  
  1446. [module/round-right]
  1447. type = custom/text
  1448.  
  1449. content = %{T1}%{T-}
  1450. content-foreground = ${colors.background}
  1451.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement