Advertisement
Guest User

Untitled

a guest
Jan 4th, 2019
1,423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 11.99 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 = #2F343F
  22. background-alt = #444
  23. ;foreground = ${xrdb:color7:#222}
  24. foreground = #dfdfdf
  25. foreground-alt = #555
  26. primary = #BF616A
  27. secondary = #498889
  28. alert = #bd2c40
  29.  
  30. [bar/example]
  31. ;monitor = ${env:MONITOR:HDMI-1}
  32. width = 100%
  33. height = 24
  34. ;offset-x = 1%
  35. ;offset-y = 1%
  36. radius = 4.0
  37. fixed-center = false
  38.  
  39. background = ${colors.background}
  40. foreground = ${colors.foreground}
  41.  
  42. line-size = 3
  43. line-color = #f00
  44.  
  45. border-size = 1
  46. border-color = #00000000
  47.  
  48. padding-left = 0
  49. padding-right = 2
  50.  
  51. module-margin-left = 1
  52. module-margin-right = 2
  53.  
  54. ;font-0 = fixed:pixelsize=10;1
  55. font-0 = Fantasque Sans Mono:size=10;1
  56. font-1 = Font Awesome 5:size=10;1
  57. font-2 = Weather Icons:size=10;1
  58.  
  59.  
  60. locale = es_MX.UTF-8
  61.  
  62. ;=====================================
  63. ; MODULOS ACTIVOS Y SU POSICIÓN
  64. ;=====================================
  65. modules-left = i3 xwindow
  66. modules-center =
  67. ; modules-right = pulseaudio filesystem memory cpu clima date
  68. modules-right = clima date
  69.  
  70. tray-position = right
  71. tray-padding = 0
  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. ;===============================
  89. ;CONFIGURACIÓN DE LOS MÓDULOS
  90. ;===============================
  91.  
  92. [module/xwindow]
  93. ;Muestra el nombre de la ventana con el foco
  94. type = internal/xwindow
  95. label = %title:0:60:...%
  96.  
  97. [module/xkeyboard]
  98. ;Muestra la distribución del teclado
  99. type = internal/xkeyboard
  100. blacklist-0 = num lock
  101.  
  102. format-prefix = " "
  103. format-prefix-foreground = ${colors.foreground-alt}
  104. format-prefix-underline = ${colors.secondary}
  105.  
  106. label-layout = %layout%
  107. label-layout-underline = ${colors.secondary}
  108.  
  109. label-indicator-padding = 2
  110. label-indicator-margin = 1
  111. label-indicator-background = ${colors.secondary}
  112. label-indicator-underline = ${colors.secondary}
  113.  
  114. [module/filesystem]
  115. ;Muestra el espacio libre de /home
  116. type = internal/fs
  117. interval = 25
  118.  
  119. ;cambiar a la partición que se desee
  120. mount-0 = /home
  121.  
  122. label-mounted = HDD: %percentage_free%%
  123. label-unmounted = %mountpoint% not mounted
  124. label-unmounted-foreground = ${colors.foreground-alt}
  125.  
  126. [module/bspwm]
  127. type = internal/bspwm
  128.  
  129. label-focused = %index%
  130. label-focused-background = ${colors.background-alt}
  131. label-focused-underline= ${colors.primary}
  132. label-focused-padding = 2
  133.  
  134. label-occupied = %index%
  135. label-occupied-padding = 2
  136.  
  137. label-urgent = %index%!
  138. label-urgent-background = ${colors.alert}
  139. label-urgent-padding = 2
  140.  
  141. label-empty = %index%
  142. label-empty-foreground = ${colors.foreground-alt}
  143. label-empty-padding = 2
  144.  
  145. ; Separator in between workspaces
  146. ; label-separator = |
  147.  
  148. [module/i3]
  149. type = internal/i3
  150. format = <label-state> <label-mode>
  151. index-sort = true
  152. wrapping-scroll = false
  153.  
  154. ; Only show workspaces on the same output as the bar
  155. ;pin-workspaces = true
  156.  
  157. label-mode-padding = 1
  158. label-mode-foreground = #000
  159. label-mode-background = ${colors.primary}
  160.  
  161. ; focused = Active workspace on focused monitor
  162. label-focused = %index%
  163. label-focused-background = ${module/bspwm.label-focused-background}
  164. label-focused-underline = ${module/bspwm.label-focused-underline}
  165. label-focused-padding = ${module/bspwm.label-focused-padding}
  166.  
  167. ; unfocused = Inactive workspace on any monitor
  168. label-unfocused = %index%
  169. label-unfocused-padding = ${module/bspwm.label-occupied-padding}
  170.  
  171. ; visible = Active workspace on unfocused monitor
  172. label-visible = %index%
  173. label-visible-background = ${self.label-focused-background}
  174. label-visible-underline = ${self.label-focused-underline}
  175. label-visible-padding = ${self.label-focused-padding}
  176.  
  177. ; urgent = Workspace with urgency hint set
  178. label-urgent = %index%
  179. label-urgent-background = ${module/bspwm.label-urgent-background}
  180. label-urgent-padding = ${module/bspwm.label-urgent-padding}
  181.  
  182. ; Separator in between workspaces
  183. ; label-separator = |
  184.  
  185.  
  186. [module/mpd]
  187. ;Muestra la canción que se está reproduciendo con MPD
  188. type = internal/mpd
  189. format-online = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next>
  190.  
  191. icon-prev =
  192. icon-stop =
  193. icon-play =
  194. icon-pause =
  195. icon-next =
  196.  
  197. label-song-maxlen = 25
  198. label-song-ellipsis = true
  199.  
  200. [module/xbacklight]
  201. ;Muestra el brillo de la pantalla. Solo para laptops
  202. type = internal/xbacklight
  203.  
  204. format = <label> <bar>
  205. label = BL
  206.  
  207. bar-width = 10
  208. bar-indicator = |
  209. bar-indicator-foreground = #fff
  210. bar-indicator-font = 2
  211. bar-fill =
  212. bar-fill-font = 2
  213. bar-fill-foreground = #9f78e1
  214. bar-empty =
  215. bar-empty-font = 2
  216. bar-empty-foreground = ${colors.foreground-alt}
  217.  
  218. [module/backlight-acpi]
  219. inherit = module/xbacklight
  220. type = internal/backlight
  221. card = intel_backlight
  222.  
  223. [module/cpu]
  224. ;Muestra el uso de CPU
  225. type = internal/cpu
  226. interval = 2
  227. format-prefix = " "
  228. format-prefix-foreground = ${colors.foreground-alt}
  229. ;format-underline = #f90000
  230. label =CPU: %percentage:2%%
  231.  
  232. [module/memory]
  233. ;Mustra el cosumo de RAM
  234. type = internal/memory
  235. interval = 2
  236. format = <label>
  237. format-prefix = " "
  238. format-prefix-foreground = ${colors.foreground-alt}
  239. ;format-underline = #4bffdc
  240. label = RAM: %percentage_used%%
  241.  
  242. [module/wlan]
  243. type = internal/network
  244. interface = net1
  245. interval = 3.0
  246.  
  247. format-connected = <ramp-signal> <label-connected>
  248. format-connected-underline = #9f78e1
  249. label-connected = %essid%
  250.  
  251. format-disconnected =
  252. ;format-disconnected = <label-disconnected>
  253. ;format-disconnected-underline = ${self.format-connected-underline}
  254. ;label-disconnected = %ifname% disconnected
  255. ;label-disconnected-foreground = ${colors.foreground-alt}
  256.  
  257. ramp-signal-0 =
  258. ramp-signal-1 =
  259. ramp-signal-2 =
  260. ramp-signal-3 =
  261. ramp-signal-4 =
  262. ramp-signal-foreground = ${colors.foreground-alt}
  263.  
  264. [module/eth]
  265. type = internal/network
  266. interface = eno1
  267. interval = 3.0
  268.  
  269. format-connected-underline = #55aa55
  270. format-connected-prefix = " "
  271. format-connected-prefix-foreground = ${colors.foreground-alt}
  272. label-connected = %local_ip%
  273.  
  274. format-disconnected =
  275. ;format-disconnected = <label-disconnected>
  276. ;format-disconnected-underline = ${self.format-connected-underline}
  277. ;label-disconnected = %ifname% disconnected
  278. ;label-disconnected-foreground = ${colors.foreground-alt}
  279.  
  280. [module/date]
  281. ;Muestra la fecha (date) y hora (time)
  282. type = internal/date
  283. interval = 5
  284.  
  285.  
  286.  
  287. date = "%b %e, "
  288. date-alt = "%A %e de %B de %Y, "
  289.  
  290. time = %H:%M
  291. time-alt = %H:%M:%S
  292.  
  293. format-prefix =
  294. format-prefix-foreground = ${colors.foreground-alt}
  295. ;format-underline = #0a6cf5
  296.  
  297. label = %date% %time%
  298.  
  299. [module/pulseaudio]
  300. ;Muestra el volumen
  301. type = internal/pulseaudio
  302.  
  303. format-volume = <ramp-volume> <label-volume>
  304. label-volume = VOL %percentage%%
  305. label-volume-foreground = ${root.foreground}
  306.  
  307.  
  308. label-muted = VOL %percentage%%
  309. label-muted-foreground = #666
  310.  
  311. bar-volume-width = 100
  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. ;ramp-volume-font = 5
  329. ramp-volume-0 =
  330. ramp-volume-1 =
  331. ramp-volume-2 =
  332. ramp-volume-3 =
  333. ramp-volume-4 =
  334. ramp-volume-5 =
  335. ramp-volume-6 =
  336.  
  337. [module/alsa]
  338. type = internal/alsa
  339.  
  340. format-volume = <label-volume> <bar-volume>
  341. label-volume = VOL
  342. label-volume-foreground = ${root.foreground}
  343.  
  344. format-muted-prefix = " "
  345. format-muted-foreground = ${colors.foreground-alt}
  346. label-muted = sound muted
  347.  
  348. bar-volume-width = 10
  349. bar-volume-foreground-0 = #55aa55
  350. bar-volume-foreground-1 = #55aa55
  351. bar-volume-foreground-2 = #55aa55
  352. bar-volume-foreground-3 = #55aa55
  353. bar-volume-foreground-4 = #55aa55
  354. bar-volume-foreground-5 = #f5a70a
  355. bar-volume-foreground-6 = #ff5555
  356. bar-volume-gradient = false
  357. bar-volume-indicator = |
  358. bar-volume-indicator-font = 2
  359. bar-volume-fill =
  360. bar-volume-fill-font = 2
  361. bar-volume-empty =
  362. bar-volume-empty-font = 2
  363. bar-volume-empty-foreground = ${colors.foreground-alt}
  364.  
  365. [module/battery]
  366. type = internal/battery
  367. battery = BAT0
  368. adapter = ADP1
  369. full-at = 98
  370.  
  371. format-charging = <animation-charging> <label-charging>
  372. format-charging-underline = #ffb52a
  373.  
  374. format-discharging = <animation-discharging> <label-discharging>
  375. format-discharging-underline = ${self.format-charging-underline}
  376.  
  377. format-full-prefix = " "
  378. format-full-prefix-foreground = ${colors.foreground-alt}
  379. format-full-underline = ${self.format-charging-underline}
  380.  
  381. ramp-capacity-0 =
  382. ramp-capacity-1 =
  383. ramp-capacity-2 =
  384. ramp-capacity-foreground = ${colors.foreground-alt}
  385.  
  386. animation-charging-0 =
  387. animation-charging-1 =
  388. animation-charging-2 =
  389. animation-charging-foreground = ${colors.foreground-alt}
  390. animation-charging-framerate = 750
  391.  
  392. animation-discharging-0 =
  393. animation-discharging-1 =
  394. animation-discharging-2 =
  395. animation-discharging-foreground = ${colors.foreground-alt}
  396. animation-discharging-framerate = 750
  397.  
  398. [module/temperature]
  399. type = internal/temperature
  400. thermal-zone = 0
  401. warn-temperature = 60
  402.  
  403. format = <ramp> <label>
  404. format-underline = #f50a4d
  405. format-warn = <ramp> <label-warn>
  406. format-warn-underline = ${self.format-underline}
  407.  
  408. label = %temperature-c%
  409. label-warn = %temperature-c%
  410. label-warn-foreground = ${colors.secondary}
  411.  
  412. ramp-0 =
  413. ramp-1 =
  414. ramp-2 =
  415. ramp-foreground = ${colors.foreground-alt}
  416.  
  417. [module/powermenu]
  418. type = custom/menu
  419.  
  420. expand-right = true
  421.  
  422. format-spacing = 1
  423.  
  424. label-open =
  425. label-open-foreground = ${colors.secondary}
  426. label-close =  cancel
  427. label-close-foreground = ${colors.secondary}
  428. label-separator = |
  429. label-separator-foreground = ${colors.foreground-alt}
  430.  
  431. menu-0-0 = reboot
  432. menu-0-0-exec = menu-open-1
  433. menu-0-1 = power off
  434. menu-0-1-exec = menu-open-2
  435.  
  436. menu-1-0 = cancel
  437. menu-1-0-exec = menu-open-0
  438. menu-1-1 = reboot
  439. menu-1-1-exec = sudo reboot
  440.  
  441. menu-2-0 = power off
  442. menu-2-0-exec = sudo poweroff
  443. menu-2-1 = cancel
  444. menu-2-1-exec = menu-open-0
  445.  
  446. [settings]
  447. screenchange-reload = true
  448. ;compositing-background = xor
  449. ;compositing-background = screen
  450. ;compositing-foreground = source
  451. ;compositing-border = over
  452. ;pseudo-transparency = false
  453.  
  454. [global/wm]
  455. margin-top = 5
  456. margin-bottom = 5
  457.  
  458. ; vim:ft=dosini
  459.  
  460. [module/clima]
  461. ;MUESTRA EL CLIMA
  462. type = custom/script
  463. exec = ~/scripts/openweathermap-fullfeatured.sh
  464. interval = 600
  465. label-font = 3
  466.  
  467. [module/arch]
  468. type = custom/text
  469. content =
  470. ;alt-icon = 
  471. content-padding = 2
  472. content-background = ${color.acolor}
  473. content-foreground = ${color.fg}
  474. click-left = rofi -show run
  475. click-middle = rfull
  476. click-right = rmenu_wi_g
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement