Advertisement
poetician

Polybar i3 Fr | nvme1n1

Mar 16th, 2022
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.24 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. ##########################################################################################################################################
  34.  
  35. [color]
  36. background = #00000000
  37. foreground = #200000
  38. foreground-alt = #D8DEE9
  39. background-alt = #000000
  40. prefix-foreground = #e4e5df
  41.  
  42. ################################################################################
  43. ############ MAINBAR-I3 ############
  44. ################################################################################
  45.  
  46. [bar/mainbar-i3]
  47.  
  48. monitor = ${env:MONITOR}
  49. ;monitor-fallback = HDMI1
  50. monitor-strict = false
  51. override-redirect = false
  52. bottom = false
  53. fixed-center = true
  54. width = 1920
  55. height = 24
  56. ;offset-x = 4
  57. ;offset-y = 4
  58. locale = fr_CA.UTF-8
  59.  
  60. background = #00000000
  61. ; Background gradient (vertical steps)
  62. ; background-[0-9]+ = #aarrggbb
  63. ;background-0 = #ff464147
  64. ;background-1 = #f2464147
  65. ;background-2 = #e6464147
  66. ;background-3 = #d9464147
  67. ;background-4 = #cc464147
  68. ;background-5 = #bf464147
  69. ;background-6 = #b3464147
  70. ;background-7 = #a6464147
  71. ;background-8 = #99464147
  72. ;background-9 = #8c464147
  73.  
  74. radius-top = 0
  75. radius-bottom = 0
  76.  
  77. ;line-size = 2
  78. ;line-color = #f8b317
  79.  
  80. ;border-size = 6
  81. border-left-size = 50
  82. border-right-size = 50
  83. border-top-size = 2
  84. border-bottom-size = 4
  85. border-color = #00000000
  86.  
  87. padding-left = 0
  88. padding-right = 0
  89.  
  90. module-margin-left = 0
  91. module-margin-right = 0
  92.  
  93. font-0 = "SauceCodePro Nerd Font:size=14:weight=semibold;4"
  94. font-1 = "FontAwesome:size=12;3"
  95. font-2 = "FantasqueSansMono:size=12;3"
  96. font-3 = "FantasqueSansMono:size=13;3"
  97. font-4 = "Bauhaus:sie=13;3"
  98.  
  99. modules-left = space-c1 space-c1 space-c1 round-left-c1 i3 round-right-c1
  100. modules-center =
  101. modules-right = round-left-c1 cpu2 round-right-c1 space-c1 space-c1 round-left-c1 memory2 round-right-c1 space-c1 space-c1 round-left-c1 filesystem round-right-c1 space-c1 space-c1 round-left-c1 date round-right-c1 space-c1 space-c1
  102.  
  103. ;separator = |
  104.  
  105. dim-value = 0.3
  106.  
  107. #i3: Make the bar appear below windows
  108. ;wm-restack = i3
  109. ;override-redirect = true
  110.  
  111. ; Enable support for inter-process messaging
  112. ; See the Messaging wiki page for more details.
  113. enable-ipc = true
  114.  
  115. ; Fallback click handlers that will be called if
  116. ; there's no matching module handler found.
  117. click-left = jgmenu_run
  118. click-middle =
  119. click-right = rofi -show drun
  120. scroll-up = i3wm-wsnext
  121. scroll-down = i3wm-wsprev
  122. double-click-left =
  123. double-click-middle =
  124. double-click-right =
  125.  
  126. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  127. ; Possible values are:
  128. ; - default : The default pointer as before, can also be an empty string (default)
  129. ; - pointer : Typically in the form of a hand
  130. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  131. cursor-click =
  132. cursor-scroll =
  133.  
  134. ################################################################################
  135. ############ MAINBAR-I3-EXTRA ############
  136. ################################################################################
  137.  
  138. [bar/mainbar-i3-extra]
  139.  
  140. monitor = ${env:MONITOR}
  141. ;monitor-fallback = HDMI1
  142. monitor-strict = false
  143. override-redirect = false
  144. bottom = true
  145. fixed-center = true
  146. width = 1920
  147. height = 24
  148. ;offset-x = 1%
  149. ;offset-y = 1%
  150. locale = fr_CA.UTF-8
  151.  
  152. background = #00000000
  153.  
  154. ; Background gradient (vertical steps)
  155. ; background-[0-9]+ = #aarrggbb
  156. ;background-0 = #f2c5c1c2
  157. ;background-1 = #e6c5c1c2
  158. ;background-2 = #d9c5c1c2
  159. ;background-3 = #ccc5c1c2
  160. ;background-4 = #bfc5c1c2
  161. ;background-5 = #b3c5c1c2
  162. ;background-6 = #99c5c1c2
  163. ;background-7 = #80c5c1c2
  164. ;background-8 = #66c5c1c2
  165. ;background-9 = #4dc5c1c2
  166.  
  167. radius-top = 0
  168. radius-bottom = 0
  169.  
  170. ;line-size = 0
  171. ;line-color = #f8b317
  172.  
  173. ;border-size = 0
  174. border-left-size = 0
  175. ;border-right-size = 25
  176. border-top-size = 4
  177. border-bottom-size = 0
  178. border-color = #00000000
  179.  
  180. padding-left = 0
  181. padding-right = 0
  182.  
  183. module-margin-left = 0
  184. module-margin-right = 0
  185.  
  186. font-0 = "SauceCodePro Nerd Font:size=14:weight=semibold;4"
  187. font-1 = "FontAwesome:size=12;3"
  188. font-2 = "FantasqueSansMono:size=12;3"
  189. font-3 = "FantasqueSansMono:size=13;3"
  190. font-4 = "Bauhaus:sie=13;3"
  191.  
  192. modules-left = space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 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
  193. modules-center =
  194. 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-c1space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1 space-c1
  195.  
  196. ;separator = |
  197.  
  198. dim-value = 0.3
  199.  
  200. tray-detached = true
  201. tray-offset-x = 0
  202. tray-offset-y = -1
  203. tray-padding = 4
  204. tray-maxsize = 20
  205. tray-scale = 1.0
  206. tray-position = center
  207. tray-background = #e4e5df
  208.  
  209. #i3: Make the bar appear below windows
  210. ;wm-restack = i3
  211. ;override-redirect = true
  212.  
  213. ; Enable support for inter-process messaging
  214. ; See the Messaging wiki page for more details.
  215. enable-ipc = true
  216.  
  217. ; Fallback click handlers that will be called if
  218. ; there's no matching module handler found.
  219. click-left = jgmenu_run
  220. click-middle = rofi -show window
  221. click-right = rofi -show drun
  222. scroll-up = i3wm-wsnext
  223. scroll-down = i3wm-wsprev
  224. ;double-click-left =
  225. ;double-click-middle =
  226. ;double-click-right =
  227.  
  228. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  229. ; Possible values are:
  230. ; - default : The default pointer as before, can also be an empty string (default)
  231. ; - pointer : Typically in the form of a hand
  232. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  233. ;cursor-click =
  234. ;cursor-scroll =
  235.  
  236. ################################################################################
  237. ############ MODULE I3 ############
  238. ################################################################################
  239.  
  240. [module/i3]
  241. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  242. type = internal/i3
  243.  
  244. ; Only show workspaces defined on the same output as the bar
  245. ;
  246. ; Useful if you want to show monitor specific workspaces
  247. ; on different bars
  248. ;
  249. ; Default: false
  250. pin-workspaces = true
  251.  
  252. ; This will split the workspace name on ':'
  253. ; Default: false
  254. strip-wsnumbers = false
  255.  
  256. ; Sort the workspaces by index instead of the default
  257. ; sorting that groups the workspaces by output
  258. ; Default: false
  259. index-sort = false
  260.  
  261. ; Create click handler used to focus workspace
  262. ; Default: true
  263. enable-click = true
  264.  
  265. ; Create scroll handlers used to cycle workspaces
  266. ; Default: true
  267. enable-scroll = true
  268.  
  269. ; Wrap around when reaching the first/last workspace
  270. ; Default: true
  271. wrapping-scroll = false
  272.  
  273. ; Set the scroll cycle direction
  274. ; Default: true
  275. reverse-scroll = true
  276.  
  277. ; Use fuzzy (partial) matching on labels when assigning
  278. ; icons to workspaces
  279. ; Example: code;♚ will apply the icon to all workspaces
  280. ; containing 'code' in the label
  281. ; Default: false
  282. fuzzy-match = false
  283.  
  284. ;extra icons to choose from
  285. ;http://fontawesome.io/cheatsheet/
  286. ;                 
  287.  
  288. ws-icon-0 = 1;
  289. ws-icon-1 = 2;
  290. ws-icon-2 = 3;
  291. ws-icon-3 = 4;
  292. ws-icon-4 = 5;
  293. ws-icon-5 = 6;
  294. ws-icon-6 = 7;
  295. ws-icon-7 = 8;
  296. ws-icon-8 = 9;
  297. ws-icon-9 = 10;
  298. ws-icon-10 = 11;
  299. ws-icon-11 = 12;
  300. ws-icon-12 = 13;
  301. ws-icon-13 = 14;
  302. ws-icon-14 = 15;
  303. ws-icon-default = ""
  304.  
  305. ; Available tags:
  306. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  307. ; <label-mode> (default)
  308. format = <label-state> <label-mode>
  309.  
  310. label-mode = %mode%
  311. label-mode-padding = 2
  312. label-mode-foreground = #e4e5df
  313. label-mode-background = #7d6449
  314.  
  315. ; Available tokens:
  316. ; %name%
  317. ; %icon%
  318. ; %index%
  319. ; %output%
  320. ; Default: %icon% %name%
  321. ; focused = Active workspace on focused monitor
  322. label-focused = %icon% %name%
  323. label-focused-background = #c5c1c2
  324. label-focused-foreground = #7d6449
  325. ;label-focused-underline = #b3c5c1c2
  326. label-focused-padding = 1
  327.  
  328. ; Available tokens:
  329. ; %name%
  330. ; %icon%
  331. ; %index%
  332. ; Default: %icon% %name%
  333. ; unfocused = Inactive workspace on any monitor
  334. label-unfocused = %icon% %name%
  335. label-unfocused-padding = 1
  336. label-unfocused-background = #7d6449
  337. label-unfocused-foreground = #464147
  338. ;label-unfocused-underline = #c5c1c2
  339.  
  340. ; visible = Active workspace on unfocused monitor
  341. label-visible = %icon% %name%
  342. label-visible-background = ${self.label-focused-background}
  343. label-visible-underline = ${self.label-focused-underline}
  344. label-visible-padding = 1
  345.  
  346. ; Available tokens:
  347. ; %name%
  348. ; %icon%
  349. ; %index%
  350. ; Default: %icon% %name%
  351. ; urgent = Workspace with urgency hint set
  352. label-urgent = %icon% %name%
  353. label-urgent-background = ${self.label-focused-background}
  354. label-urgent-foreground = #db104e
  355. label-urgent-padding = 1
  356.  
  357. ################################################################################
  358. ################################################################################
  359. ############ MODULES A-Z ############
  360. ################################################################################
  361.  
  362. [module/arch-updates]
  363. type = custom/script
  364. exec = ~/.config/polybar/scripts/check-arch-updates.sh
  365. interval = 1000
  366. label = Arch: %output%
  367. format-foreground = ${colors.foreground}
  368. format-background = #00000000
  369. format-prefix = "  "
  370. format-prefix-foreground = ${colors.prefix-foreground}
  371. ;format-underline = #FFBB00
  372.  
  373. [module/aur-updates]
  374. type = custom/script
  375. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  376. interval = 1000
  377. label = Aur: %output%
  378. format-foreground = ${colors.foreground}
  379. format-background = #00000000
  380. format-prefix = "  "
  381. format-prefix-foreground = ${colors.prefix-foreground}
  382. ;format-underline = #FFBB00
  383.  
  384. ################################################################################
  385.  
  386. [module/battery]
  387. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  388. type = internal/battery
  389. battery = BAT0
  390. adapter = AC0
  391. full-at = 100
  392.  
  393. format-charging = <animation-charging> <label-charging>
  394. label-charging =  %percentage%%
  395. format-charging-foreground = ${colors.foreground}
  396. format-charging-background = #00000000
  397. format-charging-underline = #a3c725
  398.  
  399. format-discharging = <ramp-capacity> <label-discharging>
  400. label-discharging =  %percentage%%
  401. format-discharging-underline = #c7ae25
  402. format-discharging-foreground = ${colors.foreground}
  403. format-discharging-background = #00000000
  404.  
  405. format-full-prefix = " "
  406. format-full-prefix-foreground = #a3c725
  407. format-full-underline = #a3c725
  408. format-full-foreground = ${colors.foreground}
  409. format-full-background = #00000000
  410.  
  411. ramp-capacity-0 = 
  412. ramp-capacity-1 = 
  413. ramp-capacity-2 = 
  414. ramp-capacity-3 = 
  415. ramp-capacity-4 = 
  416. ramp-capacity-foreground = #c7ae25
  417.  
  418. animation-charging-0 = 
  419. animation-charging-1 = 
  420. animation-charging-2 = 
  421. animation-charging-3 = 
  422. animation-charging-4 = 
  423. animation-charging-foreground = #a3c725
  424. animation-charging-framerate = 750
  425.  
  426. ################################################################################
  427.  
  428. [module/changebackground]
  429. type = custom/text
  430. content = __
  431. ;content = CB
  432. content-padding = 2%
  433. content-background = #7d6449
  434. content-foreground = #e4e5df
  435. click-left = exec feh --randomize --bg-fill /home/poeticien/Images/GimpGmic/*
  436.  
  437. ################################################################################
  438.  
  439. [module/cpu1]
  440. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  441. type = internal/cpu
  442. ; Seconds to sleep between updates
  443. ; Default: 1
  444. interval = 1
  445. format-foreground = ${colors.foreground}
  446. format-background = #00000000
  447. ;   
  448. format-prefix = " "
  449. format-prefix-foreground = #394349
  450. format-underline = $(colors.format-underline)
  451.  
  452. ; Available tags:
  453. ; <label> (default)
  454. ; <bar-load>
  455. ; <ramp-load>
  456. ; <ramp-coreload>
  457. format = <label> <ramp-coreload>
  458.  
  459. format-padding = 2
  460.  
  461. ; Available tokens:
  462. ; %percentage% (default) - total cpu load
  463. ; %percentage-cores% - load percentage for each core
  464. ; %percentage-core[1-9]% - load percentage for specific core
  465. label-font = 3
  466. label = UCT %percentage:3%%
  467. ramp-coreload-0 = ▁
  468. ramp-coreload-0-font = 3
  469. ramp-coreload-0-foreground = #aaff77
  470. ramp-coreload-1 = ▂
  471. ramp-coreload-1-font = 3
  472. ramp-coreload-1-foreground = #aaff77
  473. ramp-coreload-2 = ▃
  474. ramp-coreload-2-font = 3
  475. ramp-coreload-2-foreground = #aaff77
  476. ramp-coreload-3 = ▄
  477. ramp-coreload-3-font = 3
  478. ramp-coreload-3-foreground = #aaff77
  479. ramp-coreload-4 = ▅
  480. ramp-coreload-4-font = 3
  481. ramp-coreload-4-foreground = #fba922
  482. ramp-coreload-5 = ▆
  483. ramp-coreload-5-font = 3
  484. ramp-coreload-5-foreground = #fba922
  485. ramp-coreload-6 = ▇
  486. ramp-coreload-6-font = 3
  487. ramp-coreload-6-foreground = #ff5555
  488. ramp-coreload-7 = █
  489. ramp-coreload-7-font = 3
  490. ramp-coreload-7-foreground = #ff5555
  491.  
  492. ################################################################################
  493.  
  494. [module/cpu2]
  495. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  496. type = internal/cpu
  497. ; Seconds to sleep between updates
  498. ; Default: 1
  499. interval = 1
  500. format-foreground = #e4e5df
  501. format-background = #7d6449
  502. format-prefix = "  "
  503. format-prefix-foreground = #464147
  504. format-underline = $(colors.format-underline)
  505.  
  506. label-font = 1
  507.  
  508. ; Available tags:
  509. ; <label> (default)
  510. ; <bar-load>
  511. ; <ramp-load>
  512. ; <ramp-coreload>
  513. format = <label>
  514.  
  515. format-padding = 1
  516.  
  517. ; Available tokens:
  518. ; %percentage% (default) - total cpu load
  519. ; %percentage-cores% - load percentage for each core
  520. ; %percentage-core[1-9]% - load percentage for specific core
  521. label = UCT%percentage:3%%
  522.  
  523. ################################################################################
  524.  
  525. [module/date]
  526. ;https://github.com/jaagr/polybar/wiki/Module:-date
  527. type = internal/date
  528. ; Seconds to sleep between updates
  529. interval = 5
  530. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  531. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  532. date = " %A, %d %B, %Y ;"
  533. date-alt = " %d-%m-%Y"
  534. time = "l'heure est: %H:%M "
  535. time-alt = %I:%M:%S %p
  536. format-prefix = "  "
  537. format-prefix-foreground = #464147
  538. format-underline =
  539. format-foreground = #e4e5df
  540. format-background = #7d6449
  541. label = %date% %time%
  542.  
  543. #################################################################
  544.  
  545. [module/ewmh]
  546. type = internal/xworkspaces
  547.  
  548. pin-workspaces = true
  549. enable-click = true
  550. enable-scroll = true
  551. reverse-scroll = true
  552.  
  553. icon-0 = 1;
  554. icon-1 = 2;
  555. icon-2 = 3;
  556. icon-3 = 4;
  557. icon-4 = 5;
  558. icon-5 = 6;
  559. icon-6 = 7;
  560. icon-7 = 8;
  561. icon-8 = 9;
  562. format = <label-state>
  563. label-monitor = %name%
  564.  
  565. label-active = %name%
  566. label-active-foreground = ${colors.foreground}
  567. label-active-background = #00000000
  568. label-active-underline = #f7e768
  569. label-active-padding = 2
  570.  
  571. label-occupied = %name%
  572. label-occupied-background = ${colors.background}
  573. label-occupied-padding = 2
  574.  
  575. label-urgent = %name%
  576. label-urgent-foreground = ${colors.foreground}
  577. label-urgent-background = ${colors.alert}
  578. label-urgent-underline = ${colors.alert}
  579. label-urgent-padding = 2
  580.  
  581. label-empty = %name%
  582. label-empty-foreground = ${colors.foreground}
  583. label-empty-padding = 2
  584. format-foreground = ${colors.foreground}
  585. format-background = #00000000
  586.  
  587. ################################################################################
  588.  
  589. [module/filesystem]
  590. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  591. type = internal/fs
  592.  
  593. ; Mountpoints to display
  594. mount-0 = /
  595. ;mount-1 = /home
  596. ;mount-2 = /var
  597.  
  598. ; Seconds to sleep between updates
  599. ; Default: 30
  600. interval = 30
  601.  
  602. ; Display fixed precision values
  603. ; Default: false
  604. fixed-values = false
  605.  
  606. ; Spacing between entries
  607. ; Default: 2
  608. spacing = 1
  609.  
  610. format-padding = 2
  611.  
  612. ; Available tags:
  613. ; <label-mounted> (default)
  614. ; <bar-free>
  615. ; <bar-used>
  616. ; <ramp-capacity>
  617. format-mounted = <label-mounted>
  618. format-mounted-foreground = #e4e5df
  619. format-mounted-background = #7d6449
  620. format-mounted-underline = $(colors.format-underline)
  621.  
  622. ; Available tokens:
  623. ; %mountpoint%
  624. ; %type%
  625. ; %fsname%
  626. ; %percentage_free%
  627. ; %percentage_used%
  628. ; %total%
  629. ; %free%
  630. ; %used%
  631. ; Default: %mountpoint% %percentage_free%%
  632. label-mounted = %mountpoint% : %used% utilisé de %total%
  633.  
  634. ; Available tokens:
  635. ; %mountpoint%
  636. ; Default: %mountpoint% is not mounted
  637. label-unmounted = %mountpoint% not mounted
  638. format-unmounted-foreground = #697bcf
  639. format-unmounted-background = #00000000
  640. ;format-unmounted-underline = ${colors.alert}
  641.  
  642. ################################################################################
  643.  
  644. [module/jgmenu]
  645. type = custom/script
  646. interval = 120
  647. exec = echo "ArcoLinux"
  648. click-left = "jgmenu_run >/dev/null 2>&1 &"
  649. format-foreground = #e4e5df
  650. format-background = #7d6449
  651.  
  652. ################################################################################
  653.  
  654. [module/kernel]
  655. type = custom/script
  656. exec = uname -r
  657. tail = false
  658. interval = 1024
  659.  
  660. format-foreground = #e4e5df
  661. format-background = #7d6449
  662. format-prefix = "  "
  663. format-prefix-foreground = #2f294b
  664. format-underline = $(colors.format-underline)
  665.  
  666. ################################################################################
  667.  
  668. [module/load-average]
  669. type = custom/script
  670. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  671. interval = 100
  672.  
  673. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  674. ;label = %output%
  675. label = %output:10%
  676.  
  677. format-foreground = ${colors.foreground}
  678. format-background = #00000000
  679. format-prefix = "  "
  680. ;format-prefix-foreground = #394349
  681. format-underline = $(colors.format-underline)
  682.  
  683. ################################################################################
  684.  
  685. [module/memory1]
  686. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  687. type = internal/memory
  688. interval = 1
  689. ; Available tokens:
  690. ; %percentage_used% (default)
  691. ; %percentage_free%
  692. ; %gb_used%
  693. ; %gb_free%
  694. ; %gb_total%
  695. ; %mb_used%
  696. ; %mb_free%
  697. ; %mb_total%
  698. label = %percentage_used%%
  699. bar-used-indicator =
  700. bar-used-width = 10
  701. bar-used-foreground-0 = #3384d0
  702. bar-used-fill = 
  703. bar-used-empty = 
  704. bar-used-empty-foreground = #ffffff
  705.  
  706. format = <label> <bar-used>
  707. format-prefix = "  "
  708. ;format-prefix-foreground = #394349
  709. format-underline = $(colors.format-underline)
  710. format-foreground = ${colors.foreground}
  711. format-background = #00000000
  712.  
  713. ################################################################################
  714.  
  715. [module/memory2]
  716. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  717. type = internal/memory
  718. interval = 1
  719. ; Available tokens:
  720. ; %percentage_used% (default)
  721. ; %percentage_free%
  722. ; %gb_used%
  723. ; %gb_free%
  724. ; %gb_total%
  725. ; %mb_used%
  726. ; %mb_free%
  727. ; %mb_total%
  728. label = %percentage_free%%
  729.  
  730. format-padding = 1
  731. format = Mém <label>
  732. format-prefix = "  "
  733. format-prefix-foreground = #464147
  734. format-underline = $(colors.format-underline)
  735. format-foreground = #e4e5df
  736. format-background = #7d6449
  737.  
  738. ################################################################################
  739.  
  740. [module/memory3]
  741. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  742. type = internal/memory
  743. interval = 1
  744. ; Available tokens:
  745. ; %percentage_used% (default)
  746. ; %percentage_free%
  747. ; %gb_used%
  748. ; %gb_free%
  749. ; %gb_total%
  750. ; %mb_used%
  751. ; %mb_free%
  752. ; %mb_total%
  753. label = %gb_used%/%gb_free%
  754.  
  755. format = Mém <label>
  756. format-prefix = "  "
  757. ;format-prefix-foreground = #394349
  758. format-underline = $(colors.format-underline)
  759. format-foreground = ${colors.foreground}
  760. format-background = #00000000
  761.  
  762.  
  763. ################################################################################
  764.  
  765. [module/mpd]
  766. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  767. type = internal/mpd
  768. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  769. format-online = "<label-song> <bar-progress>"
  770. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  771. icon-prev = 
  772. icon-stop = 
  773. icon-play = 
  774. icon-pause = 
  775. icon-next = 
  776. label-song-maxlen = 40
  777. label-song-ellipsis = true
  778. bar-progress-width = 10
  779. bar-progress-indicator = 
  780. bar-progress-fill = 
  781. bar-progress-empty = 
  782. bar-progress-fill-foreground = #ff0
  783. bar-progress-fill-background = #00000000
  784. bar-progress-indicator-foreground = ${colors.foreground}
  785. format-online-foreground = ${colors.foreground}
  786. format-online-background = #00000000
  787. ################################################################################
  788.  
  789. [module/networkspeedup]
  790. ;https://github.com/jaagr/polybar/wiki/Module:-network
  791. type = internal/network
  792. interface = enp6s0
  793. label-connected = "%upspeed:7%"
  794. format-connected = <label-connected>
  795. format-connected-prefix = "  "
  796. format-connected-prefix-foreground = #2C2616
  797. format-connected-foreground = #e4e5df
  798. format-connected-background = #7d6449
  799. format-connected-underline = $(colors.format-underline)
  800.  
  801. ################################################################################
  802.  
  803. [module/networkspeeddown]
  804. ;https://github.com/jaagr/polybar/wiki/Module:-network
  805. type = internal/network
  806. interface = enp6s0
  807. ; Available tokens:
  808. ; %percentage% (default)
  809. label = %percentage:2%%
  810. label-connected = "%downspeed:7%"
  811. format-connected = <label-connected>
  812. format-connected-prefix = "  "
  813. format-connected-prefix-foreground = #2C2616
  814. format-connected-foreground = #e4e5df
  815. format-connected-background = #7d6449
  816. format-connected-underline = $(colors.format-underline)
  817.  
  818. ################################################################################
  819.  
  820. [module/pacman-updates]
  821. type = custom/script
  822. ;exec = pacman -Qu | wc -l
  823. exec = checkupdates | wc -l
  824. interval = 1000
  825. label = Repo: %output%
  826. format-foreground = ${colors.foreground}
  827. format-background = #00000000
  828. format-prefix = "  "
  829. ;format-prefix-foreground = #394349
  830. format-underline = $(colors.format-underline)
  831.  
  832. ################################################################################
  833.  
  834. [module/pamac-manager]
  835. type = custom/script
  836. exec = pamac checkupdates -q | wc -l
  837. interval = 1000
  838. label = Pamac : %output%
  839. tail = true
  840. format-foreground = ${colors.foreground}
  841. format-background = #00000000
  842. ;format-prefix-foreground = #394349
  843. format-underline = $(colors.format-underline)
  844. click-right = pamac-manager &
  845. click-left = pamac-manager &
  846. format-prefix = " "
  847.  
  848. ################################################################################
  849.  
  850. [module/pavolume]
  851. type = custom/script
  852. tail = true
  853. label = %output%
  854. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  855. click-right = exec pavucontrol
  856. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  857. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  858. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  859. format-underline = $(colors.format-underline)
  860. format-foreground = ${colors.foreground}
  861. format-background = #00000000
  862.  
  863. ################################################################################
  864.  
  865. [module/release]
  866. type = custom/script
  867. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  868. interval = 6000
  869.  
  870. format-foreground = #e4e5df
  871. format-background = #7d6449
  872. format-prefix = "  "
  873. ;format-prefix-foreground = #394349
  874. format-underline = $(colors.format-underline)
  875.  
  876. ################################################################################
  877.  
  878. [module/sep]
  879. ; alternative separator
  880. ;type = custom/text
  881. ;content = 
  882. ;content-foreground = ${colors.foreground}
  883. ;content-background = #00000000
  884. ;format-foreground = ${colors.foreground}
  885. ;format-background = #00000000
  886.  
  887. ################################################################################
  888.  
  889. [module/temperature1]
  890. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  891. type = internal/temperature
  892. ; Thermal zone to use
  893. ; To list all the zone types, run
  894. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  895. ; Default: 0
  896. thermal-zone = 0
  897.  
  898. ; Full path of temperature sysfs path
  899. ; Use `sensors` to find preferred temperature source, then run
  900. ; $ 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
  901. ; to find path to desired file
  902. ; Default reverts to thermal zone setting
  903. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  904.  
  905. warn-temperature = 70
  906. format = <ramp> <label>
  907. format-foreground = ${colors.foreground}
  908. format-background = #00000000
  909. format-underline = $(colors.format-underline)
  910. format-warn = <ramp> <label-warn>
  911. format-warn-underline = #c7254f
  912. label = %temperature%
  913. label-warn =  %temperature%
  914. label-warn-foreground = #c7254f
  915.  
  916. ramp-0 = 
  917. ramp-1 = 
  918. ramp-2 = 
  919. ramp-3 = 
  920. ramp-4 = 
  921. ramp-foreground =${colors.foreground}
  922.  
  923. ################################################################################
  924.  
  925. [module/temperature2]
  926. type = custom/script
  927. exec = ~/.config/polybar/scripts/tempcores.sh
  928. interval = 2
  929. format-padding = 1
  930. format-foreground = ${colors.foreground}
  931. format-background = #00000000
  932. format-underline = $(colors.format-underline)
  933. ;format-prefix-foreground = #394349
  934. label =  %output:0:150:%
  935.  
  936. ################################################################################
  937.  
  938. [module/uptime]
  939. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  940. type = custom/script
  941. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  942. interval = 100
  943. label = Actif : %output%
  944.  
  945. format-foreground = #e4e5df
  946. format-background = #7d6449
  947. format-prefix = "  "
  948. format-prefix-foreground = #464147
  949. format-underline = $(colors.format-underline)
  950.  
  951. ################################################################################
  952.  
  953. [module/variety]
  954. type = custom/script
  955. exec = echo " Variety"
  956. ;exec = echo " "
  957. interval = 1
  958. tail = true
  959. format-foreground = ${colors.foreground}
  960. format-background = #00000000
  961. format-prefix = ""
  962. format-prefix-foreground = #394349
  963. format-underline = $(colors.format-underline)
  964. click-right = variety --preferences
  965. click-left = variety --selector
  966.  
  967. ################################################################################
  968.  
  969. [module/volume]
  970. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  971. type = internal/volume
  972. format-volume = "<label-volume> <bar-volume>"
  973.  
  974. label-volume = " "
  975. label-volume-foreground = #40ad4b
  976. label-muted = muted
  977.  
  978. bar-volume-width = 10
  979. bar-volume-foreground-0 = #40ad4b
  980. bar-volume-foreground-1 = #40ad4b
  981. bar-volume-foreground-2 = #40ad4b
  982. bar-volume-foreground-3 = #40ad4b
  983. bar-volume-foreground-4 = #40ad4b
  984. bar-volume-foreground-5 = #40ad4b
  985. bar-volume-foreground-6 = #40ad4b
  986. bar-volume-gradient = false
  987. bar-volume-indicator = 
  988. bar-volume-indicator-font = 2
  989. bar-volume-fill = 
  990. bar-volume-fill-font = 2
  991. bar-volume-empty = 
  992. bar-volume-empty-font = 2
  993. bar-volume-empty-foreground = ${colors.foreground}
  994. format-volume-foreground = ${colors.foreground}
  995. format-volume-background = #00000000
  996. format-muted-prefix = "  "
  997. format-muted-prefix-foreground = "#ff0000"
  998. format-muted-foreground = ${colors.foreground}
  999. format-muted-background = #00000000
  1000.  
  1001. ##########################################################################################################################################
  1002.  
  1003. [module/wall]
  1004. type = custom/text
  1005. content = PW
  1006. content-padding = 1%
  1007. content-background = ${color.background}
  1008. content-foreground = ${color.foreground}
  1009. click-left = ~/.config/i3/scripts/wal.sh
  1010. ;format-underline = #3EC13F
  1011. format-foreground = ${color.foreground}
  1012. format-background = ${color.background}
  1013.  
  1014. ################################################################################
  1015.  
  1016. [module/weather]
  1017. type = custom/script
  1018. interval = 10
  1019. format = <label>
  1020. format-prefix = " "
  1021. ;format-prefix-foreground = #394349
  1022. format-underline = $(colors.format-underline)
  1023. format-foreground = ${colors.foreground}
  1024. format-background = #00000000
  1025. exec = python -u ~/.config/polybar/scripts/weather.py
  1026. tail = true
  1027.  
  1028. #################################################################################
  1029.  
  1030. [module/wired-network]
  1031. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1032. type = internal/network
  1033. interface = enp6s0
  1034. interval = 3.0
  1035.  
  1036. ; Available tokens:
  1037. ; %ifname% [wireless+wired]
  1038. ; %local_ip% [wireless+wired]
  1039. ; %essid% [wireless]
  1040. ; %signal% [wireless]
  1041. ; %upspeed% [wireless+wired]
  1042. ; %downspeed% [wireless+wired]
  1043. ; %linkspeed% [wired]
  1044. ; Default: %ifname% %local_ip%
  1045. label-connected = %ifname%
  1046. label-disconnected = %ifname% disconnected
  1047.  
  1048. format-connected-foreground = ${colors.foreground}
  1049. format-connected-background = #00000000
  1050. format-connected-underline = #99E2B856
  1051. format-connected-prefix = " "
  1052. ;format-connected-prefix-foreground = #394349
  1053. format-connected-prefix-background = #00000000
  1054.  
  1055. format-disconnected = <label-disconnected>
  1056. format-disconnected-underline = ${colors.alert}
  1057. label-disconnected-foreground = ${colors.foreground}
  1058.  
  1059. ################################################################################
  1060.  
  1061. [module/xwindow]
  1062. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1063. type = internal/xwindow
  1064.  
  1065. ; Available tokens:
  1066. ; %title%
  1067. ; Default: %title%
  1068. label = %title%
  1069. label-maxlen = 50
  1070.  
  1071. format-foreground = ${colors.foreground}
  1072. format-background = #00000000
  1073.  
  1074. ##########################################################################################################################################
  1075. #########DECORATIVE MODULES
  1076. ##########################################################################################################################################
  1077.  
  1078. [module/space-c1]
  1079. type = custom/text
  1080. content = %{T1} %{T-}
  1081. content-background = #00000000
  1082.  
  1083. [module/space-c2]
  1084. type = custom/text
  1085. content = %{T1} %{T-}
  1086. content-background = ${color.background}
  1087.  
  1088. [module/round-left-c1]
  1089. type = custom/text
  1090. content = "%{T3}%{T-}"
  1091. content-foreground = #7d6449
  1092. content-background = #00000000
  1093.  
  1094. [module/round-left-c2]
  1095. type = custom/text
  1096. content = "%{T3}%{T-}"
  1097. content-foreground = #7d6449
  1098. content-background = #00000000
  1099.  
  1100. [module/round-right-c1]
  1101. type = custom/text
  1102. content = "%{T3}%{T-}"
  1103. content-foreground = #7d6449
  1104. content-background = #00000000
  1105.  
  1106. [module/round-right-c2]
  1107. type = custom/text
  1108. content = "%{T3}%{T-}"
  1109. content-foreground = #7d6449
  1110. content-background = #00000000
  1111.  
  1112. [module/round-left-c3]
  1113. type = custom/text
  1114. content = %{T5}%{T-}
  1115. content-foreground = #BF616A
  1116. content-background = ${color.background}
  1117.  
  1118. [module/round-left-c4]
  1119. type = custom/text
  1120. content = %{T2}%{T-}
  1121. content-background = #BF616A
  1122. content-foreground = ${color.background-alt}
  1123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement