A collection of scripts and configurations for Bash (and others)
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

360 lines
8.4KB

  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-foreground = ${colors.foreground-alt}
  124. format-underline = #f90000
  125. label = %percentage:2%%
  126. [module/memory]
  127. type = internal/memory
  128. interval = 2
  129. format-prefix = " "
  130. format-prefix-foreground = ${colors.foreground-alt}
  131. format-underline = #4bffdc
  132. label = %percentage_used%%
  133. [module/wlan]
  134. type = internal/network
  135. interface = net1
  136. interval = 3.0
  137. format-connected = <ramp-signal> <label-connected>
  138. format-connected-underline = #9f78e1
  139. label-connected = %essid%
  140. format-disconnected =
  141. ;format-disconnected = <label-disconnected>
  142. ;format-disconnected-underline = ${self.format-connected-underline}
  143. ;label-disconnected = %ifname% disconnected
  144. ;label-disconnected-foreground = ${colors.foreground-alt}
  145. ramp-signal-0 = 
  146. ramp-signal-1 = 
  147. ramp-signal-2 = 
  148. ramp-signal-3 = 
  149. ramp-signal-4 = 
  150. ramp-signal-foreground = ${colors.foreground-alt}
  151. [module/eth]
  152. type = internal/network
  153. interface = eno1
  154. interval = 3.0
  155. format-connected-underline = #55aa55
  156. format-connected-prefix = " "
  157. format-connected-prefix-foreground = ${colors.foreground-alt}
  158. label-connected = %local_ip%
  159. format-disconnected =
  160. ;format-disconnected = <label-disconnected>
  161. ;format-disconnected-underline = ${self.format-connected-underline}
  162. ;label-disconnected = %ifname% disconnected
  163. ;label-disconnected-foreground = ${colors.foreground-alt}
  164. [module/date]
  165. type = internal/date
  166. interval = 5
  167. date =
  168. date-alt = " %Y-%m-%d"
  169. time = %H:%M
  170. time-alt = %H:%M:%S
  171. format-prefix = 
  172. format-prefix-foreground = ${colors.foreground-alt}
  173. format-underline = #0a6cf5
  174. label = %date% %time%
  175. [module/pulseaudio]
  176. type = internal/pulseaudio
  177. format-volume = <label-volume> <bar-volume>
  178. label-volume = VOL %percentage%%
  179. label-volume-foreground = ${root.foreground}
  180. label-muted = 🔇 muted
  181. label-muted-foreground = #666
  182. bar-volume-width = 10
  183. bar-volume-foreground-0 = #55aa55
  184. bar-volume-foreground-1 = #55aa55
  185. bar-volume-foreground-2 = #55aa55
  186. bar-volume-foreground-3 = #55aa55
  187. bar-volume-foreground-4 = #55aa55
  188. bar-volume-foreground-5 = #f5a70a
  189. bar-volume-foreground-6 = #ff5555
  190. bar-volume-gradient = false
  191. bar-volume-indicator = |
  192. bar-volume-indicator-font = 2
  193. bar-volume-fill = ─
  194. bar-volume-fill-font = 2
  195. bar-volume-empty = ─
  196. bar-volume-empty-font = 2
  197. bar-volume-empty-foreground = ${colors.foreground-alt}
  198. [module/alsa]
  199. type = internal/alsa
  200. format-volume = <label-volume> <bar-volume>
  201. label-volume = VOL
  202. label-volume-foreground = ${root.foreground}
  203. format-muted-prefix = " "
  204. format-muted-foreground = ${colors.foreground-alt}
  205. label-muted = sound muted
  206. bar-volume-width = 10
  207. bar-volume-foreground-0 = #55aa55
  208. bar-volume-foreground-1 = #55aa55
  209. bar-volume-foreground-2 = #55aa55
  210. bar-volume-foreground-3 = #55aa55
  211. bar-volume-foreground-4 = #55aa55
  212. bar-volume-foreground-5 = #f5a70a
  213. bar-volume-foreground-6 = #ff5555
  214. bar-volume-gradient = false
  215. bar-volume-indicator = |
  216. bar-volume-indicator-font = 2
  217. bar-volume-fill = ─
  218. bar-volume-fill-font = 2
  219. bar-volume-empty = ─
  220. bar-volume-empty-font = 2
  221. bar-volume-empty-foreground = ${colors.foreground-alt}
  222. [module/battery]
  223. type = internal/battery
  224. battery = BAT0
  225. adapter = ADP1
  226. full-at = 98
  227. format-charging = <animation-charging> <label-charging>
  228. format-charging-underline = #ffb52a
  229. format-discharging = <animation-discharging> <label-discharging>
  230. format-discharging-underline = ${self.format-charging-underline}
  231. format-full-prefix = " "
  232. format-full-prefix-foreground = ${colors.foreground-alt}
  233. format-full-underline = ${self.format-charging-underline}
  234. ramp-capacity-0 = 
  235. ramp-capacity-1 = 
  236. ramp-capacity-2 = 
  237. ramp-capacity-foreground = ${colors.foreground-alt}
  238. animation-charging-0 = 
  239. animation-charging-1 = 
  240. animation-charging-2 = 
  241. animation-charging-foreground = ${colors.foreground-alt}
  242. animation-charging-framerate = 750
  243. animation-discharging-0 = 
  244. animation-discharging-1 = 
  245. animation-discharging-2 = 
  246. animation-discharging-foreground = ${colors.foreground-alt}
  247. animation-discharging-framerate = 750
  248. [module/temperature]
  249. type = internal/temperature
  250. thermal-zone = 0
  251. warn-temperature = 60
  252. format = <ramp> <label>
  253. format-underline = #f50a4d
  254. format-warn = <ramp> <label-warn>
  255. format-warn-underline = ${self.format-underline}
  256. label = %temperature-c%
  257. label-warn = %temperature-c%
  258. label-warn-foreground = ${colors.secondary}
  259. ramp-0 = 
  260. ramp-1 = 
  261. ramp-2 = 
  262. ramp-foreground = ${colors.foreground-alt}
  263. [module/powermenu]
  264. type = custom/menu
  265. expand-right = true
  266. format-spacing = 1
  267. label-open = 
  268. label-open-foreground = ${colors.secondary}
  269. label-close =  cancel
  270. label-close-foreground = ${colors.secondary}
  271. label-separator = |
  272. label-separator-foreground = ${colors.foreground-alt}
  273. menu-0-0 = reboot
  274. menu-0-0-exec = menu-open-1
  275. menu-0-1 = power off
  276. menu-0-1-exec = menu-open-2
  277. menu-1-0 = cancel
  278. menu-1-0-exec = menu-open-0
  279. menu-1-1 = reboot
  280. menu-1-1-exec = sudo reboot
  281. menu-2-0 = power off
  282. menu-2-0-exec = sudo poweroff
  283. menu-2-1 = cancel
  284. menu-2-1-exec = menu-open-0