poetician

Polybar i3 | All Pencil Portrait Themes

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