A collection of scripts and configurations for Bash (and others)
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.

366 lines
8.6KB

  1. [module/obspace]
  2. type = custom/text
  3. content-foreground = ${colors.primary}
  4. content-padding = 0
  5. content = %{T2} %{T-}
  6. [module/obswedge-l]
  7. type = custom/text
  8. content-foreground = ${colors.primary}
  9. content-padding = 0
  10. content = %{T2}%{T-}
  11. [module/obswedge-r]
  12. type = custom/text
  13. content-foreground = ${colors.primary}
  14. content-padding = 0
  15. content = %{T2}%{T-}
  16. [module/obswoosh]
  17. type = custom/text
  18. content-foreground = ${colors.primary}
  19. content-padding = 0
  20. content = %{T2}%{T-}
  21. [module/xwindow]
  22. type = internal/xwindow
  23. label = %title:0:30:...%
  24. [module/xkeyboard]
  25. type = internal/xkeyboard
  26. blacklist-0 = num lock
  27. format-prefix = " "
  28. format-prefix-foreground = ${colors.foreground-alt}
  29. format-prefix-underline = ${colors.secondary}
  30. label-layout = %layout%
  31. label-layout-underline = ${colors.secondary}
  32. label-indicator-padding = 2
  33. label-indicator-margin = 1
  34. label-indicator-background = ${colors.secondary}
  35. label-indicator-underline = ${colors.secondary}
  36. [module/filesystem]
  37. type = internal/fs
  38. interval = 25
  39. mount-0 = /
  40. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  41. label-unmounted = %mountpoint% not mounted
  42. label-unmounted-foreground = ${colors.foreground-alt}
  43. [module/bspwm]
  44. type = internal/bspwm
  45. label-focused = %index%
  46. label-focused-background = ${colors.background-alt}
  47. label-focused-underline= ${colors.primary}
  48. label-focused-padding = 2
  49. label-occupied = %index%
  50. label-occupied-padding = 2
  51. label-urgent = %index%!
  52. label-urgent-background = ${colors.alert}
  53. label-urgent-padding = 2
  54. label-empty = %index%
  55. label-empty-foreground = ${colors.foreground-alt}
  56. label-empty-padding = 2
  57. ; Separator in between workspaces
  58. ; label-separator = |
  59. [module/i3]
  60. type = internal/i3
  61. format = <label-state> <label-mode>
  62. index-sort = true
  63. wrapping-scroll = false
  64. ; Only show workspaces on the same output as the bar
  65. pin-workspaces = true
  66. label-mode-padding = 0
  67. label-mode-foreground = #000
  68. label-mode-background = ${colors.primary}
  69. ; focused = Active workspace on focused monitor
  70. label-focused = %{T2}%{T-}%index%%{T2}%{T-}
  71. label-focused-foreground = ${colors.primary}
  72. label-focused-background = ${colors.background}
  73. ;label-focused-underline= ${colors.background-alt}
  74. label-focused-padding = 0
  75. ; unfocused = Inactive workspace on any monitor
  76. label-unfocused = %{T2}%{T-}%index%%{T2}%{T-}
  77. label-unfocused-foreground = ${colors.background}
  78. label-unfocused-background = ${colors.primary}
  79. label-unfocused-padding = 0
  80. ; visible = Active workspace on unfocused monitor
  81. label-visible = %{T2}%{T-}%index%%{T2}%{T-}
  82. label-visible-background = ${self.label-focused-background}
  83. label-visible-foreground = ${self.label-focused-foreground}
  84. label-visible-padding = 0 ;${self.label-focused-padding}
  85. ; urgent = Workspace with urgency hint set
  86. label-urgent = %index%
  87. label-urgent-background = ${colors.alert}
  88. label-urgent-padding = 0
  89. ; Separator in between workspaces
  90. ; label-separator = |
  91. [module/mpd]
  92. type = internal/mpd
  93. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  94. icon-prev = 
  95. icon-stop = 
  96. icon-play = 
  97. icon-pause = 
  98. icon-next = 
  99. label-song-maxlen = 25
  100. label-song-ellipsis = true
  101. [module/xbacklight]
  102. type = internal/xbacklight
  103. format = <label> <bar>
  104. label = BL
  105. bar-width = 10
  106. bar-indicator = |
  107. bar-indicator-foreground = #fff
  108. bar-indicator-font = 2
  109. bar-fill = ─
  110. bar-fill-font = 2
  111. bar-fill-foreground = #9f78e1
  112. bar-empty = ─
  113. bar-empty-font = 2
  114. bar-empty-foreground = ${colors.foreground-alt}
  115. [module/backlight-acpi]
  116. inherit = module/xbacklight
  117. type = internal/backlight
  118. card = intel_backlight
  119. [module/cpu]
  120. type = internal/cpu
  121. interval = 2
  122. format-prefix = "  "
  123. format-prefix-background = ${colors.primary}
  124. format-prefix-foreground = ${colors.background}
  125. format-background = ${colors.primary}
  126. format-foreground = ${colors.background}
  127. ;format-underline = #f90000
  128. label = %percentage:2%%
  129. [module/memory]
  130. type = internal/memory
  131. interval = 2
  132. format-prefix = "  "
  133. format-prefix-background = ${colors.primary}
  134. format-prefix-foreground = ${colors.background}
  135. format-background = ${colors.primary}
  136. format-foreground = ${colors.background}
  137. ;format-underline = #4bffdc
  138. label = %percentage_used%%
  139. [module/wlan]
  140. type = internal/network
  141. interface = net1
  142. interval = 3.0
  143. format-connected = <ramp-signal> <label-connected>
  144. format-connected-underline = #9f78e1
  145. label-connected = %essid%
  146. format-disconnected =
  147. ;format-disconnected = <label-disconnected>
  148. ;format-disconnected-underline = ${self.format-connected-underline}
  149. ;label-disconnected = %ifname% disconnected
  150. ;label-disconnected-foreground = ${colors.foreground-alt}
  151. ramp-signal-0 = 
  152. ramp-signal-1 = 
  153. ramp-signal-2 = 
  154. ramp-signal-3 = 
  155. ramp-signal-4 = 
  156. ramp-signal-foreground = ${colors.foreground-alt}
  157. [module/eth]
  158. type = internal/network
  159. interface = eno1
  160. interval = 3.0
  161. format-connected-underline = #55aa55
  162. format-connected-prefix = " "
  163. format-connected-prefix-foreground = ${colors.foreground-alt}
  164. label-connected = %local_ip%
  165. format-disconnected =
  166. ;format-disconnected = <label-disconnected>
  167. ;format-disconnected-underline = ${self.format-connected-underline}
  168. ;label-disconnected = %ifname% disconnected
  169. ;label-disconnected-foreground = ${colors.foreground-alt}
  170. [module/date]
  171. type = internal/date
  172. interval = 5
  173. date =
  174. date-alt = " %Y-%m-%d"
  175. time = %H:%M
  176. time-alt = %H:%M:%S
  177. format-prefix = 
  178. format-prefix-foreground = ${colors.foreground-alt}
  179. format-underline = #0a6cf5
  180. label = %date% %time%
  181. [module/pulseaudio]
  182. type = internal/pulseaudio
  183. format-volume = <label-volume> <bar-volume>
  184. label-volume = VOL %percentage%%
  185. label-volume-foreground = ${root.foreground}
  186. label-muted = 🔇 muted
  187. label-muted-foreground = #666
  188. bar-volume-width = 10
  189. bar-volume-foreground-0 = #55aa55
  190. bar-volume-foreground-1 = #55aa55
  191. bar-volume-foreground-2 = #55aa55
  192. bar-volume-foreground-3 = #55aa55
  193. bar-volume-foreground-4 = #55aa55
  194. bar-volume-foreground-5 = #f5a70a
  195. bar-volume-foreground-6 = #ff5555
  196. bar-volume-gradient = false
  197. bar-volume-indicator = |
  198. bar-volume-indicator-font = 2
  199. bar-volume-fill = ─
  200. bar-volume-fill-font = 2
  201. bar-volume-empty = ─
  202. bar-volume-empty-font = 2
  203. bar-volume-empty-foreground = ${colors.foreground-alt}
  204. [module/alsa]
  205. type = internal/alsa
  206. format-volume = <label-volume> <bar-volume>
  207. label-volume = VOL
  208. label-volume-foreground = ${root.foreground}
  209. format-muted-prefix = " "
  210. format-muted-foreground = ${colors.foreground-alt}
  211. label-muted = sound muted
  212. bar-volume-width = 10
  213. bar-volume-foreground-0 = #55aa55
  214. bar-volume-foreground-1 = #55aa55
  215. bar-volume-foreground-2 = #55aa55
  216. bar-volume-foreground-3 = #55aa55
  217. bar-volume-foreground-4 = #55aa55
  218. bar-volume-foreground-5 = #f5a70a
  219. bar-volume-foreground-6 = #ff5555
  220. bar-volume-gradient = false
  221. bar-volume-indicator = |
  222. bar-volume-indicator-font = 2
  223. bar-volume-fill = ─
  224. bar-volume-fill-font = 2
  225. bar-volume-empty = ─
  226. bar-volume-empty-font = 2
  227. bar-volume-empty-foreground = ${colors.foreground-alt}
  228. [module/battery]
  229. type = internal/battery
  230. battery = BAT0
  231. adapter = ADP1
  232. full-at = 98
  233. format-charging = <animation-charging> <label-charging>
  234. format-charging-underline = #ffb52a
  235. format-discharging = <animation-discharging> <label-discharging>
  236. format-discharging-underline = ${self.format-charging-underline}
  237. format-full-prefix = " "
  238. format-full-prefix-foreground = ${colors.foreground-alt}
  239. format-full-underline = ${self.format-charging-underline}
  240. ramp-capacity-0 = 
  241. ramp-capacity-1 = 
  242. ramp-capacity-2 = 
  243. ramp-capacity-foreground = ${colors.foreground-alt}
  244. animation-charging-0 = 
  245. animation-charging-1 = 
  246. animation-charging-2 = 
  247. animation-charging-foreground = ${colors.foreground-alt}
  248. animation-charging-framerate = 750
  249. animation-discharging-0 = 
  250. animation-discharging-1 = 
  251. animation-discharging-2 = 
  252. animation-discharging-foreground = ${colors.foreground-alt}
  253. animation-discharging-framerate = 750
  254. [module/temperature]
  255. type = internal/temperature
  256. thermal-zone = 0
  257. warn-temperature = 60
  258. format = <ramp> <label>
  259. format-underline = #f50a4d
  260. format-warn = <ramp> <label-warn>
  261. format-warn-underline = ${self.format-underline}
  262. label = %temperature-c%
  263. label-warn = %temperature-c%
  264. label-warn-foreground = ${colors.secondary}
  265. ramp-0 = 
  266. ramp-1 = 
  267. ramp-2 = 
  268. ramp-foreground = ${colors.foreground-alt}
  269. [module/powermenu]
  270. type = custom/menu
  271. expand-right = true
  272. format-spacing = 1
  273. label-open = 
  274. label-open-foreground = ${colors.secondary}
  275. label-close =  cancel
  276. label-close-foreground = ${colors.secondary}
  277. label-separator = |
  278. label-separator-foreground = ${colors.foreground-alt}
  279. menu-0-0 = reboot
  280. menu-0-0-exec = menu-open-1
  281. menu-0-1 = power off
  282. menu-0-1-exec = menu-open-2
  283. menu-1-0 = cancel
  284. menu-1-0-exec = menu-open-0
  285. menu-1-1 = reboot
  286. menu-1-1-exec = sudo reboot
  287. menu-2-0 = power off
  288. menu-2-0-exec = sudo poweroff
  289. menu-2-1 = cancel
  290. menu-2-1-exec = menu-open-0