My personal dotfiles
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.

config 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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. ;
  8. ;=====================================================
  9. [colors]
  10. background = #222
  11. background-alt = #444
  12. foreground = #dfdfdf
  13. foreground-alt = #55
  14. primary = #ffb52a
  15. secondary = #e60053
  16. alert = #bd2c40
  17. [global/wm]
  18. margin-top = 5
  19. margin-bottom = 5
  20. [bar/wolfe]
  21. ;monitor = ${env:MONITOR:HDMI-1}
  22. width = 100%
  23. height = 27
  24. offset-x = 0
  25. offset-y = 0
  26. dock = true
  27. ;background = ${xrdb:color9}
  28. background = ${colors.background}
  29. foreground = ${colors.foreground}
  30. overline-size = 2
  31. overline-color = #f00
  32. underline-size = 2
  33. underline-color = #00f
  34. border-bottom = 2
  35. border-bottom-color = #333
  36. spacing = 1
  37. padding-left = 0
  38. padding-right = 2
  39. module-margin-left = 1
  40. module-margin-right = 2
  41. ;font-0 = fixed:pixelsize=10;0
  42. ;font-1 = unifont:size=6:heavy:fontformat=truetype;-2
  43. ;font-2 = siji:pixelsize=10;0
  44. font-0 = Tamsyn:pixelsize=14
  45. font-1 = FontAwesome:size=10
  46. font-2 = Roboto:size=11:weight=bold
  47. modules-left = i3 xwindow
  48. modules-center =
  49. modules-right = backlight volume xkeyboard memory cpu wlan eth battery temperature date
  50. tray-position = right
  51. tray-padding = 2
  52. ;tray-transparent = true
  53. ;tray-background = #0063ff
  54. ;wm-restack = bspwm
  55. ;wm-restack = i3
  56. ;override-redirect = true
  57. ;scroll-up = bspwm-desknext
  58. ;scroll-down = bspwm-deskprev
  59. ;scroll-up = i3wm-wsnext
  60. ;scroll-down = i3wm-wsprev
  61. [module/xwindow]
  62. type = internal/xwindow
  63. ;label = %title:0:30:...%
  64. label = %title%
  65. [module/xkeyboard]
  66. type = internal/xkeyboard
  67. blacklist-0 = num lock
  68. format-underline = ${colors.secondary}
  69. format-prefix = " "
  70. format-prefix-foreground = ${colors.foreground-alt}
  71. label-layout = %layout%
  72. label-indicator-padding = 2
  73. label-indicator-background = ${colors.secondary}
  74. label-indicator-underline = ${colors.secondary}
  75. [module/filesystem]
  76. type = internal/fs
  77. interval = 25
  78. mount-0 = /
  79. mount-1 = /home
  80. mount-2 = /invalid/mountpoint
  81. label-mounted = %mountpoint%: %percentage_free%
  82. label-unmounted = %mountpoint%: not mounted
  83. label-unmounted-foreground = ${colors.foreground-alt}
  84. [module/bspwm]
  85. type = internal/bspwm
  86. ws-icon-default = x
  87. label-focused = %name%
  88. label-focused-background = ${colors.background-alt}
  89. label-focused-underline= ${colors.primary}
  90. label-focused-padding = 2
  91. label-occupied = %name%
  92. label-occupied-padding = 2
  93. label-urgent = %name%
  94. label-urgent-background = ${colors.alert}
  95. label-urgent-padding = 2
  96. label-empty = %name%
  97. label-empty-foreground = ${colors.foreground-alt}
  98. label-empty-padding = 2
  99. [module/i3]
  100. type = internal/i3
  101. format = <label-state> <label-mode>
  102. index-sort = true
  103. label-mode = %mode%
  104. label-mode-padding = 2
  105. label-mode-foreground = #000
  106. label-mode-background = ${colors.primary}
  107. label-focused = %index%
  108. label-focused-background = ${module/bspwm.label-focused-background}
  109. label-focused-underline = ${module/bspwm.label-focused-underline}
  110. label-focused-padding = ${module/bspwm.label-focused-padding}
  111. label-unfocused = %index%
  112. label-unfocused-padding = ${module/bspwm.label-occupied-padding}
  113. label-urgent = %index%!
  114. label-urgent-background = ${colors.alert}
  115. label-urgent-padding = ${module/bspwm.label-urgent-padding}
  116. label-visible = %index%
  117. label-visible-foreground = ${module/bspwm.label-empty-padding}
  118. label-visible-padding = ${module/bspwm.label-empty-padding}
  119. [module/mpd]
  120. type = internal/mpd
  121. format-online = <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
  122. label-song-maxlen = 25
  123. label-song-ellipsis = true
  124. icon-prev = 
  125. icon-seekb = 
  126. icon-stop = 
  127. icon-play = 
  128. icon-pause = 
  129. icon-next = 
  130. icon-seekf = 
  131. icon-random = 
  132. icon-repeat = 
  133. toggle-on-foreground = ${colors.primary}
  134. toggle-off-foreground = #66
  135. [module/backlight]
  136. type = internal/xbacklight
  137. format = <label> <bar>
  138. label = BL
  139. bar-width = 10
  140. bar-indicator = │
  141. bar-indicator-foreground = #ff
  142. bar-indicator-font = 2
  143. bar-fill = ─
  144. bar-fill-font = 2
  145. bar-fill-foreground = #9f78e1
  146. bar-empty = ─
  147. bar-empty-font = 2
  148. bar-empty-foreground = ${colors.foreground-alt}
  149. [module/cpu]
  150. type = internal/cpu
  151. interval = 2
  152. format-prefix = " "
  153. format-prefix-foreground = ${colors.foreground-alt}
  154. format-underline = #f90000
  155. label = %percentage%
  156. [module/memory]
  157. type = internal/memory
  158. interval = 2
  159. format-prefix = " "
  160. format-prefix-foreground = ${colors.foreground-alt}
  161. format-underline = #4bffdc
  162. label = %percentage_used%
  163. [module/wlan]
  164. type = internal/network
  165. interface = wlp2s0
  166. interval = 3.0
  167. format-connected = <ramp-signal> <label-connected>
  168. format-connected-underline = #9f78e1
  169. format-disconnected-underline = ${self.format-connected-underline}
  170. label-connected = %essid%
  171. label-disconnected = %ifname% disconnected
  172. label-disconnected-foreground = ${colors.foreground-alt}
  173. ramp-signal-0 = " "
  174. ramp-signal-1 = " "
  175. ramp-signal-2 = " "
  176. ramp-signal-3 = " "
  177. ramp-signal-4 = " "
  178. ramp-signal-foreground = ${colors.foreground-alt}
  179. [module/eth]
  180. type = internal/network
  181. interface = net0
  182. interval = 3.0
  183. format-connected-underline = #55aa55
  184. format-connected-prefix = " "
  185. format-connected-foreground-foreground = ${colors.foreground-alt}
  186. label-connected = %local_ip%
  187. format-disconnected-underline = ${self.format-connected-underline}
  188. label-disconnected = %ifname% disconnected
  189. label-disconnected-foreground = ${colors.foreground-alt}
  190. [module/date]
  191. type = internal/date
  192. interval = 5
  193. date= " %a %e %b"
  194. date-alt = " %Y-%m-%d"
  195. time = %H:%M
  196. time-alt = %H:%M:%S
  197. format-prefix = " "
  198. format-prefix-foreground = ${colors.foreground-alt}
  199. format-underline = #0a6cf5
  200. label = %date% %time%
  201. [module/volume]
  202. type = internal/volume
  203. format-volume = <label-volume> <bar-volume>
  204. label-volume = VOL
  205. label-volume-foreground = ${root.foreground}
  206. format-muted-prefix = " "
  207. format-muted-foreground = ${colors.foreground-alt}
  208. label-muted = sound muted
  209. bar-volume-width = 10
  210. bar-volume-foreground-0 = #55aa55
  211. bar-volume-foreground-1 = #55aa55
  212. bar-volume-foreground-2 = #55aa55
  213. bar-volume-foreground-3 = #55aa55
  214. bar-volume-foreground-4 = #55aa55
  215. bar-volume-foreground-5 = #f5a70a
  216. bar-volume-foreground-6 = #ff5555
  217. bar-volume-gradient = false
  218. bar-volume-indicator = │
  219. bar-volume-indicator-font = 2
  220. bar-volume-indicator-foreground = #ff
  221. bar-volume-fill = ─
  222. bar-volume-fill-font = 2
  223. bar-volume-empty = ─
  224. bar-volume-empty-font = 2
  225. bar-volume-empty-foreground = ${colors.foreground-alt}
  226. [module/battery]
  227. type = internal/battery
  228. battery = BAT0
  229. adapter = AC0
  230. full-at = 98
  231. format-charging = <animation-charging> <label-charging>
  232. format-charging-underline = #ffb52a
  233. format-discharging = <ramp-capacity> <label-discharging>
  234. format-discharging-underline = ${self.format-charging-underline}
  235. format-full-prefix = " "
  236. format-full-prefix-foreground = ${colors.foreground-alt}
  237. format-full-underline = ${self.format-charging-underline}
  238. ramp-capacity-0 = " "
  239. ramp-capacity-1 = " "
  240. ramp-capacity-2 = " "
  241. ramp-capacity-foreground = ${colors.foreground-alt}
  242. animation-charging-0 = " "
  243. animation-charging-1 = " "
  244. animation-charging-2 = " "
  245. animation-charging-foreground = ${colors.foreground-alt}
  246. animation-charging-framerate = 750
  247. [module/temperature]
  248. type = internal/temperature
  249. thermal-zone = 0
  250. warn-temperature = 60
  251. format = <ramp> <label>
  252. format-underline = #f50a4d
  253. format-warn = <ramp> <label-warn>
  254. format-warn-underline = ${self.format-underline}
  255. label = %temperature%
  256. label-warn = %temperature%
  257. label-warn-foreground = ${colors.secondary}
  258. ramp-0 = " "
  259. ramp-1 = " "
  260. ramp-2 = " "
  261. ramp-foreground = ${colors.foreground-alt}
  262. [module/powermenu]
  263. type = custom/menu
  264. label-open =  power
  265. label-open-foreground = ${colors.secondary}
  266. label-close =  cancel
  267. label-close-foreground = ${colors.secondary}
  268. label-separator = |
  269. label-separator-foreground = ${colors.foreground-alt}
  270. menu-0-0 = reboot
  271. menu-0-0-exec = menu-open-1
  272. menu-0-1 = power off
  273. menu-0-1-exec = menu-open-2
  274. menu-1-0 = cancel
  275. menu-1-0-exec = menu-open-0
  276. menu-1-1 = reboot
  277. menu-1-1-exec = sudo reboot
  278. menu-2-0 = power off
  279. menu-2-0-exec = sudo poweroff
  280. menu-2-1 = cancel
  281. menu-2-1-exec = menu-open-0
  282. ; vim:ft=dosini