A collection of scripts and configurations for Bash (and others)
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

400 Zeilen
9.9KB

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