poetician

Polybar i3 | NVMe0n1 Plum Gold | En

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