Advertisement
poetician

Polybar i3 Fr | nvme1n1 [small tweaks]

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