Facebook
From Chartreuse Dove, 1 Year ago, written in Plain Text.
This paste is a reply to polybar config from omar - view diff
Embed
Download Paste or View Raw
Hits: 144
  1. [colors]
  2. background = #23252e
  3. background-alt = #23252e
  4. foreground = #f9f8fe
  5. primary = #393c45
  6. secondary = #393c45
  7. alert = #393c45
  8. disabled = #393c45
  9.  
  10.  
  11.  
  12. [bar/example]
  13. width = 1700
  14. height = 22pt
  15. radius = 1
  16.  
  17. ; dpi = 96
  18.  
  19. background = ${colors.background}
  20. foreground = ${colors.foreground}
  21.  
  22. line-size = 0pt
  23.  
  24. border-size = 0pt
  25. border-color = #00000000
  26.  
  27. padding-left = 2
  28. padding-right = 2
  29.  
  30. module-margin = 2
  31. offset-x = 10
  32. offset-y = 10
  33.  
  34. font-0 = JetBrainsMono-Bold:style=Regular:pixelsize=10;2
  35. font-1 = FontAwesome:style=Regular:pixelsize=10;2
  36.  
  37. modules-left = xworkspaces
  38. #modules-center = xwindow
  39. modules-right = cmus filesystem pulseaudio xkeyboard date powermenu
  40.  
  41. cursor-click = pointer
  42. cursor-scroll = ns-resize
  43.  
  44. enable-ipc = true
  45.  
  46. wm-restack = bspwm
  47.  
  48. [module/tray]
  49. #type = internal/tray
  50. #tray-detached = true
  51. tray-position = right
  52. tray-padding = 2
  53. #tray-transparent = false
  54. #tray-background = #000000
  55. tray-background = ${colours.background}
  56. tray-offset-x = -5
  57. tray-offset-y = 0
  58. tray-maxsize = 20
  59. #tray-scale = 0.99
  60.  
  61.  
  62. #[module/xwindow]
  63. #type = internal/xwindow
  64. #label = %title%
  65. #label-maxlen = 30
  66.  
  67.  
  68. [module/xworkspaces]
  69. type = internal/xworkspaces
  70.  
  71. label-active = %name%
  72. label-active-background = #23252e
  73. #label-active-foreground =
  74. label-active-underline= ${colors.primary}
  75. label-active-padding = 2
  76.  
  77.  
  78. label-occupied = %name%
  79. label-occupied-padding = 2
  80. label-occupied-foreground = #898c95
  81.  
  82. label-urgent = %name%
  83. label-urgent-background = ${colors.alert}
  84. label-urgent-padding = 2
  85.  
  86. label-empty = %name%
  87. label-empty-foreground = ${colors.disabled}
  88. label-empty-padding = 2
  89.  
  90. [module/filesystem]
  91. type = internal/fs
  92. interval = 60
  93. mount-0 = /
  94. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  95.  
  96. [module/pulseaudio]
  97. type = internal/pulseaudio
  98.  
  99. format-volume-prefix = " "
  100. format-volume-prefix-foreground = #898c95
  101. format-volume = <label-volume>
  102.  
  103. label-volume = %percentage%%
  104.  
  105. label-muted = muted
  106. label-muted-foreground = ${colors.disabled}
  107.  
  108.  
  109. [module/xkeyboard]
  110. type = internal/xkeyboard
  111. blacklist-0 = num lock
  112. blacklist-1 = caps lock
  113.  
  114. label-layout = %layout%
  115. label-layout-foreground = #f9f8fe
  116. label-layout-background = #23252e
  117. label-font = 4
  118.  
  119. format-prefix = " "
  120. format-prefix-foreground = #898c95
  121.  
  122.  
  123. [module/date]
  124. type = internal/date
  125. interval = 5
  126.  
  127. date =
  128. date-alt = "%Y-%m-%d"
  129.  
  130. time = "%H:%M"
  131. time-alt = %H:%M:%S
  132.  
  133. format-prefix =""
  134. format-prefix-foreground = #898c95
  135.  
  136. label =%date% %time%
  137. label-foreground = #d8dee9
  138. label-font = 0
  139.  
  140.  
  141. [module/cmus]
  142. type = custom/script
  143. exec = ~/.config/polybar/cmus.sh
  144. exec-if = pgrep -x cmus
  145. interval = 1
  146.  
  147. click-left = cmus-remote --pause
  148. click-right = cmus-remote --play
  149. scroll-up = cmus-remote --next
  150. scroll-down = cmus-remote --prev
  151.  
  152. format-prefix = " "
  153. format-prefix-foreground = #898c95
  154. format = <label>
  155.  
  156. label-foreground = #d8dee9
  157. format-background = #23252e
  158. label = %output%
  159. label-maxlen = 100
  160.  
  161.  
  162. [settings]
  163. screenchange-reload = true
  164. pseudo-transparency = true
  165. scroll-up = bspc desktop -f prev.local
  166. scroll-down = bspc desktop -f next.local
  167.  
  168. [module/powermenu]
  169. type = custom/menu
  170.  
  171. expand-right = true
  172.  
  173. menu-0-0 = reboot
  174. menu-0-0-exec = menu-open-1
  175. menu-0-1 = shutdown
  176. menu-0-1-exec = menu-open-2
  177.  
  178. menu-1-0 = back
  179. menu-1-0-exec = menu-open-0
  180. menu-1-1 = reboot
  181. menu-1-1-exec = systemctl reboot
  182.  
  183. menu-2-0 = shutdown
  184. menu-2-0-exec = systemctl poweroff
  185. menu-2-1 = back
  186. menu-2-1-exec = menu-open-0
  187.  
  188. format-spacing = 1
  189. #format-background = ${color.shade1}
  190. #format-foreground = ${color.modulefg}
  191. format-padding = 1
  192.  
  193. label-open = 
  194. label-close = 
  195. label-separator = |
  196.