poetician

Polybar i3 Linux Mint | 0005 Cloud-capped Mountain

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