Advertisement
Guest User

Polybar redish powerline style

a guest
Jan 7th, 2019
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 15.38 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. ;============================
  20. ; CONFIGURACIONES GLOBALES
  21. ;============================
  22.  
  23. [colors]
  24. ; Declaración de colores
  25.  
  26. ;background = ${xrdb:color0:#222}
  27. background = #222
  28. background-alt = #444
  29. ;foreground = ${xrdb:color7:#222}
  30. foreground = #dfdfdf
  31. foreground-alt = #555
  32. primary = #BF616A
  33. secondary = #e60053
  34. alert = #238792
  35.  
  36. ;=============================
  37. ; CONFIGURACIÓN DEL PANEL
  38. ;=============================
  39.  
  40. [bar/example]
  41. ;monitor = ${env:MONITOR:HDMI-1}
  42. width = 100% ;largo
  43. height = 24 ;ancho
  44. ;offset-x = 1%
  45. ;offset-y = 1%
  46. radius = 0
  47. fixed-center = false ;no tengo idea
  48. enable-ipc = true
  49.  
  50. ;fondo del panel
  51. background = #2F343F
  52. foreground = ${colors.foreground}
  53.  
  54. ;linea que aparece cuando se activa la opción underline
  55. line-size = 2
  56. line-color = #f00
  57.  
  58. ;separación respecto a la parte superior de la pantalla
  59. border-size = 1
  60. border-color = #FFFFFF ;los primeros dos números indican el canal alfa
  61.  
  62. ;separación de la izquierda y derecha
  63. padding-left = 0
  64. padding-right = 0
  65.  
  66. ;separación entre módulos
  67. module-margin-left = 0
  68. module-margin-right = 0
  69.  
  70. ;========================================
  71. ; FUENTES
  72. ;========================================
  73.  
  74. font-0 = Fantasque Sans Mono:size=10;1
  75. ;font-1 = Font Awesome 5 Free Solid:style=Solid:pixelsize=10:antialias=true;1
  76. font-1 = Material Design Icons:style=Regular:pixelsize=12;1
  77. ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  78. ;font-2 = siji:pixelsize=10;1
  79. font-2 = Powerline Extra Symbols:style=Regular:size=16;3
  80.  
  81. ;=========================================
  82.  
  83. ;muestra la fecha en español
  84. locale = es_MX.UTF-8
  85.  
  86. ;========================
  87. ; ORDEN DE LOS MÓDULOS
  88. ;========================
  89.  
  90. ;posición de los módulos
  91. modules-left = i3 sep-i3
  92. modules-center =
  93. modules-right = sep-spo spotify sep-vol pulseaudio sep-date date sep-tray
  94.  
  95. ;posición de la bandeja de notificaciones
  96. tray-position = right
  97. tray-padding = 2
  98. ;tray-background = #bf6a87
  99. tray-background = #bf6a87
  100. ;no sepo
  101. ;wm-restack = bspwm
  102. ;wm-restack = i3
  103. ;override-redirect = true
  104.  
  105. ;cosas para bspwn que no se
  106. ;scroll-up = bspwm-desknext
  107. ;scroll-down = bspwm-deskprev
  108.  
  109. ;cambiar de escritorio con la mousewheel
  110. ;scroll-up = i3wm-wsnext
  111. ;scroll-down = i3wm-wsprev
  112.  
  113. cursor-click = pointer
  114. cursor-scroll = ns-resize
  115.  
  116. ;============
  117. ; MÓDULOS
  118. ;============
  119.  
  120. ;=========  xwindow ======================
  121. [module/xwindow]
  122. ;muestra el nombre de la ventana activa
  123. type = internal/xwindow
  124. label = %title:0:30:...%
  125.  
  126. ;==========================================
  127.  
  128. ;==============  xkeyboard  ===============
  129. [module/xkeyboard]
  130. ;muestra la distribución del teclado y si está activo capslock
  131. type = internal/xkeyboard
  132. blacklist-0 = num lock
  133.  
  134. format-prefix =
  135. format-prefix-foreground = ${colors.foreground-alt}
  136. format-prefix-underline = ${colors.secondary}
  137.  
  138. label-layout = %layout%
  139. label-layout-underline = ${colors.secondary}
  140.  
  141. label-indicator-padding = 2
  142. label-indicator-margin = 1
  143. label-indicator-background = ${colors.secondary}
  144. label-indicator-underline = ${colors.secondary}
  145.  
  146. ;=========================================
  147.  
  148. ;===========  filesystem  ================
  149. [module/filesystem]
  150. type = internal/fs
  151. interval = 25
  152.  
  153. mount-0 = /home
  154.  
  155. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  156. label-unmounted = %mountpoint% not mounted
  157. label-unmounted-foreground = ${colors.foreground-alt}
  158.  
  159. ;=========================================
  160.  
  161. ;;===============  bspwn  =======================
  162. [module/bspwm]
  163. type = internal/bspwm
  164.  
  165. label-focused = %index%
  166. label-focused-background = ${colors.background-alt}
  167. label-focused-underline= ${colors.primary}
  168. label-focused-padding = 2
  169.  
  170. label-occupied = %index%
  171. label-occupied-padding = 2
  172.  
  173. label-urgent = %index%!
  174. label-urgent-background = ${colors.alert}
  175. label-urgent-padding = 2
  176.  
  177. label-empty = %index%
  178. label-empty-foreground = ${colors.foreground-alt}
  179. label-empty-padding = 2
  180.  
  181. ; Separator in between workspaces
  182. ; label-separator = |
  183.  
  184. ;===============================================
  185.  
  186. ;==============  i3  =====================
  187.  
  188. [module/i3]
  189. ;muestra los escritorios de i3
  190. type = internal/i3
  191. format = <label-state> <label-mode>
  192. index-sort = false
  193. wrapping-scroll = false
  194. format-background= #8b484e
  195.  
  196. ;smlo mostrar escritorios en la misma salida que el panel
  197. ;pin-workspaces = true
  198.  
  199. label-mode-padding = 1
  200. label-mode-foreground = #FFF
  201. label-mode-background =
  202.  
  203.  
  204. ; focused = Active workspace on focused monitor
  205. label-focused = %name%
  206. ;label-focused-background = ${module/bspwm.label-focused-background}
  207. label-focused-background =
  208. label-focused-underline =  #238792
  209. label-focused-padding = ${module/bspwm.label-focused-padding}
  210.  
  211. ; unfocused = Inactive workspace on any monitor
  212. label-unfocused = %name%
  213. label-unfocused-padding = ${module/bspwm.label-occupied-padding}
  214. labl-unfocused-background =
  215.  
  216.  
  217. ; visible = Active workspace on unfocused monitor
  218. label-visible = %name%
  219. label-visible-background =
  220. label-visible-underline = ${self.label-focused-underline}
  221. label-visible-padding = ${self.label-focused-padding}
  222.  
  223. ; urgent = Workspace with urgency hint set
  224. label-urgent = %name%
  225. label-urgent-background = ${module/bspwm.label-urgent-background}
  226. label-urgent-padding = ${module/bspwm.label-urgent-padding}
  227.  
  228. ; Separator in between workspaces
  229. ;label-separator ="%{T3} %{T-}"
  230.  
  231. ;=========================================
  232.  
  233. ;============== mpd ================
  234. [module/mpd]
  235. ;muestra información de la música con mpd
  236. type = internal/mpd
  237. format-online = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next> ;formato que queremos se muestre
  238.  
  239. icon-prev =
  240. icon-stop =
  241. icon-play =
  242. icon-pause =
  243. icon-next =
  244.  
  245. label-song-maxlen = 25
  246. label-song-ellipsis = true
  247.  
  248. ;=================================
  249.  
  250. ;=========  xbacklight  ============
  251. [module/xbacklight]
  252. ;brillo de la pantalla. solo laps
  253. type = internal/xbacklight
  254.  
  255. format = <label> <bar>
  256. label = BL
  257.  
  258. bar-width = 10
  259. bar-indicator = |
  260. bar-indicator-foreground = #fff
  261. bar-indicator-font = 2
  262. bar-fill =
  263. bar-fill-font = 2
  264. bar-fill-foreground = #9f78e1
  265. bar-empty =
  266. bar-empty-font = 2
  267. bar-empty-foreground = ${colors.foreground-alt}
  268.  
  269. ;=================================
  270.  
  271. ;========  backlight-acpi  ============
  272. [module/backlight-acpi]
  273. ;ni idea que hace
  274. inherit = module/xbacklight
  275. type = internal/backlight
  276. card = intel_backlight
  277.  
  278. ;=====================================
  279.  
  280. ;======== cpu  ==============
  281. [module/cpu]
  282. ;muestra el consumo de cpu
  283. type = internal/cpu
  284. interval = 2
  285. format-prefix = " "
  286. format-prefix-foreground = ${colors.foreground}
  287. format-underline = #f90000
  288. label = %percentage:2%%
  289.  
  290. ;=========  ram  ===============
  291. [module/memory]
  292. ;muestra el consumo de ram
  293. type = internal/memory
  294. interval = 2
  295. format-prefix = " "
  296. format-prefix-foreground = ${colors.foreground}
  297. format-underline = #4bffdc
  298. label = %percentage_used%%
  299.  
  300. ;===============================
  301.  
  302. ;========  wlan  =====================
  303. [module/wlan]
  304. ;wifi
  305. type = internal/network
  306. interface = net1
  307. interval = 3.0
  308.  
  309. format-connected = <ramp-signal> <label-connected>
  310. format-connected-underline = #9f78e1
  311. label-connected = %essid%
  312.  
  313. format-disconnected =
  314. ;format-disconnected = <label-disconnected>
  315. ;format-disconnected-underline = ${self.format-connected-underline}
  316. ;label-disconnected = %ifname% disconnected
  317. ;label-disconnected-foreground = ${colors.foreground-alt}
  318.  
  319. ramp-signal-0 =
  320. ramp-signal-1 =
  321. ramp-signal-2 =
  322. ramp-signal-3 =
  323. ramp-signal-4 =
  324. ramp-signal-foreground = ${colors.foreground-alt}
  325.  
  326. ;====================================
  327.  
  328. ;============  ethernet  ==============
  329. [module/eth]
  330. ;ethernet
  331. type = internal/network
  332. interface = eno1
  333. interval = 3.0
  334.  
  335. format-connected-underline = #55aa55
  336. format-connected-prefix = " "
  337. format-connected-prefix-foreground = ${colors.foreground-alt}
  338. label-connected = %local_ip%
  339.  
  340. format-disconnected =
  341. ;format-disconnected = <label-disconnected>
  342. ;format-disconnected-underline = ${self.format-connected-underline}
  343. ;label-disconnected = %ifname% disconnected
  344. ;label-disconnected-foreground = ${colors.foreground-alt}
  345.  
  346. ;=====================================
  347.  
  348. ;===========  date  ===============
  349. [module/date]
  350. ;muestra la fecha
  351. type = internal/date
  352. interval = 1
  353.  
  354. date ="%b %e, "
  355. date-alt = "%A %e de %B de %Y, "
  356.  
  357. time = %H:%M
  358. time-alt = %H:%M:%S
  359.  
  360. format-prefix =
  361. format-prefix-foreground = ${colors.foreground-alt}
  362. ;format-underline = #0a6cf5
  363.  
  364. label = %date% %time%
  365. format-background = #aa5671
  366. label-foreground = ${root.foreground}
  367.  
  368.  
  369.  
  370. ;=================================
  371.  
  372. ;===========  pulseaudio  =================
  373. [module/pulseaudio]
  374. ;muestra el volumen
  375. type = internal/pulseaudio
  376.  
  377. format-volume = <ramp-volume> <label-volume>
  378. label-volume = %percentage%%
  379. label-volume-foreground = ${root.foreground}
  380. ;format-volume-underline = #F7923A
  381.  
  382. label-muted =  %percentage%%
  383. label-muted-foreground = #666
  384.  
  385. bar-volume-width = 10
  386. bar-volume-foreground-0 = #55aa55
  387. bar-volume-foreground-1 = #55aa55
  388. bar-volume-foreground-2 = #55aa55
  389. bar-volume-foreground-3 = #55aa55
  390. bar-volume-foreground-4 = #55aa55
  391. bar-volume-foreground-5 = #f5a70a
  392. bar-volume-foreground-6 = #ff5555
  393. bar-volume-gradient = false
  394. bar-volume-indicator = |
  395. bar-volume-indicator-font = 2
  396. bar-volume-fill =
  397. bar-volume-fill-font = 2
  398. bar-volume-empty =
  399. bar-volume-empty-font = 2
  400. bar-volume-empty-foreground = ${colors.foreground-alt}
  401.  
  402. ramp-volume-0 =
  403. ramp-volume-1 =
  404. ramp-volume-2 =
  405.  
  406. format-volume-background =  #8b484e
  407. ;========================================
  408.  
  409. ;============  alsa  ================
  410. [mkdule/alsa]
  411. ;muestra el volumen con alsa
  412. type = internal/alsa
  413.  
  414. format-volume = <label-volume> <bar-volume>
  415. label-volume = VOL
  416. label-volume-foreground = ${root.foreground}
  417.  
  418. format-muted-prefix = " "
  419. format-muted-foreground = ${colors.foreground-alt}
  420. label-muted = sound muted
  421.  
  422. bar-volume-width = 10
  423. bar-volume-foreground-0 = #55aa55
  424. bar-volume-foreground-1 = #55aa55
  425. bar-volume-foreground-2 = #55aa55
  426. bar-volume-foreground-3 = #55aa55
  427. bar-volume-foreground-4 = #55aa55
  428. bar-volume-foreground-5 = #f5a70a
  429. bar-volume-foreground-6 = #ff5555
  430. bar-volume-gradient = false
  431. bar-volume-indicator = |
  432. bar-volume-indicator-font = 2
  433. bar-volume-fill =
  434. bar-volume-fill-font = 2
  435. bar-volume-empty =
  436. bar-volume-empty-font = 2
  437. bar-volume-empty-foreground = ${colors.foreground-alt}
  438.  
  439. ;===================================
  440.  
  441. ;===========  batery  =================
  442. [module/battery]
  443. ;bateria
  444. type = internal/battery
  445. battery = BAT0
  446. adapter = ADP1
  447. full-at = 98
  448.  
  449. format-charging = <animation-charging> <label-charging>
  450. format-charging-underline = #ffb52a
  451.  
  452. format-discharging = <animation-discharging> <label-discharging>
  453. format-discharging-underline = ${self.format-charging-underline}
  454.  
  455. format-full-prefix = " "
  456. format-full-prefix-foreground = ${colors.foreground-alt}
  457. format-full-underline = ${self.format-charging-underline}
  458.  
  459. ramp-capacity-0 =
  460. ramp-capacity-1 =
  461. ramp-capacity-2 =
  462. ramp-capacity-foreground = ${colors.foreground-alt}
  463.  
  464. animation-charging-0 =
  465. animation-charging-1 =
  466. animation-charging-2 =
  467. animation-charging-foreground = ${colors.foreground-alt}
  468. animation-charging-framerate = 750
  469.  
  470. animation-discharging-0 =
  471. animation-discharging-1 =
  472. animation-discharging-2 =
  473. animation-discharging-foreground = ${colors.foreground-alt}
  474. animation-discharging-framerate = 750
  475.  
  476. ;=================================
  477.  
  478. ;==============  temperature  ==================
  479. [module/temperature]
  480. ;temperatura del sistema
  481. type = internal/temperature
  482. thermal-zone = 0
  483. warn-temperature = 60
  484.  
  485. format = <ramp> <label>
  486. format-underline = #f50a4d
  487. format-warn = <ramp> <label-warn>
  488. format-warn-underline = ${self.format-underline}
  489.  
  490. label = %temperature-c%
  491. label-warn = %temperature-c%
  492. label-warn-foreground = ${colors.secondary}
  493.  
  494. ramp-0 =
  495. ramp-1 =
  496. ramp-2 =
  497. ramp-foreground = ${colors.foreground-alt}
  498.  
  499. ;=============================================
  500.  
  501. ;===========  powermenu  =================
  502. [module/powermenu]
  503. ;menu de apagado
  504. type = custom/menu
  505.  
  506. expand-right = true
  507.  
  508. format-spacing = 1
  509.  
  510. label-open =
  511. label-open-foreground = ${colors.secondary}
  512. label-close =  cancel
  513. label-close-foreground = ${colors.secondary}
  514. label-separator = |
  515. label-separator-foreground = ${colors.foreground-alt}
  516.  
  517. menu-0-0 = reboot
  518. menu-0-0-exec = menu-open-1
  519. menu-0-1 = power off
  520. menu-0-1-exec = menu-open-2
  521.  
  522. menu-1-0 = cancel
  523. menu-1-0-exec = menu-open-0
  524. menu-1-1 = reboot
  525. menu-1-1-exec = sudo reboot
  526.  
  527. menu-2-0 = power off
  528. menu-2-0-exec = sudo poweroff
  529. menu-2-1 = cancel
  530. menu-2-1-exec = menu-open-0
  531.  
  532. ;======================================
  533.  
  534.  
  535. ;========= spotify =====================
  536. [module/spotify]
  537. ; muestra la información de spotify
  538. ; https://github.com/Jvanrhijn/polybar-spotify
  539. type = custom/script
  540. interval = 1
  541. format-prefix = " "
  542. format = <label>
  543. exec = python ~/.i3/polybar/scripts/spotify_status.py -f '{artist} - {song}'
  544. ;format-underline = #1db954
  545. format-background =  #99B898
  546. format-foreground = #FFFFFF
  547. ;======================================
  548.  
  549. ;============ powerline separador ===========
  550. [module/separador]
  551. ;separador
  552.  
  553.  
  554. [settings]
  555. screenchange-reload = true
  556. ;compositing-background = xor
  557. ;compositing-background = screen
  558. ;compositing-foreground = source
  559. ;compositing-border = over
  560. pseudo-transparency = true
  561.  
  562. [global/wm]
  563. margin-top = 5
  564. margin-bottom = 5
  565.  
  566. ; vim:ft=dosini
  567.  
  568.  
  569. [module/sep-date]
  570. type = custom/text
  571. content = "%{T3} %{T-}"
  572. content-font = 3
  573. content-foreground =  #aa5671
  574. content-background = #8b484e
  575.  
  576. [module/sep-tray]
  577. type = custom/text
  578. content = "%{T3} %{T-}"
  579. content-font = 3
  580. content-foreground = #bf6a87
  581. content-background =  #aa5671
  582.  
  583.  
  584. [module/sep-vol]
  585. type = custom/text
  586. content = "%{T3} %{T-}"
  587. content-font = 3
  588. content-foreground = #8b484e
  589. content-background = #99B898
  590.  
  591. [module/sep-spo]
  592. type = custom/text
  593. content = "%{T3} %{T-}"
  594. content-font = 3
  595. content-foreground = #99B898
  596. content-background = #2F343F
  597.  
  598. [module/sep-i3]
  599. type = custom/text
  600. content ="%{T3}%{T-}"
  601. content-font = 3
  602. content-foreground =  #8b484e
  603. content-background =  
  604.  
  605.  
  606.  
  607. ;vol= #8b484e
  608.  
  609. ;date=
  610. ;tray=  #CC527A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement