Advertisement
Guest User

Untitled

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