poetician

Polybar | i3wm | changebackground module syntax correction

Oct 5th, 2022 (edited)
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.52 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.  
  298. ws-icon-0 = 1;
  299. ws-icon-1 = 2;
  300. ws-icon-2 = 3;
  301. ws-icon-3 = 4;
  302. ws-icon-4 = 5;
  303. ws-icon-5 = 6;
  304. ws-icon-6 = 7;
  305. ws-icon-7 = 8;
  306. ws-icon-8 = 9;
  307. ws-icon-9 = 10;
  308. ws-icon-10 = 11;
  309. ws-icon-11 = 12;
  310. ws-icon-12 = 13;
  311. ws-icon-13 = 14;
  312. ws-icon-14 = 15;
  313. ws-icon-15 = 16;
  314. ws-icon-default = ""
  315.  
  316. ; Available tags:
  317. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  318. ; <label-mode> (default)
  319. format = <label-state> <label-mode>
  320.  
  321. label-mode = %mode%
  322. label-mode-padding = 1
  323. label-mode-foreground = ${colors.foreground}
  324. label-mode-background = ${colors.background}
  325.  
  326. ; Available tokens:
  327. ; %name%
  328. ; %icon%
  329. ; %index%
  330. ; %output%
  331. ; Default: %icon% %name%
  332. ; focused = Active workspace on focused monitor
  333. label-focused = %icon% %name%
  334. label-focused-background = ${colors.background}
  335. label-focused-foreground = ${colors.foreground}
  336. label-focused-underline = ${colors.background}
  337. label-focused-padding = 1
  338.  
  339. ; Available tokens:
  340. ; %name%
  341. ; %icon%
  342. ; %index%
  343. ; Default: %icon% %name%
  344. ; unfocused = Inactive workspace on any monitor
  345. label-unfocused = %icon% %name%
  346. label-unfocused-padding = 1
  347. label-unfocused-background = ${colors.background}
  348. label-unfocused-foreground = ${colors.foreground}
  349. label-unfocused-underline = ${colors.foreground}
  350.  
  351. ; visible = Active workspace on unfocused monitor
  352. label-visible = %icon% %name%
  353. label-visible-background = ${self.label-focused-background}
  354. label-visible-underline = ${self.label-focused-underline}
  355. label-visible-padding = 1
  356.  
  357. ; Available tokens:
  358. ; %name%
  359. ; %icon%
  360. ; %index%
  361. ; Default: %icon% %name%
  362. ; urgent = Workspace with urgency hint set
  363. label-urgent = %icon% %name%
  364. label-urgent-background = ${self.label-focused-background}
  365. label-urgent-foreground = #db104e
  366. label-urgent-padding = 1
  367.  
  368. format-foreground = ${colors.foreground}
  369. format-background = ${colors.background}
  370.  
  371. ################################################################################
  372. ############ MAINBAR-BSPWM ############
  373. ################################################################################
  374.  
  375. [bar/mainbar-bspwm]
  376. monitor = ${env:MONITOR}
  377. ;monitor-fallback = DVI-0
  378. width =76%
  379. height = 30
  380. offset-x = 12%
  381. offset-y = 4
  382. radius = 0
  383. fixed-center = true
  384. bottom = false
  385. ;separator = |
  386.  
  387. ; Background gradient (vertical steps)
  388. ; background-[0-9]+ = #aarrggbb
  389. background-0 = #662D00
  390. background-1 = #733A00
  391. background-2 = #804700
  392. background-3 = #8C5300
  393. background-4 = #996000
  394. background-5 = #A66D00
  395. background-6 = #B37A00
  396. background-7 = #BF8602
  397. background-8 = #CC930F
  398. background-9 = #D9A01C
  399.  
  400. line-size = 0
  401. line-color = #662D00
  402.  
  403. ;wm-restack = bspwm
  404. ;override-redirect = true
  405.  
  406. ; Enable support for inter-process messaging
  407. ; See the Messaging wiki page for more details.
  408. enable-ipc = true
  409.  
  410. ;border-size = 5
  411. border-left-size = 4
  412. border-right-size = 4
  413. border-top-size = 4
  414. border-bottom-size = 4
  415. border-color = #662D00
  416.  
  417. padding-left = 2
  418. padding-right = 2
  419.  
  420. module-margin-left = 0
  421. module-margin-right = 0
  422.  
  423. font-0 = "Jura:size=11;0"
  424. font-1 = "FontAwesome:size=12;0"
  425. font-2 = "Federation:size=10;0"
  426. font-3 = "FantasqueSansMono:size=12;0"
  427.  
  428. modules-left = bspwm
  429. modules-center =
  430. modules-right = pavolume memory2 cpu2 date
  431.  
  432. ;tray-detached = false
  433. ;tray-offset-x = 0
  434. ;tray-offset-y = 0
  435. ;tray-padding = 2
  436. ;tray-maxsize = 20
  437. ;tray-scale = 1.0
  438. ;tray-position = right
  439. ;tray-background = ${colors.background}
  440.  
  441. scroll-up = bspwm-desknext
  442. scroll-down = bspwm-deskprev
  443.  
  444. ################################################################################
  445. ############ MAINBAR-BSPWM-EXTRA ############
  446. ################################################################################
  447.  
  448. [bar/mainbar-bspwm-extra]
  449. monitor = ${env:MONITOR}
  450. ;monitor-fallback = DVI-0
  451. width = 50%
  452. height = 30
  453. offset-x = 25%
  454. ;offset-y = 1%
  455. radius = 0
  456. fixed-center = true
  457. bottom = true
  458. ;separator = |
  459.  
  460. ; Background gradient (vertical steps)
  461. ; background-[0-9]+ = #aarrggbb
  462. background-0 = #D9A01C
  463. background-1 = #CC930F
  464. background-2 = #BF8602
  465. background-3 = #B37A00
  466. background-4 = #A66D00
  467. background-5 = #996000
  468. background-6 = #8C5300
  469. background-7 = #804700
  470. background-8 = #733A00
  471. background-9 = #662D00
  472.  
  473. line-size = 0
  474. line-color = #662D00
  475.  
  476. ;wm-restack = bspwm
  477. ;override-redirect = true
  478.  
  479. ; Enable support for inter-process messaging
  480. ; See the Messaging wiki page for more details.
  481. enable-ipc = true
  482.  
  483. ;border-size = 6
  484. border-left-size = 4
  485. border-right-size = 4
  486. border-top-size = 4
  487. border-bottom-size = 4
  488. border-color = #662D00
  489.  
  490. padding-left = 6
  491. padding-right = 6
  492.  
  493. module-margin-left = 1
  494. module-margin-right = 1
  495.  
  496. font-0 = "Wallpoet_Regular:size=13;0"
  497. font-1 = "FontAwesome:size=12;0"
  498. font-2 = "Wallpoet_Regular:size=12;0"
  499. font-3 = "FantasqueSansMono:size=12;0"
  500.  
  501. modules-left = jgmenu networkspeeddown networkspeedup
  502. modules-center =
  503. modules-right = filesystem uptime
  504.  
  505. tray-detached = false
  506. tray-offset-x = -35
  507. tray-offset-y = 4
  508. tray-padding = 5
  509. tray-maxsize = 18
  510. tray-scale = 0.85
  511. tray-position = center
  512. tray-background = ${colors.background}
  513.  
  514. scroll-up = bspwm-desknext
  515. scroll-down = bspwm-deskprev
  516.  
  517. ################################################################################
  518. ############ MODULE BSPWM ############
  519. ################################################################################
  520.  
  521. [module/bspwm]
  522. type = internal/bspwm
  523.  
  524. enable-click = true
  525. enable-scroll = true
  526. reverse-scroll = true
  527. pin-workspaces = true
  528. strip-wsnumbers = false
  529.  
  530. ws-icon-0 = 1;
  531. ws-icon-1 = 2;
  532. ws-icon-2 = 3;
  533. ws-icon-3 = 4;
  534. ws-icon-4 = 5;
  535. ws-icon-5 = 6;
  536. ws-icon-6 = 7;
  537. ws-icon-7 = 8;
  538. ws-icon-8 = 9;
  539. ws-icon-9 = 10;
  540. ws-icon-10 = 11;
  541. ws-icon-11 = 12;
  542. ws-icon-12 = 13;
  543. ws-icon-13 = 14;
  544. ws-icon-14 = 15;
  545. ws-icon-15 = 16;
  546. ws-icon-default = ""
  547.  
  548. format = <label-state> <label-mode>
  549.  
  550. label-focused = %name% %icon%
  551. label-focused-background = #662D00
  552. ;label-focused-underline= #662D00
  553. label-focused-padding = 1
  554. label-focused-foreground = #662D00
  555.  
  556. label-occupied = %name% %icon%
  557. label-occupied-padding = 1
  558. label-occupied-background = #00000000
  559. label-occupied-foreground = #8C5300
  560.  
  561. label-urgent = %name% %icon%
  562. label-urgent-padding = 0
  563.  
  564. label-empty = %name% %icon%
  565. label-empty-foreground = ${colors.foreground}
  566. label-empty-padding = 1
  567. label-empty-background = #00000000
  568. label-monocle = "  "
  569. label-monocle-foreground = ${colors.foreground}
  570. label-tiled = "  "
  571. label-tiled-foreground = ${colors.foreground}
  572. label-fullscreen = "  "
  573. label-fullscreen-foreground = ${colors.foreground}
  574. label-floating = "  "
  575. label-floating-foreground = ${colors.foreground}
  576. label-pseudotiled = "  "
  577. label-pseudotiled-foreground = ${colors.foreground}
  578. label-locked = "  "
  579. label-locked-foreground =` ${colors.foreground}
  580. label-sticky = "  "
  581. label-sticky-foreground = ${colors.foreground}
  582. label-private = "  "
  583. label-private-foreground = ${colors.foreground}
  584.  
  585. ; Separator in between workspaces
  586. ;label-separator = |
  587. ;label-separator-padding = 10
  588. ;label-separator-foreground = #ffb52a
  589.  
  590. format-foreground = ${colors.foreground}
  591. format-background = ${colors.background}
  592.  
  593. ################################################################################
  594. ############ MAINBAR-HERBSTLUFTWM ############
  595. ################################################################################
  596. ################################################################################
  597.  
  598. [bar/mainbar-herbstluftwm]
  599. monitor = ${env:MONITOR}
  600. ;monitor-fallback = HDMI1
  601. width = 80%
  602. height = 30
  603. offset-x = 10%
  604. ;offset-y = 1%
  605. radius = 10.0
  606. fixed-center = true
  607. bottom = false
  608. ;separator = |
  609.  
  610. background = #00000000
  611. foreground = ${colors.foreground}
  612.  
  613. line-size = 2
  614. line-color = #f00
  615.  
  616. wm-restack = bspwm
  617. override-redirect = true
  618.  
  619. ; Enable support for inter-process messaging
  620. ; See the Messaging wiki page for more details.
  621. enable-ipc = true
  622.  
  623. border-size = 0
  624. ;border-left-size = 0
  625. ;border-right-size = 25
  626. ;border-top-size = 0
  627. ;border-bottom-size = 25
  628. border-color = #00000000
  629.  
  630. padding-left = 0
  631. padding-right = 1
  632.  
  633. module-margin-left = 3
  634. module-margin-right = 3
  635.  
  636. ;https://github.com/jaagr/polybar/wiki/Fonts
  637. font-0 = "Source Code Pro Medium:size=13;3"
  638. font-1 = "Bauhaus:size=13;3"
  639. font-2 = "fontawesome:size=13;3"
  640. font-3 = "Iosevka Nerd Font:size=13;3"
  641. font-4 = "Iosevka Nerd Font:size=16;4"
  642. font-5 = "Iosevka Nerd Font:size=18;4"
  643.  
  644. modules-left = ewmh
  645. modules-center =
  646. modules-right = pavolume memory2 cpu2 date
  647.  
  648. tray-detached = false
  649. tray-offset-x = 0
  650. tray-offset-y = 0
  651. tray-padding = 2
  652. tray-maxsize = 20
  653. tray-scale = 1.0
  654. tray-position = right
  655. tray-background = ${colors.background}
  656.  
  657. scroll-up = herbstclient use_index -1
  658. scroll-down = herbstclient use_index +1
  659.  
  660.  
  661. ################################################################################
  662. ################################################################################
  663. ############ MAINBAR-HERBSTLUFTWM-EXTRA ############
  664. ################################################################################
  665. ################################################################################
  666.  
  667. [bar/mainbar-herbstluftwm-extra]
  668. monitor = ${env:MONITOR}
  669. ;monitor-fallback = HDMI1
  670. width = 60%
  671. height = 30
  672. offset-x = 15%
  673. ;offset-y = 1%
  674. radius = 0.0
  675. fixed-center = true
  676. bottom = true
  677. ;separator = |
  678.  
  679. background = #00000000
  680.  
  681. line-size = 2
  682. line-color = #f00
  683.  
  684. ;wm-restack = bspwm
  685. ;override-redirect = true
  686.  
  687. ; Enable support for inter-process messaging
  688. ; See the Messaging wiki page for more details.
  689. enable-ipc = true
  690.  
  691. border-size = 0
  692. ;border-left-size = 0
  693. ;border-right-size = 25
  694. ;border-top-size = 0
  695. ;border-bottom-size = 25
  696. border-color = #00000000
  697.  
  698. padding-left = 0
  699. padding-right = 1
  700.  
  701. module-margin-left = 3
  702. module-margin-right = 3
  703.  
  704. ;https://github.com/jaagr/polybar/wiki/Fonts
  705. font-0 = "Source Code Pro Medium:size=13;3"
  706. font-1 = "Bauhaus:size=13;3"
  707. font-2 = "fontawesome:size=13;3"
  708. font-3 = "Iosevka Nerd Font:size=13;3"
  709. font-4 = "Iosevka Nerd Font:size=16;4"
  710. font-5 = "Iosevka Nerd Font:size=18;4"
  711.  
  712. modules-left =
  713. modules-center = networkspeeddown networkspeedup
  714. modules-right = filesystem
  715.  
  716. tray-detached = false
  717. tray-offset-x = 0
  718. tray-offset-y = 0
  719. tray-padding = 2
  720. tray-maxsize = 20
  721. tray-scale = 1.0
  722. tray-position = left
  723. tray-background = ${colors.background}
  724.  
  725. scroll-up = herbstclient use_index -1
  726. scroll-down = herbstclient use_index +1
  727.  
  728. ################################################################################
  729. ################################################################################
  730. ############ MODULES A-Z ############
  731. ################################################################################
  732.  
  733. [module/arch-updates]
  734. type = custom/script
  735. exec = ~/.config/polybar/scripts/check-arch-updates.sh
  736. interval = 1000
  737. label = Arch: %output%
  738. format-foreground = ${colors.foreground}
  739. format-background = ${colors.background}
  740. format-prefix = "  "
  741. format-prefix-foreground = ${colors.foreground}
  742. ;format-underline = #FFBB00
  743.  
  744. [module/aur-updates]
  745. type = custom/script
  746. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  747. interval = 1000
  748. label = Aur: %output%
  749. format-foreground = ${colors.foreground}
  750. format-background = ${colors.background}
  751. format-prefix = "  "
  752. format-prefix-foreground = ${colors.foreground}
  753. ;format-underline = #FFBB00
  754.  
  755. ################################################################################
  756.  
  757. [module/battery]
  758. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  759. type = internal/battery
  760. battery = BAT0
  761. adapter = AC0
  762. full-at = 100
  763.  
  764. format-charging = <animation-charging> <label-charging>
  765. label-charging =  %percentage%%
  766. format-charging-foreground = ${colors.foreground}
  767. format-charging-background = ${colors.background}
  768. format-charging-underline = #a3c725
  769.  
  770. format-discharging = <ramp-capacity> <label-discharging>
  771. label-discharging =  %percentage%%
  772. format-discharging-underline = #c7ae25
  773. format-discharging-foreground = ${colors.foreground}
  774. format-discharging-background = ${colors.background}
  775.  
  776. format-full-prefix = " "
  777. format-full-prefix-foreground = #a3c725
  778. format-full-underline = #a3c725
  779. format-full-foreground = ${colors.foreground}
  780. format-full-background = ${colors.background}
  781.  
  782. ramp-capacity-0 = 
  783. ramp-capacity-1 = 
  784. ramp-capacity-2 = 
  785. ramp-capacity-3 = 
  786. ramp-capacity-4 = 
  787. ramp-capacity-foreground = #c7ae25
  788.  
  789. animation-charging-0 = 
  790. animation-charging-1 = 
  791. animation-charging-2 = 
  792. animation-charging-3 = 
  793. animation-charging-4 = 
  794. animation-charging-foreground = #a3c725
  795. animation-charging-framerate = 750
  796.  
  797. ################################################################################
  798.  
  799. [module/changebackground]
  800. type = custom/text
  801. content = 
  802. ;content = CB
  803. content-padding = 2%
  804. content-background = ${colors.background}
  805. content-foreground = ${colors.foreground}
  806. click-left = exec feh --randomize --bg-fill /home/poeticien/Images/GimpGmic/*
  807.  
  808. ################################################################################
  809.  
  810. [module/cpu1]
  811. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  812. type = internal/cpu
  813. ; Seconds to sleep between updates
  814. ; Default: 1
  815. interval = 1
  816. format-foreground = ${colors.foreground}
  817. format-background = ${colors.background}
  818. ;   
  819. format-prefix = " "
  820. format-prefix-foreground = ${colors.foreground}
  821. format-underline = $(colors.format-underline)
  822.  
  823. ; Available tags:
  824. ; <label> (default)
  825. ; <bar-load>
  826. ; <ramp-load>
  827. ; <ramp-coreload>
  828. format = <label> <ramp-coreload>
  829.  
  830. format-padding = 2
  831.  
  832. ; Available tokens:
  833. ; %percentage% (default) - total cpu load
  834. ; %percentage-cores% - load percentage for each core
  835. ; %percentage-core[1-9]% - load percentage for specific core
  836. label-font = 3
  837. label = UCT %percentage:3%%
  838. ramp-coreload-0 = ▁
  839. ramp-coreload-0-font = 3
  840. ramp-coreload-0-foreground = #aaff77
  841. ramp-coreload-1 = ▂
  842. ramp-coreload-1-font = 3
  843. ramp-coreload-1-foreground = #aaff77
  844. ramp-coreload-2 = ▃
  845. ramp-coreload-2-font = 3
  846. ramp-coreload-2-foreground = #aaff77
  847. ramp-coreload-3 = ▄
  848. ramp-coreload-3-font = 3
  849. ramp-coreload-3-foreground = #aaff77
  850. ramp-coreload-4 = ▅
  851. ramp-coreload-4-font = 3
  852. ramp-coreload-4-foreground = #fba922
  853. ramp-coreload-5 = ▆
  854. ramp-coreload-5-font = 3
  855. ramp-coreload-5-foreground = #fba922
  856. ramp-coreload-6 = ▇
  857. ramp-coreload-6-font = 3
  858. ramp-coreload-6-foreground = #ff5555
  859. ramp-coreload-7 = █
  860. ramp-coreload-7-font = 3
  861. ramp-coreload-7-foreground = #ff5555
  862.  
  863. ################################################################################
  864.  
  865. [module/cpu2]
  866. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  867. type = internal/cpu
  868. ; Seconds to sleep between updates
  869. ; Default: 1
  870. interval = 1
  871. format-foreground = ${colors.foreground}
  872. format-background = ${colors.background}
  873. format-prefix = "  "
  874. format-prefix-foreground = ${colors.foreground}
  875. ;format-underline = $(colors.format-underline)
  876.  
  877. label-font = 1
  878.  
  879. ; Available tags:
  880. ; <label> (default)
  881. ; <bar-load>
  882. ; <ramp-load>
  883. ; <ramp-coreload>
  884. format = <label>
  885.  
  886. format-padding = 0
  887.  
  888. ; Available tokens:
  889. ; %percentage% (default) - total cpu load
  890. ; %percentage-cores% - load percentage for each core
  891. ; %percentage-core[1-9]% - load percentage for specific core
  892. label = UCT%percentage:3%%
  893.  
  894. ################################################################################
  895.  
  896. [module/date]
  897. ;https://github.com/jaagr/polybar/wiki/Module:-date
  898. type = internal/date
  899. ; Seconds to sleep between updates
  900. interval = 5
  901. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  902. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  903. ;date = " %c "
  904. date = " %A, %d %B, %Y, "
  905. date-alt = " %d-%m-%Y"
  906. time = "l'heure est: %H:%M "
  907. time-alt = %H:%M
  908. format-prefix = "  "
  909. format-prefix-foreground = ${colors.foreground}
  910. format-underline =
  911. format-foreground = ${colors.foreground}
  912. format-background = ${colors.background}
  913. label = %date% %time%
  914.  
  915. #################################################################
  916.  
  917. [module/ewmh]
  918. type = internal/xworkspaces
  919.  
  920. pin-workspaces = true
  921. enable-click = true
  922. enable-scroll = true
  923. reverse-scroll = true
  924.  
  925. icon-0 = 1;
  926. icon-1 = 2;
  927. icon-2 = 3;
  928. icon-3 = 4;
  929. icon-4 = 5;
  930. icon-5 = 6;
  931. icon-6 = 7;
  932. icon-7 = 8;
  933. icon-8 = 9;
  934. format = <label-state>
  935. label-monitor = %name%
  936.  
  937. label-active = %name%
  938. label-focused-background = ${colors.background}
  939. label-focused-foreground = ${colors.foreground}
  940. label-focused-underline = #b3c5c1c2
  941. label-active-padding = 2
  942.  
  943. label-occupied = %name%
  944. label-occupied-background = ${colors.background}
  945. label-occupied-foreground = ${colors.foreground}
  946. label-occupied-underline = #b3c5c1c2
  947. label-occupied-padding = 2
  948.  
  949. label-urgent = %name%
  950. label-urgent-background = ${colors.background}
  951. label-urgent-foreground = ${colors.foreground}
  952. label-urgent-underline = #b3c5c1c2
  953. label-urgent-padding = 2
  954.  
  955. label-empty = %name%
  956. label-empty-background = ${colors.background}
  957. label-empty-foreground = ${colors.foreground}
  958. label-empty-underline = #b3c5c1c2
  959. label-empty-padding = 2
  960.  
  961. ################################################################################
  962.  
  963. [module/filesystem]
  964. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  965. type = internal/fs
  966.  
  967. ; Mountpoints to display
  968. mount-0 = /
  969. ;mount-1 = /home
  970. ;mount-2 = /var
  971.  
  972. ; Seconds to sleep between updates
  973. ; Default: 30
  974. interval = 30
  975.  
  976. ; Display fixed precision values
  977. ; Default: false
  978. fixed-values = false
  979.  
  980. ; Spacing between entries
  981. ; Default: 2
  982. spacing = 2
  983.  
  984. ; Available tags:
  985. ; <label-mounted> (default)
  986. ; <bar-free>
  987. ; <bar-used>
  988. ; <ramp-capacity>
  989. format-mounted = <label-mounted>
  990. format-mounted-foreground = ${colors.foreground}
  991. format-mounted-background = ${colors.background}
  992. ;format-mounted-underline = $(colors.format-underline)
  993.  
  994. ; Available tokens:
  995. ; %mountpoint%
  996. ; %type%
  997. ; %fsname%
  998. ; %percentage_free%
  999. ; %percentage_used%
  1000. ; %total%
  1001. ; %free%
  1002. ; %used%
  1003. ; Default: %mountpoint% %percentage_free%%
  1004. label-mounted = %mountpoint% : %used% utilisé de %total%
  1005.  
  1006. ; Available tokens:
  1007. ; %mountpoint%
  1008. ; Default: %mountpoint% is not mounted
  1009. label-unmounted = %mountpoint% not mounted
  1010. format-unmounted-foreground = ${colors.foreground}
  1011. format-unmounted-background = #00000000
  1012. ;format-unmounted-underline = ${colors.alert}
  1013.  
  1014. ################################################################################
  1015.  
  1016. [module/jgmenu]
  1017. type = custom/script
  1018. interval = 120
  1019. exec = echo "ArcoLinux"
  1020. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1021. format-foreground = ${colors.foreground}
  1022. format-background = ${colors.background}
  1023.  
  1024. ################################################################################
  1025.  
  1026. [module/kernel]
  1027. type = custom/script
  1028. exec = uname -r
  1029. tail = false
  1030. interval = 1024
  1031.  
  1032. format-foreground = ${colors.foreground}
  1033. format-background = ${colors.background}
  1034. format-prefix = "  "
  1035. format-prefix-foreground = ${colors.foreground}
  1036. format-underline = #00000000
  1037.  
  1038. ################################################################################
  1039.  
  1040. [module/load-average]
  1041. type = custom/script
  1042. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1043. interval = 100
  1044.  
  1045. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1046. ;label = %output%
  1047. label = %output:10%
  1048.  
  1049. format-foreground = ${colors.foreground}
  1050. format-background = ${colors.background}
  1051. format-prefix = "  "
  1052. ;format-prefix-foreground = ${colors.foreground}
  1053. format-underline = $(colors.format-underline)
  1054.  
  1055. ################################################################################
  1056.  
  1057. [module/memory1]
  1058. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1059. type = internal/memory
  1060. interval = 1
  1061. ; Available tokens:
  1062. ; %percentage_used% (default)
  1063. ; %percentage_free%
  1064. ; %gb_used%
  1065. ; %gb_free%
  1066. ; %gb_total%
  1067. ; %mb_used%
  1068. ; %mb_free%
  1069. ; %mb_total%
  1070. label = %percentage_used%%
  1071. bar-used-indicator =
  1072. bar-used-width = 10
  1073. bar-used-foreground-0 = #00000000
  1074. bar-used-fill = 
  1075. bar-used-empty = 
  1076. bar-used-empty-foreground = ${colors.foreground}
  1077.  
  1078. format = <label> <bar-used>
  1079. format-prefix = "  "
  1080. ;format-prefix-foreground = ${colors.foreground}
  1081. format-underline = $(colors.format-underline)
  1082. format-foreground = ${colors.foreground}
  1083. format-background = ${colors.background}
  1084.  
  1085. ################################################################################
  1086.  
  1087. [module/memory2]
  1088. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1089. type = internal/memory
  1090. interval = 1
  1091. ; Available tokens:
  1092. ; %percentage_used% (default)
  1093. ; %percentage_free%
  1094. ; %gb_used%
  1095. ; %gb_free%
  1096. ; %gb_total%
  1097. ; %mb_used%
  1098. ; %mb_free%
  1099. ; %mb_total%
  1100. label = %percentage_used%%
  1101.  
  1102. format = Mém <label>
  1103. format-prefix = "  "
  1104. format-prefix-foreground = ${colors.foreground}
  1105. ;format-underline = $(colors.format-underline)
  1106. format-foreground = ${colors.foreground}
  1107. format-background = ${colors.background}
  1108.  
  1109. ################################################################################
  1110.  
  1111. [module/memory3]
  1112. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1113. type = internal/memory
  1114. interval = 1
  1115. ; Available tokens:
  1116. ; %percentage_used% (default)
  1117. ; %percentage_free%
  1118. ; %gb_used%
  1119. ; %gb_free%
  1120. ; %gb_total%
  1121. ; %mb_used%
  1122. ; %mb_free%
  1123. ; %mb_total%
  1124. label = %gb_used%/%gb_free%
  1125.  
  1126. format = Mém <label>
  1127. format-prefix = "  "
  1128. format-prefix-foreground = ${colors.foreground}
  1129. format-underline = $(colors.format-underline)
  1130. format-foreground = ${colors.foreground}
  1131. format-background = ${colors.background}
  1132.  
  1133. ################################################################################
  1134.  
  1135. [module/mpd]
  1136. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1137. type = internal/mpd
  1138. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1139. format-online = "<label-song> <bar-progress>"
  1140. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1141. icon-prev = 
  1142. icon-stop = 
  1143. icon-play = 
  1144. icon-pause = 
  1145. icon-next = 
  1146. label-song-maxlen = 40
  1147. label-song-ellipsis = true
  1148. bar-progress-width = 10
  1149. bar-progress-indicator = 
  1150. bar-progress-fill = 
  1151. bar-progress-empty = 
  1152. bar-progress-fill-foreground = ${colors.foreground}
  1153. bar-progress-fill-background = ${colors.background}
  1154. bar-progress-indicator-foreground = ${colors.foreground}
  1155. format-online-foreground = ${colors.foreground}
  1156. format-online-background = ${colors.background}
  1157. ################################################################################
  1158.  
  1159. [module/networkspeedup]
  1160. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1161. type = internal/network
  1162. interface = enp6s0
  1163. label-connected = "%upspeed:7%"
  1164. format-connected = <label-connected>
  1165. format-connected-prefix = "  "
  1166. format-connected-prefix-foreground = ${colors.foreground}
  1167. format-connected-foreground = ${colors.foreground}
  1168. format-connected-background = ${colors.background}
  1169. format-connected-underline = $(colors.format-underline)
  1170.  
  1171. ################################################################################
  1172.  
  1173. [module/networkspeeddown]
  1174. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1175. type = internal/network
  1176. interface = enp6s0
  1177. ; Available tokens:
  1178. ; %percentage% (default)
  1179. label = %percentage:2%%
  1180. label-connected = "%downspeed:7%"
  1181. format-connected = <label-connected>
  1182. format-connected-prefix = "  "
  1183. format-connected-prefix-foreground = ${colors.foreground}
  1184. format-connected-foreground = ${colors.foreground}
  1185. format-connected-background = ${colors.background}
  1186. format-connected-underline = $(colors.format-underline)
  1187.  
  1188. ################################################################################
  1189.  
  1190. [module/pacman-updates]
  1191. type = custom/script
  1192. ;exec = pacman -Qu | wc -l
  1193. exec = checkupdates | wc -l
  1194. interval = 1000
  1195. label = Repo: %output%
  1196. format-foreground = ${colors.foreground}
  1197. format-background = ${colors.background}
  1198. format-prefix = "  "
  1199. ;format-prefix-foreground = ${colors.foreground}
  1200. format-underline = $(colors.format-underline)
  1201.  
  1202. ################################################################################
  1203.  
  1204. [module/pavolume]
  1205. type = custom/script
  1206. tail = true
  1207. label = %output%
  1208. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1209. click-right = exec pavucontrol
  1210. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1211. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1212. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1213. format-underline = $(colors.format-underline)
  1214. format-foreground = ${colors.foreground}
  1215. format-background = ${colors.background}
  1216.  
  1217. ################################################################################
  1218.  
  1219. [module/release]
  1220. type = custom/script
  1221. exec = lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1222. interval = 6000
  1223. format-foreground = ${colors.foreground}
  1224. format-background = ${colors.background}
  1225. format-prefix = "  "
  1226. format-prefix-foreground = ${colors.foreground}
  1227. format-underline = $(colors.format-underline)
  1228.  
  1229. ################################################################################
  1230.  
  1231. [module/sep]
  1232. ; alternative separator
  1233. ;type = custom/text
  1234. ;content = 
  1235. ;content-foreground = ${colors.foreground}
  1236. ;content-background = ${colors.background}
  1237. ;format-foreground = ${colors.foreground}
  1238. ;format-background = ${colors.background}
  1239.  
  1240. ################################################################################
  1241.  
  1242. [module/temperature1]
  1243. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1244. type = internal/temperature
  1245. ; Thermal zone to use
  1246. ; To list all the zone types, run
  1247. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1248. ; Default: 0
  1249. thermal-zone = 0
  1250.  
  1251. ; Full path of temperature sysfs path
  1252. ; Use `sensors` to find preferred temperature source, then run
  1253. ; $ 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
  1254. ; to find path to desired file
  1255. ; Default reverts to thermal zone setting
  1256. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1257.  
  1258. warn-temperature = 70
  1259. format = <ramp> <label>
  1260. format-foreground = ${colors.foreground}
  1261. format-background = ${colors.background}
  1262. format-underline = $(colors.format-underline)
  1263. format-warn = <ramp> <label-warn>
  1264. format-warn-underline = #c7254f
  1265. label = %temperature%
  1266. label-warn =  %temperature%
  1267. label-warn-foreground = #c7254f
  1268.  
  1269. ramp-0 = 
  1270. ramp-1 = 
  1271. ramp-2 = 
  1272. ramp-3 = 
  1273. ramp-4 = 
  1274. ramp-foreground =${colors.foreground}
  1275.  
  1276. ################################################################################
  1277.  
  1278. [module/temperature2]
  1279. type = custom/script
  1280. exec = ~/.config/polybar/scripts/tempcores.sh
  1281. interval = 2
  1282. format-padding = 1
  1283. format-foreground = ${colors.foreground}
  1284. format-background = ${colors.background}
  1285. format-underline = $(colors.format-underline)
  1286. ;format-prefix-foreground = ${colors.foreground}
  1287. label =  %output:0:150:%
  1288.  
  1289. ################################################################################
  1290.  
  1291. [module/uptime]
  1292. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1293. type = custom/script
  1294. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1295. interval = 100
  1296. label = Actif : %output%
  1297.  
  1298. format-foreground = ${colors.foreground}
  1299. format-background = ${colors.background}
  1300. format-prefix = "  "
  1301. format-prefix-foreground = ${colors.foreground}
  1302. format-underline = $(colors.format-underline)
  1303.  
  1304. ################################################################################
  1305.  
  1306. [module/variety]
  1307. type = custom/script
  1308. exec = echo " Variety"
  1309. ;exec = echo " "
  1310. interval = 1
  1311. tail = true
  1312. format-foreground = ${colors.foreground}
  1313. format-background = ${colors.background}
  1314. format-prefix = ""
  1315. format-prefix-foreground = ${colors.foreground}
  1316. format-underline = $(colors.format-underline)
  1317. click-right = variety --preferences
  1318. click-left = variety --selector
  1319.  
  1320. ################################################################################
  1321.  
  1322. [module/volume]
  1323. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1324. type = internal/volume
  1325. format-volume = "<label-volume> <bar-volume>"
  1326.  
  1327. label-volume = " "
  1328. label-volume-foreground = #40ad4b
  1329. label-muted = muted
  1330.  
  1331. bar-volume-width = 10
  1332. bar-volume-foreground-0 = #40ad4b
  1333. bar-volume-foreground-1 = #40ad4b
  1334. bar-volume-foreground-2 = #40ad4b
  1335. bar-volume-foreground-3 = #40ad4b
  1336. bar-volume-foreground-4 = #40ad4b
  1337. bar-volume-foreground-5 = #40ad4b
  1338. bar-volume-foreground-6 = #40ad4b
  1339. bar-volume-gradient = false
  1340. bar-volume-indicator = 
  1341. bar-volume-indicator-font = 2
  1342. bar-volume-fill = 
  1343. bar-volume-fill-font = 2
  1344. bar-volume-empty = 
  1345. bar-volume-empty-font = 2
  1346. bar-volume-empty-foreground = ${colors.foreground}
  1347. format-volume-foreground = ${colors.foreground}
  1348. format-volume-background = ${colors.background}
  1349. format-muted-prefix = "  "
  1350. format-muted-prefix-foreground = "#ff0000"
  1351. format-muted-foreground = ${colors.foreground}
  1352. format-muted-background = ${colors.background}
  1353.  
  1354. ##########################################################################################################################################
  1355.  
  1356. [module/wall]
  1357. type = custom/text
  1358. content = PW
  1359. content-padding = 1%
  1360. content-background = ${color.background}
  1361. content-foreground = ${color.foreground}
  1362. click-left = ~/.config/i3/scripts/wal.sh
  1363. ;format-underline = #3EC13F
  1364. format-foreground = ${color.foreground}
  1365. format-background = ${color.background}
  1366.  
  1367. ################################################################################
  1368.  
  1369. [module/weather]
  1370. type = custom/script
  1371. interval = 10
  1372. format = <label>
  1373. format-prefix = " "
  1374. ;format-prefix-foreground = ${colors.foreground}
  1375. format-underline = $(colors.format-underline)
  1376. format-foreground = ${colors.foreground}
  1377. format-background = ${colors.background}
  1378. exec = python -u ~/.config/polybar/scripts/weather.py
  1379. tail = true
  1380.  
  1381. #################################################################################
  1382.  
  1383. [module/wired-network]
  1384. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1385. type = internal/network
  1386. interface = enp6s0
  1387. interval = 3.0
  1388.  
  1389. ; Available tokens:
  1390. ; %ifname% [wireless+wired]
  1391. ; %local_ip% [wireless+wired]
  1392. ; %essid% [wireless]
  1393. ; %signal% [wireless]
  1394. ; %upspeed% [wireless+wired]
  1395. ; %downspeed% [wireless+wired]
  1396. ; %linkspeed% [wired]
  1397. ; Default: %ifname% %local_ip%
  1398. label-connected = %ifname%
  1399. label-disconnected = %ifname% disconnected
  1400.  
  1401. format-connected-foreground = ${colors.foreground}
  1402. format-connected-background = ${colors.background}
  1403. format-connected-underline = #99E2B856
  1404. format-connected-prefix = " "
  1405. ;format-connected-prefix-foreground = ${colors.foreground}
  1406. format-connected-prefix-background = ${colors.background}
  1407.  
  1408. format-disconnected = <label-disconnected>
  1409. format-disconnected-underline = ${colors.alert}
  1410. label-disconnected-foreground = ${colors.foreground}
  1411.  
  1412. ################################################################################
  1413.  
  1414. [module/xwindow]
  1415. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1416. type = internal/xwindow
  1417.  
  1418. ; Available tokens:
  1419. ; %title%
  1420. ; Default: %title%
  1421. label = %title%
  1422. label-maxlen = 50
  1423.  
  1424. format-foreground = ${colors.foreground}
  1425. format-background = ${colors.background}
  1426.  
  1427. ################################################################################
  1428. # Decorative Modules
  1429. ################################################################################
  1430.  
  1431. [module/space-c1]
  1432. type = custom/text
  1433. content = %{T1} %{T-}
  1434. content-background = #00000000
  1435.  
  1436. [module/space-c2]
  1437. type = custom/text
  1438. content = %{T1} %{T-}
  1439. content-background = #00000000
  1440.  
  1441. [module/round-left]
  1442. type = custom/text
  1443. content = %{T1}%{T-}
  1444. content-foreground = ${colors.background}
  1445.  
  1446. [module/round-right]
  1447. type = custom/text
  1448. content = %{T1}%{T-}
  1449. content-foreground = ${colors.background}
  1450.  
Advertisement
Add Comment
Please, Sign In to add comment