Hatkat

Polybar config

May 9th, 2023 (edited)
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1.  
  2.  
  3.  
  4. [colors]
  5. ;background = ${xrdb:color0:#222}
  6. background = #222
  7. background-alt = #444
  8. ;foreground = ${xrdb:color7:#222}
  9. foreground = #dfdfdf
  10. foreground-alt = #555
  11. primary = #ffb52a
  12. secondary = #e60053
  13. alert = #bd2c40
  14.  
  15. [bar/example]
  16. ;monitor = ${env:MONITOR:HDMI-1}
  17. width = 100%
  18. height = 30
  19. ;offset-x = 1%
  20. ;offset-y = 1%
  21. radius = 0
  22. fixed-center = false
  23.  
  24. background = #00000080
  25. foreground = ${colors.foreground}
  26.  
  27. line-size = 3
  28. line-color = #f00
  29.  
  30. border-size = 0
  31. border-color = #00000000
  32.  
  33. padding-left = 0
  34. padding-right = 0
  35.  
  36. module-margin-left = 1
  37. module-margin-right = 2
  38.  
  39. font-0 = Hack Nerd Font:size=10:antialias=true;2
  40. ;font-0 = fixed:pixelsize=10;1
  41. font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  42. font-2 = siji:pixelsize=10;1
  43.  
  44. ;----------------------------------------------------------------
  45.  
  46. modules-left = bspwm date
  47. modules-center =
  48. modules-right = pulseaudio
  49.  
  50. tray-position = rightr
  51. tray-padding = 2
  52. ;tray-background = #0063ff
  53.  
  54. ;wm-restack = bspwm
  55. ;wm-restack = i3
  56.  
  57. ;override-redirect = true
  58.  
  59. ;scroll-up = bspwm-desknext
  60. ;scroll-down = bspwm-deskprev
  61.  
  62. ;scroll-up = i3wm-wsnext
  63. ;scroll-down = i3wm-wsprev
  64.  
  65. cursor-click = pointer
  66. cursor-scroll = ns-resize
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. [module/bspwm2]
  74. type = internal/bspwm
  75.  
  76. label-focused = %index%
  77. label-focused-underline= ${colors.primary}
  78. label-focused-padding = 2
  79.  
  80. label-occupied = %index%
  81. label-occupied-padding = 2
  82.  
  83.  
  84. label-urgent = %index%!
  85. label-urgent-padding = 2
  86.  
  87. label-empty = %index%
  88. label-empty-foreground = ${colors.foreground-alt}
  89. label-empty-padding = 2
  90.  
  91.  
  92. ;
  93.  
  94. [module/bspwm]
  95. type = internal/bspwm
  96.  
  97. label-focused = 
  98. ;label-focused-underline = ${colors.primary}
  99. label-focused-font = Hack Nerd Font:size=11
  100. label-focused-padding = 2
  101. label-focused-foreground = #ffb52a
  102.  
  103. label-occupied = 
  104. label-occupied-font = Hack Nerd Font:size=11
  105. label-occupied-padding = 2
  106. label-occupied-foreground =#FF0000
  107.  
  108. label-urgent = 
  109. label-urgent-font = Hack Nerd Font:size=11
  110. label-urgent-padding = 2
  111.  
  112. label-empty = 
  113. label-empty-font = Hack Nerd Font:size=11
  114. label-empty-foreground = ${colors.foreground-alt}
  115. label-empty-padding = 2
  116.  
  117. background = #282c34
  118. foreground = #ffffff
  119. ;underline = ${colors.primary}
  120.  
  121. format-background = ${background}
  122. format-foreground = ${foreground}
  123. format-padding = 2
  124.  
  125. border-top-size = 0
  126. border-bottom-size = 0
  127.  
  128. format-prefix = ""
  129. format-suffix = ""
  130.  
  131.  
  132. [module/date]
  133. type = custom/script
  134. interval = 1
  135. exec = date '+%I:%M %p'
  136. format-font = 3
  137. format-prefix = "  "
  138. font-0 = "Hack Nerd Font:size=12;3"
  139. format-foreground = ${colors.white}
  140.  
  141. ; Archivo de configuración de Polybar
  142. ; Módulo con contenedor gris y nombre "Jonathan" en Hack Nerd Font
  143.  
  144. [module/pulseaudio]
  145. type = internal/pulseaudio
  146.  
  147. format-volume = <label-volume> <bar-volume>
  148. label-volume =  %percentage%%
  149. label-volume-foreground = #e6db74
  150. label-muted = 🔇 muted
  151. label-muted-foreground = #75715e
  152.  
  153. bar-volume-width = 10
  154. bar-volume-foreground-0 = #444444
  155. bar-volume-foreground-1 = #444444
  156. bar-volume-foreground-2 = #b16286
  157. bar-volume-foreground-3 = #b16286
  158. bar-volume-foreground-4 = #b16286
  159. bar-volume-foreground-5 = #ffb86c
  160. bar-volume-foreground-6 = #ff5555
  161. bar-volume-gradient = false
  162. bar-volume-indicator = |
  163. bar-volume-indicator-font = 3
  164. bar-volume-fill = ░
  165. bar-volume-fill-font = 3
  166. bar-volume-empty = ░
  167. bar-volume-empty-font = 3
  168. bar-volume-empty-foreground = #444444
  169.  
  170.  
  171. [module/volume]
  172. type = custom/script
  173. interval = 1
  174. format-prefix = " "
  175. format = <label>
  176. exec = amixer -D pulse sget Master | grep -o '[0-9]*%' | head -n 1
  177. click-left = "pavucontrol"
  178. click-right = "pactl set-sink-mute @DEFAULT_SINK@ toggle"
  179.  
  180. font-0 = Hack Nerd Font:size=10;1
  181. foreground = #f8f8f2
  182. background = #1c1c1c
  183.  
  184.  
  185.  
  186. [settings]
  187. screenchange-reload = true
  188. ;compositing-background = xor
  189. ;compositing-background = screen
  190. ;compositing-foreground = source
  191. ;compositing-border = over
  192. ;pseudo-transparency = false
  193.  
  194. [global/wm]
  195. margin-top = 5
  196. margin-bottom = 5
  197.  
  198. ; vim:ft=dosini
  199.  
Advertisement
Add Comment
Please, Sign In to add comment