poetician

Polybar i3 | Bureau Theme

Jan 27th, 2022
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.04 KB | None | 0 0
  1. ;=====================================================
  2. ;
  3. ; To learn more about how to configure Polybar
  4. ; go to https://github.com/jaagr/polybar
  5. ;
  6. ; The README contains alot of information
  7. ; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
  8. ; https://github.com/jaagr/polybar/wiki/
  9. ; https://github.com/jaagr/polybar/wiki/Configuration
  10. ; https://github.com/jaagr/polybar/wiki/Formatting
  11. ;=====================================================
  12. ; https://gitlab.com/Poetician
  13. ;=====================================================
  14.  
  15. [global/wm]
  16. ;https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings
  17. margin-top = 0
  18. margin-bottom = 0
  19.  
  20. [settings]
  21. ;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
  22. throttle-output = 5
  23. throttle-output-for = 10
  24. screenchange-reload = true
  25. compositing-background = over
  26. compositing-foreground = over
  27. compositing-overline = over
  28. compositing-underline = over
  29. compositing-border = over
  30.  
  31. ;include-file = ~/.config/polybar/colors
  32. ;include-file = ~/.config/polybar/modules
  33. ;include-file = ~/.config/polybar/decor
  34.  
  35. ################################################################################
  36. ############ MAINBAR-I3 ############
  37. ################################################################################
  38.  
  39. [bar/mainbar-i3]
  40.  
  41. monitor = ${env:MONITOR}
  42. ;monitor-fallback = HDMI1
  43. monitor-strict = false
  44. override-redirect = false
  45. bottom = false
  46. fixed-center = true
  47. width = 1560
  48. height = 26
  49. ;offset-x = 4
  50. ;offset-y = 4
  51. locale = fr_CA.UTF-8
  52.  
  53. ;background = ${colors.background}
  54. foreground = #c5c1c2
  55.  
  56. ; Background gradient (vertical steps)
  57. ; background-[0-9]+ = #aarrggbb
  58. background-0 = #ff464147
  59. background-1 = #f2464147
  60. background-2 = #e6464147
  61. background-3 = #d9464147
  62. background-4 = #cc464147
  63. background-5 = #bf464147
  64. background-6 = #b3464147
  65. background-7 = #a6464147
  66. background-8 = #99464147
  67. background-9 = #8c464147
  68.  
  69. radius-top = 3
  70. radius-bottom = 30
  71.  
  72. line-size = 4
  73. line-color = #f8b317
  74.  
  75. ;border-size = 6
  76. border-left-size = 360
  77. border-right-size = 0
  78. border-top-size = 0
  79. border-bottom-size = 3
  80. border-color = #00000000
  81.  
  82. padding-left = 2
  83. padding-right = 2
  84.  
  85. module-margin-left = 1
  86. module-margin-right = 1
  87.  
  88. font-0 = "Bauhaus:size=14;2"
  89. font-1 = "FontAwesome:size=12;2"
  90. font-2 = "FantasqueSansMono:size=12;2"
  91. font-3 = "FantasqueSansMono:size=13;2"
  92. font-4 = "Iosevka Nerd Font":size=12;3"
  93. font-5 = "Iosevka Nerd Font":size=16;4"
  94. font-6 = "Iosevka Nerd Font":size=18;4"
  95.  
  96. modules-left = i3
  97. modules-center =
  98. modules-right = cpu2 memory2 filesystem date
  99.  
  100. ;separator = |
  101.  
  102. dim-value = 0.3
  103.  
  104. #i3: Make the bar appear below windows
  105. ;wm-restack = i3
  106. ;override-redirect = true
  107.  
  108. ; Enable support for inter-process messaging
  109. ; See the Messaging wiki page for more details.
  110. enable-ipc = true
  111.  
  112. ; Fallback click handlers that will be called if
  113. ; there's no matching module handler found.
  114. click-left = jgmenu_run
  115. click-middle =
  116. click-right = rofi -show drun
  117. scroll-up = i3wm-wsnext
  118. scroll-down = i3wm-wsprev
  119. double-click-left =
  120. double-click-middle =
  121. double-click-right =
  122.  
  123. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  124. ; Possible values are:
  125. ; - default : The default pointer as before, can also be an empty string (default)
  126. ; - pointer : Typically in the form of a hand
  127. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  128. cursor-click =
  129. cursor-scroll =
  130.  
  131. ################################################################################
  132. ############ MAINBAR-I3-EXTRA ############
  133. ################################################################################
  134.  
  135. [bar/mainbar-i3-extra]
  136.  
  137. monitor = ${env:MONITOR}
  138. ;monitor-fallback = HDMI1
  139. monitor-strict = false
  140. override-redirect = false
  141. bottom = true
  142. fixed-center = true
  143. width = 990
  144. height = 26
  145. ;offset-x = 1%
  146. ;offset-y = 1%
  147.  
  148. background = ${colors.background}
  149. foreground = #2f294b
  150.  
  151. ; Background gradient (vertical steps)
  152. ; background-[0-9]+ = #aarrggbb
  153. background-0 = #f2c5c1c2
  154. background-1 = #e6c5c1c2
  155. background-2 = #d9c5c1c2
  156. background-3 = #ccc5c1c2
  157. background-4 = #bfc5c1c2
  158. background-5 = #b3c5c1c2
  159. background-6 = #99c5c1c2
  160. background-7 = #80c5c1c2
  161. background-8 = #66c5c1c2
  162. background-9 = #4dc5c1c2
  163.  
  164. radius-top = 12
  165. radius-bottom =12
  166.  
  167. line-size = 0
  168. line-color = #f8b317
  169.  
  170. ;border-size = 0
  171. border-left-size = 540
  172. ;border-right-size = 25
  173. border-top-size = 3
  174. border-bottom-size = 0
  175. border-color = #00000000
  176.  
  177. padding-left = 3
  178. padding-right = 3
  179.  
  180. module-margin-left = 1
  181. module-margin-right = 0
  182.  
  183. font-0 = "Bauhaus:size=14;3"
  184. font-1 = "FontAwesome:size=12;3"
  185. font-2 = "FantasqueSansMono:size=12;3"
  186. font-3 = "FantasqueSansMono:size=13;3"
  187. font-4 = "Iosevka Nerd Font":size=12;3"
  188. font-5 = "Iosevka Nerd Font":size=16;4"
  189. font-6 = "Iosevka Nerd Font":size=18;4"
  190.  
  191. modules-left = changebackground uptime
  192. modules-center =
  193. modules-right = networkspeedup networkspeeddown
  194.  
  195. ;separator = |
  196.  
  197. dim-value = 0.3
  198.  
  199. tray-detached = true
  200. tray-offset-x = 600
  201. tray-offset-y = -1
  202. tray-padding = 2
  203. tray-maxsize = 20
  204. tray-scale = 1.0
  205. tray-position = center
  206. tray-background = #cce0e0bc
  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 =
  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 = false
  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-default = ""
  303.  
  304. ; Available tags:
  305. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  306. ; <label-mode> (default)
  307. format = <label-state> <label-mode>
  308.  
  309. label-mode = %mode%
  310. label-mode-padding = 1
  311. label-mode-foreground = #464147
  312. label-mode-background = #c5c1c2
  313.  
  314. ; Available tokens:
  315. ; %name%
  316. ; %icon%
  317. ; %index%
  318. ; %output%
  319. ; Default: %icon% %name%
  320. ; focused = Active workspace on focused monitor
  321. label-focused = %icon% %name%
  322. label-focused-background = #00000000
  323. label-focused-foreground = ${colors.foreground}
  324. label-focused-underline = #b3c5c1c2
  325. label-focused-padding = 1
  326.  
  327. ; Available tokens:
  328. ; %name%
  329. ; %icon%
  330. ; %index%
  331. ; Default: %icon% %name%
  332. ; unfocused = Inactive workspace on any monitor
  333. label-unfocused = %icon% %name%
  334. label-unfocused-padding = 1
  335. label-unfocused-background = #00000000
  336. label-unfocused-foreground = ${colors.foreground}
  337. label-unfocused-underline = #c5c1c2
  338.  
  339. ; visible = Active workspace on unfocused monitor
  340. label-visible = %icon% %name%
  341. label-visible-background = ${self.label-focused-background}
  342. label-visible-underline = ${self.label-focused-underline}
  343. label-visible-padding = 1
  344.  
  345. ; Available tokens:
  346. ; %name%
  347. ; %icon%
  348. ; %index%
  349. ; Default: %icon% %name%
  350. ; urgent = Workspace with urgency hint set
  351. label-urgent = %icon% %name%
  352. label-urgent-background = ${self.label-focused-background}
  353. label-urgent-foreground = #db104e
  354. label-urgent-padding = 1
  355.  
  356. format-foreground = ${colors.foreground}
  357. format-background = #00000000
  358.  
  359. ################################################################################
  360. ################################################################################
  361. ############ MODULES A-Z ############
  362. ################################################################################
  363.  
  364. [module/arch-updates]
  365. type = custom/script
  366. exec = ~/.config/polybar/scripts/check-arch-updates.sh
  367. interval = 1000
  368. label = Arch: %output%
  369. format-foreground = ${colors.foreground}
  370. format-background = #00000000
  371. format-prefix = "  "
  372. format-prefix-foreground = #394349
  373. ;format-underline = #FFBB00
  374.  
  375. [module/aur-updates]
  376. type = custom/script
  377. exec = ~/.config/polybar/scripts/check-aur-updates.sh
  378. interval = 1000
  379. label = Aur: %output%
  380. format-foreground = ${colors.foreground}
  381. format-background = #00000000
  382. format-prefix = "  "
  383. format-prefix-foreground = #394349
  384. ;format-underline = #FFBB00
  385.  
  386. ################################################################################
  387.  
  388. [module/battery]
  389. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  390. type = internal/battery
  391. battery = BAT0
  392. adapter = AC0
  393. full-at = 100
  394.  
  395. format-charging = <animation-charging> <label-charging>
  396. label-charging =  %percentage%%
  397. format-charging-foreground = ${colors.foreground}
  398. format-charging-background = #00000000
  399. format-charging-underline = #a3c725
  400.  
  401. format-discharging = <ramp-capacity> <label-discharging>
  402. label-discharging =  %percentage%%
  403. format-discharging-underline = #c7ae25
  404. format-discharging-foreground = ${colors.foreground}
  405. format-discharging-background = #00000000
  406.  
  407. format-full-prefix = " "
  408. format-full-prefix-foreground = #a3c725
  409. format-full-underline = #a3c725
  410. format-full-foreground = ${colors.foreground}
  411. format-full-background = #00000000
  412.  
  413. ramp-capacity-0 = 
  414. ramp-capacity-1 = 
  415. ramp-capacity-2 = 
  416. ramp-capacity-3 = 
  417. ramp-capacity-4 = 
  418. ramp-capacity-foreground = #c7ae25
  419.  
  420. animation-charging-0 = 
  421. animation-charging-1 = 
  422. animation-charging-2 = 
  423. animation-charging-3 = 
  424. animation-charging-4 = 
  425. animation-charging-foreground = #a3c725
  426. animation-charging-framerate = 750
  427.  
  428. ################################################################################
  429.  
  430. [module/changebackground]
  431. type = custom/text
  432. ;content = 
  433. content = CB
  434. content-padding = 1%
  435. content-background = ${color.background}
  436. content-foreground = ${color.foreground}
  437. click-left = exec feh --randomize --bg-fill /home/poeticien/Images/GimpGmic/*
  438.  
  439. ################################################################################
  440.  
  441. [module/cpu1]
  442. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  443. type = internal/cpu
  444. ; Seconds to sleep between updates
  445. ; Default: 1
  446. interval = 1
  447. format-foreground = ${colors.foreground}
  448. format-background = #00000000
  449. ;   
  450. format-prefix = " "
  451. format-prefix-foreground = #394349
  452. format-underline = $(colors.format-underline)
  453.  
  454. ; Available tags:
  455. ; <label> (default)
  456. ; <bar-load>
  457. ; <ramp-load>
  458. ; <ramp-coreload>
  459. format = <label> <ramp-coreload>
  460.  
  461. format-padding = 2
  462.  
  463. ; Available tokens:
  464. ; %percentage% (default) - total cpu load
  465. ; %percentage-cores% - load percentage for each core
  466. ; %percentage-core[1-9]% - load percentage for specific core
  467. label-font = 3
  468. label = UCT %percentage:3%%
  469. ramp-coreload-0 = ▁
  470. ramp-coreload-0-font = 3
  471. ramp-coreload-0-foreground = #aaff77
  472. ramp-coreload-1 = ▂
  473. ramp-coreload-1-font = 3
  474. ramp-coreload-1-foreground = #aaff77
  475. ramp-coreload-2 = ▃
  476. ramp-coreload-2-font = 3
  477. ramp-coreload-2-foreground = #aaff77
  478. ramp-coreload-3 = ▄
  479. ramp-coreload-3-font = 3
  480. ramp-coreload-3-foreground = #aaff77
  481. ramp-coreload-4 = ▅
  482. ramp-coreload-4-font = 3
  483. ramp-coreload-4-foreground = #fba922
  484. ramp-coreload-5 = ▆
  485. ramp-coreload-5-font = 3
  486. ramp-coreload-5-foreground = #fba922
  487. ramp-coreload-6 = ▇
  488. ramp-coreload-6-font = 3
  489. ramp-coreload-6-foreground = #ff5555
  490. ramp-coreload-7 = █
  491. ramp-coreload-7-font = 3
  492. ramp-coreload-7-foreground = #ff5555
  493.  
  494. ################################################################################
  495.  
  496. [module/cpu2]
  497. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  498. type = internal/cpu
  499. ; Seconds to sleep between updates
  500. ; Default: 1
  501. interval = 1
  502. format-foreground = ${colors.foreground}
  503. format-background = #00000000
  504. format-prefix = "  "
  505. format-prefix-foreground = $(colors.foregroundb)
  506. format-underline = $(colors.format-underline)
  507.  
  508. label-font = 1
  509.  
  510. ; Available tags:
  511. ; <label> (default)
  512. ; <bar-load>
  513. ; <ramp-load>
  514. ; <ramp-coreload>
  515. format = <label>
  516.  
  517. format-padding = 1
  518.  
  519. ; Available tokens:
  520. ; %percentage% (default) - total cpu load
  521. ; %percentage-cores% - load percentage for each core
  522. ; %percentage-core[1-9]% - load percentage for specific core
  523. label = UCT %percentage:3%%
  524.  
  525. ################################################################################
  526.  
  527. [module/date]
  528. ;https://github.com/jaagr/polybar/wiki/Module:-date
  529. type = internal/date
  530. ; Seconds to sleep between updates
  531. interval = 5
  532. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  533. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  534. ;date = " %c "
  535. date = " %A, %B %d, %Y "
  536. date-alt = " %d-%m-%Y"
  537. time = " l'heure est: %H:%M "
  538. time-alt = %H:%M
  539. format-prefix = "  "
  540. format-prefix-foreground = #c5c1c2
  541. format-underline =
  542. format-foreground = ${colors.foreground}
  543. format-background = #00000000
  544. label = %date% %time%
  545.  
  546. #################################################################
  547.  
  548. [module/ewmh]
  549. type = internal/xworkspaces
  550.  
  551. pin-workspaces = true
  552. enable-click = true
  553. enable-scroll = true
  554. reverse-scroll = true
  555.  
  556. icon-0 = 1;
  557. icon-1 = 2;
  558. icon-2 = 3;
  559. icon-3 = 4;
  560. icon-4 = 5;
  561. icon-5 = 6;
  562. icon-6 = 7;
  563. icon-7 = 8;
  564. icon-8 = 9;
  565. format = <label-state>
  566. label-monitor = %name%
  567.  
  568. label-active = %name%
  569. label-active-foreground = ${colors.foreground}
  570. label-active-background = #00000000
  571. label-active-underline = #f7e768
  572. label-active-padding = 2
  573.  
  574. label-occupied = %name%
  575. label-occupied-background = ${colors.background}
  576. label-occupied-padding = 2
  577.  
  578. label-urgent = %name%
  579. label-urgent-foreground = ${colors.foreground}
  580. label-urgent-background = ${colors.alert}
  581. label-urgent-underline = ${colors.alert}
  582. label-urgent-padding = 2
  583.  
  584. label-empty = %name%
  585. label-empty-foreground = ${colors.foreground}
  586. label-empty-padding = 2
  587. format-foreground = ${colors.foreground}
  588. format-background = #00000000
  589.  
  590. ################################################################################
  591.  
  592. [module/filesystem]
  593. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  594. type = internal/fs
  595.  
  596. ; Mountpoints to display
  597. mount-0 = /
  598. ;mount-1 = /home
  599. ;mount-2 = /var
  600.  
  601. ; Seconds to sleep between updates
  602. ; Default: 30
  603. interval = 30
  604.  
  605. ; Display fixed precision values
  606. ; Default: false
  607. fixed-values = false
  608.  
  609. ; Spacing between entries
  610. ; Default: 2
  611. spacing = 4
  612.  
  613. ; Available tags:
  614. ; <label-mounted> (default)
  615. ; <bar-free>
  616. ; <bar-used>
  617. ; <ramp-capacity>
  618. format-mounted = <label-mounted>
  619. format-mounted-foreground = ${colors.foreground}
  620. format-mounted-background = #00000000
  621. format-mounted-underline = $(colors.format-underline)
  622.  
  623. ; Available tokens:
  624. ; %mountpoint%
  625. ; %type%
  626. ; %fsname%
  627. ; %percentage_free%
  628. ; %percentage_used%
  629. ; %total%
  630. ; %free%
  631. ; %used%
  632. ; Default: %mountpoint% %percentage_free%%
  633. label-mounted = %mountpoint% : %used% utilisé de %total%
  634.  
  635. ; Available tokens:
  636. ; %mountpoint%
  637. ; Default: %mountpoint% is not mounted
  638. label-unmounted = %mountpoint% not mounted
  639. format-unmounted-foreground = #697bcf
  640. format-unmounted-background = #00000000
  641. ;format-unmounted-underline = ${colors.alert}
  642.  
  643. ################################################################################
  644.  
  645. [module/jgmenu]
  646. type = custom/script
  647. interval = 120
  648. exec = echo "ArcoLinux"
  649. click-left = "jgmenu_run >/dev/null 2>&1 &"
  650. format-foreground = ${colors.foreground}
  651. format-background = #00000000
  652.  
  653. ################################################################################
  654.  
  655. [module/kernel]
  656. type = custom/script
  657. exec = uname -r
  658. tail = false
  659. interval = 1024
  660.  
  661. format-foreground = ${colors.foreground}
  662. format-background = #00000000
  663. format-prefix = "  "
  664. format-prefix-foreground = #2f294b
  665. format-underline = $(colors.format-underline)
  666.  
  667. ################################################################################
  668.  
  669. [module/load-average]
  670. type = custom/script
  671. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  672. interval = 100
  673.  
  674. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  675. ;label = %output%
  676. label = %output:10%
  677.  
  678. format-foreground = ${colors.foreground}
  679. format-background = #00000000
  680. format-prefix = "  "
  681. ;format-prefix-foreground = #394349
  682. format-underline = $(colors.format-underline)
  683.  
  684. ################################################################################
  685.  
  686. [module/memory1]
  687. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  688. type = internal/memory
  689. interval = 1
  690. ; Available tokens:
  691. ; %percentage_used% (default)
  692. ; %percentage_free%
  693. ; %gb_used%
  694. ; %gb_free%
  695. ; %gb_total%
  696. ; %mb_used%
  697. ; %mb_free%
  698. ; %mb_total%
  699. label = %percentage_used%%
  700. bar-used-indicator =
  701. bar-used-width = 10
  702. bar-used-foreground-0 = #3384d0
  703. bar-used-fill = 
  704. bar-used-empty = 
  705. bar-used-empty-foreground = #ffffff
  706.  
  707. format = <label> <bar-used>
  708. format-prefix = "  "
  709. ;format-prefix-foreground = #394349
  710. format-underline = $(colors.format-underline)
  711. format-foreground = ${colors.foreground}
  712. format-background = #00000000
  713.  
  714. ################################################################################
  715.  
  716. [module/memory2]
  717. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  718. type = internal/memory
  719. interval = 1
  720. ; Available tokens:
  721. ; %percentage_used% (default)
  722. ; %percentage_free%
  723. ; %gb_used%
  724. ; %gb_free%
  725. ; %gb_total%
  726. ; %mb_used%
  727. ; %mb_free%
  728. ; %mb_total%
  729. label = %percentage_used%%
  730.  
  731. format = Mém <label>
  732. format-prefix = "  "
  733. format-prefix-foreground = #c5c1c2
  734. format-underline = $(colors.format-underline)
  735. format-foreground = ${colors.foreground}
  736. format-background = #00000000
  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 = #2f294b
  798. format-connected-background = #00000000
  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 = #2f294b
  815. format-connected-background = #00000000
  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 = ${colors.foreground}
  871. format-background = #00000000
  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 = ${colors.foreground}
  946. format-background = #00000000
  947. format-prefix = "  "
  948. format-prefix-foreground = #2f294b
  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.  
  1076. [module/LD]
  1077. type = custom/text
  1078. content = "%{T3}%{T-}"
  1079. content-font = 6
  1080. content-background = ${color.background}
  1081. content-foreground = ${color.altblack}
  1082.  
  1083. [module/RD]
  1084. type = custom/text
  1085. content = "%{T3}%{T-}"
  1086. content-font = 6
  1087. content-background = ${color.background}
  1088. content-foreground = ${color.altblack}
  1089.  
Advertisement
Add Comment
Please, Sign In to add comment