Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.55 KB | None | 0 0
  1. [colors]
  2. background = #00000000
  3. ;background = #222
  4. ;background-alt = #444
  5. foreground = ${xrdb:color7:#222}
  6. foreground-alt = ${xrdb:color7:#222}
  7. primary = ${xrdb:color1:#222}
  8. secondary = ${xrdb:color2:#222}
  9. alert = ${xrdb:color3:#222}
  10.  
  11. [bar/example]
  12. ;monitor = ${env:MONITOR:HDMI-1}
  13. width = 100%
  14. height = 27
  15. ;offset-x = 1%
  16. ;offset-y = 1%
  17. radius = 6.0
  18. fixed-center = false
  19. bottom = true
  20.  
  21. background = ${colors.background}
  22. foreground = ${colors.foreground}
  23.  
  24. line-size = 3
  25. line-color = #f00
  26.  
  27. border-size = 4
  28. border-color = #00000000
  29.  
  30. padding-left = 0
  31. padding-right = 2
  32.  
  33. module-margin-left = 1
  34. module-margin-right = 2
  35.  
  36. font-0 = Liberation\ Mono:pixelsize=10;1
  37. font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  38. font-2 = siji:pixelsize=10;1
  39.  
  40. modules-left = sowm
  41. modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan battery date powermenu
  42.  
  43. tray-position = right
  44. tray-padding = 2
  45. ;tray-background = #0063ff
  46.  
  47. ;wm-restack = bspwm
  48. ;wm-restack = i3
  49.  
  50. ;override-redirect = true
  51.  
  52. ;scroll-up = bspwm-desknext
  53. ;scroll-down = bspwm-deskprev
  54.  
  55. ;scroll-up = i3wm-wsnext
  56. ;scroll-down = i3wm-wsprev
  57.  
  58. cursor-click = pointer
  59. cursor-scroll = ns-resize
  60.  
  61. [module/xwindow]
  62. type = internal/xwindow
  63. label = %title:0:30:...%
  64.  
  65. [module/xkeyboard]
  66. type = internal/xkeyboard
  67. blacklist-0 = num lock
  68.  
  69. format-prefix = " "
  70. format-prefix-foreground = ${colors.foreground-alt}
  71. format-prefix-underline = ${colors.secondary}
  72.  
  73. label-layout = %layout%
  74. label-layout-underline = ${colors.secondary}
  75.  
  76. label-indicator-padding = 2
  77. label-indicator-margin = 1
  78. label-indicator-background = ${colors.secondary}
  79. label-indicator-underline = ${colors.secondary}
  80.  
  81. [module/filesystem]
  82. type = internal/fs
  83. interval = 25
  84.  
  85. mount-0 = /
  86.  
  87. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  88. label-unmounted = %mountpoint% not mounted
  89. label-unmounted-foreground = ${colors.foreground-alt}
  90.  
  91. [module/bspwm]
  92. type = internal/bspwm
  93.  
  94. label-focused = %index%
  95. label-focused-background = ${colors.background-alt}
  96. label-focused-underline= ${colors.primary}
  97. label-focused-padding = 2
  98.  
  99. label-occupied = %index%
  100. label-occupied-padding = 2
  101.  
  102. label-urgent = %index%!
  103. label-urgent-background = ${colors.alert}
  104. label-urgent-padding = 2
  105.  
  106. label-empty = %index%
  107. label-empty-foreground = ${colors.foreground-alt}
  108. label-empty-padding = 2
  109.  
  110. ; Separator in between workspaces
  111. ; label-separator = |
  112.  
  113. [module/i3]
  114. type = internal/i3
  115. format = <label-state> <label-mode>
  116. index-sort = true
  117. wrapping-scroll = false
  118.  
  119. ; Only show workspaces on the same output as the bar
  120. ;pin-workspaces = true
  121.  
  122. label-mode-padding = 2
  123. label-mode-foreground = #000
  124. label-mode-background = ${colors.primary}
  125.  
  126. ; focused = Active workspace on focused monitor
  127. label-focused = %index%
  128. label-focused-background = ${colors.background-alt}
  129. label-focused-underline= ${colors.primary}
  130. label-focused-padding = 2
  131.  
  132. ; unfocused = Inactive workspace on any monitor
  133. label-unfocused = %index%
  134. label-unfocused-padding = 2
  135.  
  136. ; visible = Active workspace on unfocused monitor
  137. label-visible = %index%
  138. label-visible-background = ${self.label-focused-background}
  139. label-visible-underline = ${self.label-focused-underline}
  140. label-visible-padding = ${self.label-focused-padding}
  141.  
  142. ; urgent = Workspace with urgency hint set
  143. label-urgent = %index%
  144. label-urgent-background = ${colors.alert}
  145. label-urgent-padding = 2
  146.  
  147. ; Separator in between workspaces
  148. ; label-separator = |
  149.  
  150.  
  151. [module/mpd]
  152. type = internal/mpd
  153. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  154.  
  155. icon-prev = 
  156. icon-stop = 
  157. icon-play = 
  158. icon-pause = 
  159. icon-next = 
  160.  
  161. label-song-maxlen = 25
  162. label-song-ellipsis = true
  163.  
  164. [module/xbacklight]
  165. type = internal/xbacklight
  166.  
  167. format = <label> <bar>
  168. label = BL
  169.  
  170. bar-width = 10
  171. bar-indicator = |
  172. bar-indicator-foreground = #fff
  173. bar-indicator-font = 2
  174. bar-fill = ─
  175. bar-fill-font = 2
  176. bar-fill-foreground = #9f78e1
  177. bar-empty = ─
  178. bar-empty-font = 2
  179. bar-empty-foreground = ${colors.foreground-alt}
  180.  
  181. [module/backlight-acpi]
  182. inherit = module/xbacklight
  183. type = internal/backlight
  184. card = intel_backlight
  185.  
  186. [module/cpu]
  187. type = internal/cpu
  188. interval = 2
  189. format-prefix = " "
  190. format-prefix-foreground = ${colors.foreground-alt}
  191. format-underline = ${xrdb:color2:#222}
  192. label = %percentage:2%%
  193.  
  194. [module/memory]
  195. type = internal/memory
  196. interval = 2
  197. format-prefix = " "
  198. format-prefix-foreground = ${colors.foreground-alt}
  199. format-underline = ${xrdb:color1:#222}
  200. label = %percentage_used%%
  201.  
  202. [module/wlan]
  203. type = internal/network
  204. interface = wlp3s0
  205. interval = 3.0
  206.  
  207. format-connected = <ramp-signal> <label-connected>
  208. format-connected-underline = ${xrdb:color2:#222}
  209. label-connected = %essid%
  210.  
  211. format-disconnected =
  212. ;format-disconnected = <label-disconnected>
  213. ;format-disconnected-underline = ${self.format-connected-underline}
  214. ;label-disconnected = %ifname% disconnected
  215. ;label-disconnected-foreground = ${colors.foreground-alt}
  216.  
  217. ramp-signal-0 = 
  218. ramp-signal-1 = 
  219. ramp-signal-2 = 
  220. ramp-signal-3 = 
  221. ramp-signal-4 = 
  222. ramp-signal-foreground = ${colors.foreground-alt}
  223.  
  224. [module/eth]
  225. type = internal/network
  226. interface = sit0
  227. interval = 3.0
  228.  
  229. format-connected-underline = #55aa55
  230. format-connected-prefix = " "
  231. format-connected-prefix-foreground = ${colors.foreground-alt}
  232. label-connected = %local_ip%
  233.  
  234. format-disconnected =
  235. ;format-disconnected = <label-disconnected>
  236. ;format-disconnected-underline = ${self.format-connected-underline}
  237. ;label-disconnected = %ifname% disconnected
  238. ;label-disconnected-foreground = ${colors.foreground-alt}
  239.  
  240. [module/date]
  241. type = internal/date
  242. interval = 5
  243.  
  244. date = "%m-%d-%Y"
  245. date-alt = " %Y-%m-%d"
  246.  
  247. time = %I:%M
  248.  
  249. format-prefix = 
  250. format-prefix-foreground = ${colors.foreground-alt}
  251. format-underline = ${xrdb:color2:#222}
  252.  
  253. label = %date% %time%
  254.  
  255. [module/pulseaudio]
  256. type = internal/pulseaudio
  257.  
  258. format-volume = <label-volume> <bar-volume>
  259. label-volume = VOL %percentage%%
  260. label-volume-foreground = ${root.foreground}
  261.  
  262. label-muted = 🔇 muted
  263. label-muted-foreground = #666
  264.  
  265. bar-volume-width = 10
  266. bar-volume-foreground-0 = #55aa55
  267. bar-volume-foreground-1 = #55aa55
  268. bar-volume-foreground-2 = #55aa55
  269. bar-volume-foreground-3 = #55aa55
  270. bar-volume-foreground-4 = #55aa55
  271. bar-volume-foreground-5 = #f5a70a
  272. bar-volume-foreground-6 = #ff5555
  273. bar-volume-gradient = false
  274. bar-volume-indicator = |
  275. bar-volume-indicator-font = 2
  276. bar-volume-fill = ─
  277. bar-volume-fill-font = 2
  278. bar-volume-empty = ─
  279. bar-volume-empty-font = 2
  280. bar-volume-empty-foreground = ${colors.foreground-alt}
  281.  
  282. [module/alsa]
  283. type = internal/alsa
  284.  
  285. format-volume = <label-volume> <bar-volume>
  286. label-volume = VOL
  287. label-volume-foreground = ${root.foreground}
  288.  
  289. format-muted-prefix = " "
  290. format-muted-foreground = ${colors.foreground-alt}
  291. label-muted = sound muted
  292.  
  293. bar-volume-width = 10
  294. bar-volume-foreground-0 = #55aa55
  295. bar-volume-foreground-1 = #55aa55
  296. bar-volume-foreground-2 = #55aa55
  297. bar-volume-foreground-3 = #55aa55
  298. bar-volume-foreground-4 = #55aa55
  299. bar-volume-foreground-5 = #f5a70a
  300. bar-volume-foreground-6 = #ff5555
  301. bar-volume-gradient = false
  302. bar-volume-indicator = |
  303. bar-volume-indicator-font = 2
  304. bar-volume-fill = ─
  305. bar-volume-fill-font = 2
  306. bar-volume-empty = ─
  307. bar-volume-empty-font = 2
  308. bar-volume-empty-foreground = ${colors.foreground-alt}
  309.  
  310. [module/battery]
  311. type = internal/battery
  312. battery = BAT0
  313. adapter = AC
  314. full-at = 98
  315.  
  316. format-charging = <animation-charging> <label-charging>
  317. format-charging-underline = ${xrdb:color1:#222}
  318.  
  319. format-discharging = <animation-discharging> <label-discharging>
  320. format-discharging-underline = ${self.format-charging-underline}
  321.  
  322. format-full-prefix = " "
  323. format-full-prefix-foreground = ${colors.foreground-alt}
  324. format-full-underline = ${self.format-charging-underline}
  325.  
  326. ramp-capacity-0 = 
  327. ramp-capacity-1 = 
  328. ramp-capacity-2 = 
  329. ramp-capacity-foreground = ${colors.foreground-alt}
  330.  
  331. animation-charging-0 = 
  332. animation-charging-1 = 
  333. animation-charging-2 = 
  334. animation-charging-foreground = ${colors.foreground-alt}
  335. animation-charging-framerate = 750
  336.  
  337. animation-discharging-0 = 
  338. animation-discharging-1 = 
  339. animation-discharging-2 = 
  340. animation-discharging-foreground = ${colors.foreground-alt}
  341. animation-discharging-framerate = 750
  342.  
  343. [module/temperature]
  344. type = internal/temperature
  345. thermal-zone = 0
  346. warn-temperature = 60
  347.  
  348. format = <ramp> <label>
  349. format-underline = ${xrdb:color1:#222}
  350. format-warn = <ramp> <label-warn>
  351. format-warn-underline = ${self.format-underline}
  352.  
  353. label = %temperature-c%
  354. label-warn = %temperature-c%
  355. label-warn-foreground = ${colors.secondary}
  356.  
  357. ramp-0 = 
  358. ramp-1 = 
  359. ramp-2 = 
  360. ramp-foreground = ${colors.foreground-alt}
  361.  
  362. [module/powermenu]
  363. type = custom/menu
  364.  
  365. expand-right = true
  366.  
  367. format-spacing = 1
  368.  
  369. label-open = 
  370. label-open-foreground = ${colors.secondary}
  371. label-close =  cancel
  372. label-close-foreground = ${colors.secondary}
  373. label-separator = |
  374. label-separator-foreground = ${colors.foreground-alt}
  375.  
  376. menu-0-0 = reboot
  377. menu-0-0-exec = menu-open-1
  378. menu-0-1 = power off
  379. menu-0-1-exec = menu-open-2
  380.  
  381. menu-1-0 = cancel
  382. menu-1-0-exec = menu-open-0
  383. menu-1-1 = reboot
  384. menu-1-1-exec = sudo reboot
  385.  
  386. menu-2-0 = power off
  387. menu-2-0-exec = sudo poweroff
  388. menu-2-1 = cancel
  389. menu-2-1-exec = menu-open-0
  390.  
  391. [settings]
  392. screenchange-reload = true
  393. ;compositing-background = xor
  394. ;compositing-background = screen
  395. ;compositing-foreground = source
  396. ;compositing-border = over
  397. ;pseudo-transparency = false
  398.  
  399. [global/wm]
  400. margin-top = 5
  401. margin-bottom = 5
  402.  
  403. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement