Advertisement
Guest User

Untitled

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