My dot files
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.

437 lines
10KB

  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 = #1c1c1c
  21. background-alt = #B5E5CF
  22. ;foreground = ${xrdb:color7:#222}
  23. foreground = #dfdfdf
  24. foreground-alt = #3e5755
  25. primary = #B5E5CF
  26. secondary = #3d5b59
  27. alert = #fa8072
  28. [bar/top-bar]
  29. ;monitor = ${env:MONITOR:HDMI-1}
  30. width = 100%
  31. height = 30
  32. ;offset-x = 1%
  33. ;offset-y = 1%
  34. radius = 0
  35. ;separator between modules
  36. separator = "|"
  37. separator-padding = 0
  38. separator-foreground = ${colors.foreground-alt}
  39. ; enable ipc messaging
  40. enable-ipc = true
  41. ; Does center move
  42. fixed-center = true
  43. background = ${colors.background}
  44. foreground = ${colors.foreground}
  45. line-size = 5
  46. line-color = #f00
  47. border-size = 0
  48. border-color = #00000000
  49. padding-left = 0
  50. padding-right = 0
  51. module-margin-left = 0
  52. module-margin-right = 0
  53. font-0 = Bitstream Vera Sans:pixelsize=12;1
  54. font-1 = unifont:fontformat=truetype:size=13:antialias=false;0
  55. font-2 = hack:pixelsize=13;1
  56. modules-left = xkeyboard
  57. modules-center = i3
  58. modules-right = pulseaudio wlan eth battery temperature date powermenu
  59. tray-position = left
  60. tray-padding = 2
  61. ;tray-background = #0063ff
  62. ;wm-restack = bspwm
  63. ;wm-restack = i3
  64. ;override-redirect = true
  65. ;scroll-up = bspwm-desknext
  66. ;scroll-down = bspwm-deskprev
  67. ;scroll-up = i3wm-wsnext
  68. ;scroll-down = i3wm-wsprev
  69. cursor-click = pointer
  70. cursor-scroll = ns-resize
  71. [module/xwindow]
  72. type = internal/xwindow
  73. label = %title:0:30:...%
  74. [module/xkeyboard]
  75. type = internal/xkeyboard
  76. blacklist-0 = num lock
  77. format-prefix = " "
  78. format-prefix-foreground = ${colors.foreground-alt}
  79. format-prefix-underline = ${colors.secondary}
  80. label-layout = %layout%
  81. label-layout-underline = ${colors.secondary}
  82. label-indicator-padding = 2
  83. label-indicator-margin = 1
  84. label-indicator-background = ${colors.secondary}
  85. label-indicator-underline = ${colors.secondary}
  86. [module/filesystem]
  87. type = internal/fs
  88. interval = 25
  89. mount-0 = /
  90. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  91. label-unmounted = %mountpoint% not mounted
  92. label-unmounted-foreground = ${colors.foreground-alt}
  93. [module/bspwm]
  94. type = internal/bspwm
  95. label-focused = %index%
  96. label-focused-background = ${colors.background-alt}
  97. label-focused-underline= ${colors.primary}
  98. label-focused-padding = 2
  99. label-occupied = %index%
  100. label-occupied-padding = 2
  101. label-urgent = %index%!
  102. label-urgent-background = ${colors.alert}
  103. label-urgent-padding = 2
  104. label-empty = %index%
  105. label-empty-foreground = ${colors.foreground-alt}
  106. label-empty-padding = 2
  107. ; Separator in between workspaces
  108. ; label-separator = |
  109. [module/i3]
  110. type = internal/i3
  111. format = <label-state> <label-mode>
  112. index-sort = true
  113. wrapping-scroll = false
  114. strip-wsnumbers = true
  115. ; Only show workspaces on the same output as the bar
  116. ;pin-workspaces = true
  117. label-mode-padding = 2
  118. label-mode-foreground = #000
  119. label-mode-background = ${colors.primary}
  120. ; focused = Active workspace on focused monitor
  121. label-focused = %name%
  122. label-focused-background = ${colors.background-alt}
  123. label-focused-foreground = ${colors.foreground-alt}
  124. label-focused-underline= ${colors.primary}
  125. label-focused-padding = 2
  126. ; unfocused = Inactive workspace on any monitor
  127. label-unfocused = %name%
  128. label-unfocused-padding = 2
  129. ; visible = Active workspace on unfocused monitor
  130. label-visible = %name%
  131. label-visible-background = ${self.label-focused-background}
  132. label-visible-underline = ${self.label-focused-underline}
  133. label-visible-padding = ${self.label-focused-padding}
  134. ; urgent = Workspace with urgency hint set
  135. label-urgent = %name%
  136. label-urgent-background = ${colors.alert}
  137. label-urgent-padding = 2
  138. ; Separator in between workspaces
  139. ; label-separator = |
  140. [module/mpd]
  141. type = internal/mpd
  142. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  143. icon-prev = 
  144. icon-stop = 
  145. icon-play = 
  146. icon-pause = 
  147. icon-next = 
  148. label-song-maxlen = 25
  149. label-song-ellipsis = true
  150. [module/xbacklight]
  151. type = internal/xbacklight
  152. format = <label> <bar>
  153. label = BL
  154. bar-width = 10
  155. bar-indicator = |
  156. bar-indicator-foreground = #fff
  157. bar-indicator-font = 2
  158. bar-fill = ─
  159. bar-fill-font = 2
  160. bar-fill-foreground = #9f78e1
  161. bar-empty = ─
  162. bar-empty-font = 2
  163. bar-empty-foreground = ${colors.foreground-alt}
  164. [module/backlight-acpi]
  165. inherit = module/xbacklight
  166. type = internal/backlight
  167. card = intel_backlight
  168. [module/cpu]
  169. type = internal/cpu
  170. interval = 2
  171. format-prefix = " "
  172. format-prefix-foreground = ${colors.foreground-alt}
  173. format-underline = #f90000
  174. label = %percentage:2%%
  175. [module/memory]
  176. type = internal/memory
  177. interval = 2
  178. format-prefix = " "
  179. format-prefix-foreground = ${colors.foreground-alt}
  180. format-underline = #ffa384
  181. label = %percentage_used%%
  182. [module/wlan]
  183. type = internal/network
  184. interface = wlp5s0
  185. interval = 3.0
  186. format-connected = <ramp-signal> <label-connected>
  187. format-connected-underline = #b5e5cf
  188. label-connected = %essid%
  189. ;label-connected-background = #3e5755
  190. format-disconnected = <label-disconnected>
  191. ;format-disconnected-underline = ${self.format-connected-underline}
  192. label-disconnected = %ifname% disconnected
  193. label-disconnected-foreground = ${colors.foreground-alt}
  194. ramp-signal-0 = 
  195. ramp-signal-1 = 
  196. ramp-signal-2 = 
  197. ramp-signal-3 = 
  198. ramp-signal-4 = 
  199. ramp-signal-foreground = ${colors.foreground-alt}
  200. [module/eth]
  201. type = internal/network
  202. interface = enp4s0
  203. interval = 3.0
  204. ;format-connected-underline = #55aa55
  205. format-connected-prefix = " "
  206. format-connected-prefix-foreground = ${colors.foreground-alt}
  207. label-connected = %local_ip%
  208. format-disconnected =
  209. ;format-disconnected = <label-disconnected>
  210. ;format-disconnected-underline = ${self.format-connected-underline}
  211. ;label-disconnected = %ifname% disconnected
  212. ;label-disconnected-foreground = ${colors.foreground-alt}
  213. [module/date]
  214. type = internal/date
  215. interval = 5
  216. date =
  217. date-alt = " %Y-%m-%d"
  218. time = %H:%M
  219. time-alt = %H:%M:%S
  220. format-prefix = 
  221. format-prefix-foreground = ${colors.foreground-alt}
  222. ;format-underline = #81abbc
  223. label = %date% %time%
  224. [module/pulseaudio]
  225. type = internal/pulseaudio
  226. format-volume = <label-volume> <bar-volume>
  227. label-volume = VOL %percentage%%
  228. label-volume-foreground = ${root.foreground}
  229. label-muted = 🔇 muted
  230. label-muted-foreground = #666
  231. bar-volume-width = 10
  232. bar-volume-foreground-0 = #55aa55
  233. bar-volume-foreground-1 = #55aa55
  234. bar-volume-foreground-2 = #55aa55
  235. bar-volume-foreground-3 = #55aa55
  236. bar-volume-foreground-4 = #55aa55
  237. bar-volume-foreground-5 = #f5a70a
  238. bar-volume-foreground-6 = #ff5555
  239. bar-volume-gradient = false
  240. bar-volume-indicator = |
  241. bar-volume-indicator-font = 2
  242. bar-volume-fill = ─
  243. bar-volume-fill-font = 2
  244. bar-volume-empty = ─
  245. bar-volume-empty-font = 2
  246. bar-volume-empty-foreground = ${colors.foreground-alt}
  247. [module/alsa]
  248. type = internal/alsa
  249. format-volume = <label-volume> <bar-volume>
  250. label-volume = VOL
  251. label-volume-foreground = ${root.foreground}
  252. format-muted-prefix = " "
  253. format-muted-foreground = ${colors.foreground-alt}
  254. label-muted = sound muted
  255. bar-volume-width = 10
  256. bar-volume-foreground-0 = #55aa55
  257. bar-volume-foreground-1 = #55aa55
  258. bar-volume-foreground-2 = #55aa55
  259. bar-volume-foreground-3 = #55aa55
  260. bar-volume-foreground-4 = #55aa55
  261. bar-volume-foreground-5 = #f5a70a
  262. bar-volume-foreground-6 = #ff5555
  263. bar-volume-gradient = false
  264. bar-volume-indicator = |
  265. bar-volume-indicator-font = 2
  266. bar-volume-fill = ─
  267. bar-volume-fill-font = 2
  268. bar-volume-empty = ─
  269. bar-volume-empty-font = 2
  270. bar-volume-empty-foreground = ${colors.foreground-alt}
  271. [module/battery]
  272. type = internal/battery
  273. battery = BAT0
  274. adapter = AC
  275. full-at = 98
  276. low-at = 20
  277. format-charging = <animation-charging> <label-charging>
  278. format-charging-underline = #81abbc
  279. format-discharging = <animation-discharging> <label-discharging>
  280. ;format-discharging-underline = ${self.format-charging-underline}
  281. format-full-prefix = " "
  282. format-full-prefix-foreground = ${colors.foreground-alt}
  283. format-full-underline = #b5e5cf
  284. label-low-foreground = #fa8072
  285. ramp-capacity-0 = 
  286. ramp-capacity-1 = 
  287. ramp-capacity-2 = 
  288. ramp-capacity-foreground = ${colors.foreground-alt}
  289. animation-charging-0 = 
  290. animation-charging-1 = 
  291. animation-charging-2 = 
  292. animation-charging-foreground = ${colors.foreground-alt}
  293. animation-charging-framerate = 750
  294. animation-discharging-0 = 
  295. animation-discharging-1 = 
  296. animation-discharging-2 = 
  297. animation-discharging-foreground = ${colors.foreground-alt}
  298. animation-discharging-framerate = 750
  299. [module/temperature]
  300. type = internal/temperature
  301. thermal-zone = 0
  302. warn-temperature = 60
  303. format = <ramp> <label>
  304. format-underline = #1c1c1c
  305. format-warn = <ramp> <label-warn>
  306. format-warn-label= #fa8072
  307. label = %temperature-c%
  308. label-warn = %temperature-c%
  309. label-warn-foreground = #fa8072
  310. ramp-0 = 
  311. ramp-1 = 
  312. ramp-2 = 
  313. ramp-foreground = ${colors.foreground-alt}
  314. [module/powermenu]
  315. type = custom/menu
  316. expand-right = true
  317. format-spacing = 1
  318. label-open = 
  319. label-open-foreground = ${colors.secondary}
  320. label-close =  cancel
  321. label-close-foreground = ${colors.secondary}
  322. label-separator = |
  323. label-separator-foreground = ${colors.foreground-alt}
  324. menu-0-0 = reboot
  325. menu-0-0-exec = menu-open-1
  326. menu-0-1 = power off
  327. menu-0-1-exec = menu-open-2
  328. menu-1-0 = cancel
  329. menu-1-0-exec = menu-open-0
  330. menu-1-1 = reboot
  331. menu-1-1-exec = sudo reboot
  332. menu-2-0 = power off
  333. menu-2-0-exec = sudo poweroff
  334. menu-2-1 = cancel
  335. menu-2-1-exec = menu-open-0
  336. [settings]
  337. screenchange-reload = true
  338. ;compositing-background = xor
  339. ;compositing-background = screen
  340. ;compositing-foreground = source
  341. ;compositing-border = over
  342. pseudo-transparency = false
  343. [global/wm]
  344. margin-top = 5
  345. margin-bottom = 5
  346. ;vim:ft=dosini