You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
4.1 KiB

2 years ago
  1. ;==========================================================
  2. ;
  3. ;
  4. ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
  5. ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
  8. ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
  9. ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
  10. ;
  11. ;
  12. ; To learn more about how to configure Polybar
  13. ; go to https://github.com/polybar/polybar
  14. ;
  15. ; The README contains a lot of information
  16. ;
  17. ;==========================================================
  18. [colors]
  19. ;background = ${xrdb:color0:#222}
  20. background = #002b2f2f
  21. background-alt = #002b2f2f
  22. ;foreground = ${xrdb:color7:#222}
  23. foreground = #ffffff
  24. foreground-alt = #ffffff
  25. primary = #fffff
  26. secondary = #ffffff
  27. alert = #bd2c40
  28. [paddings]
  29. inner = 2.5
  30. outer = 5
  31. [bar/top]
  32. width = 1000
  33. height = 24
  34. offset-x = 1220
  35. offset-y = 0
  36. radius = 0.0
  37. fixed-center = true
  38. background = ${colors.background}
  39. foreground = ${colors.foreground}
  40. line-size = 3
  41. line-color = #f00
  42. border-size = 0
  43. border-color = #00000000
  44. padding-left = 0
  45. padding-right = 2
  46. module-margin-left = 1
  47. module-margin-right = 1
  48. font-0 = fixed:pixelsize=10;1
  49. font-1 = unifont:fontformat=truetype:size=9:antialias=false;0
  50. font-2 = siji:pixelsize=11;1
  51. modules-left =
  52. modules-center = filesystem filesystem-data eth memory cpu temperature
  53. modules-right =
  54. ;tray-position = none
  55. ;tray-padding = 2
  56. ;tray-background = #0063ff
  57. ;wm-restack = bspwm
  58. ;i3 stuff
  59. ;wm-restack = i3
  60. ;override-redirect = true
  61. ;kde stuff
  62. override-redirect = false
  63. ;scroll-up = bspwm-desknext
  64. ;scroll-down = bspwm-deskprev
  65. ;scroll-up = i3wm-wsnext
  66. ;scroll-down = i3wm-wsprev
  67. cursor-click = pointer
  68. cursor-scroll = ns-resize
  69. [module/filesystem]
  70. type = internal/fs
  71. interval = 25
  72. mount-0 = /
  73. label-mounted = %{F#00B6A6}%mountpoint%%{F-}: %percentage_used%% %free%
  74. label-unmounted = %mountpoint% not mounted
  75. label-unmounted-foreground = ${colors.foreground-alt}
  76. [module/cpu]
  77. type = internal/cpu
  78. interval = 2
  79. format-prefix = " "
  80. format-prefix-foreground = ${colors.foreground-alt}
  81. format-underline = #f90000
  82. label = %percentage:2%%
  83. [module/memory]
  84. type = internal/memory
  85. interval = 2
  86. format-prefix = " "
  87. format-prefix-foreground = ${colors.foreground-alt}
  88. format-underline = #4bffdc
  89. label = %percentage_used%%
  90. [module/eth]
  91. type = internal/network
  92. interface = enp6s0
  93. interval = 3.0
  94. format-connected-underline = #55aa55
  95. format-connected-prefix = " "
  96. format-connected-prefix-foreground = ${colors.foreground-alt}
  97. label-connected = %local_ip% %downspeed:8% %upspeed:8%
  98. format-disconnected =
  99. ;format-disconnected = <label-disconnected>
  100. ;format-disconnected-underline = ${self.format-connected-underline}
  101. ;label-disconnected = %ifname% disconnected
  102. ;label-disconnected-foreground = ${colors.foreground-alt}
  103. [module/temperature]
  104. type = internal/temperature
  105. interval = 2
  106. hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
  107. warn-temperature = 60
  108. format = <ramp> <label>
  109. format-underline = #f50a4d
  110. format-warn = <ramp> <label-warn>
  111. format-warn-underline = ${self.format-underline}
  112. label = %temperature-c%
  113. label-warn = %temperature-c%
  114. label-warn-foreground = ${colors.secondary}
  115. ramp-0 = 
  116. ramp-1 = 
  117. ramp-2 = 
  118. ramp-foreground = ${colors.foreground-alt}
  119. [settings]
  120. screenchange-reload = true
  121. ;compositing-background = xor
  122. ;compositing-background = screen
  123. ;compositing-foreground = source
  124. ;compositing-border = over
  125. ;pseudo-transparency = false
  126. [global/wm]
  127. margin-top = 0
  128. margin-bottom = 0
  129. ; vim:ft=dosini