A collection of scripts and configurations for Bash (and others)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

333 rindas
7.7KB

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