Advertisement
Guest User

polybar config

a guest
Apr 24th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [colors]
  2. bg          = ${xrdb:color0}
  3. lbg         = ${xrdb:color1}
  4. bg2         = ${xrdb:color2}
  5. lbg2        = ${xrdb:color3}
  6. idk1        = ${xrdb:color4}
  7. idk2        = ${xrdb:color5}
  8. idk3        = ${xrdb:color6}
  9. highlight   = ${xrdb:color7}
  10. primary     = ${xrdb:color8}
  11. warn        = ${xrdb:color9}
  12. executable  = ${xrdb:color10}
  13. secondary   = ${xrdb:color11}
  14. directory   = ${xrdb:color12}
  15. idk4        = ${xrdb:color13}
  16. symlink     = ${xrdb:color14}
  17. text        = ${xrdb:color15}
  18. transcol    = ${xrdb:transcol}
  19.  
  20. background  = ${colors.bg}
  21. foreground  = ${colors.text}
  22. red         = #ff0000
  23. yellow      = #ffff00
  24. green       = #00ff00
  25.  
  26. [module/blank]
  27. type = custom/text
  28. content = " "
  29.  
  30. [bar/top]
  31. bottom              = false
  32. override-redirect   = true
  33. wm-restack          = bspwm
  34. width               = 1244
  35. height              = 32
  36. offset-x            = 18
  37. offset-y            = 24
  38. radius              = 16
  39. module-margin       = 1
  40. separator           =
  41.  
  42. background  = ${colors.transcol}
  43. foreground  = ${colors.foreground}
  44.  
  45. font-0 = "Terminess Powerline:size=10;2"
  46. font-1 = "TerminessTTF Nerd Font Mono:pixelsize=21;4"
  47. font-2 = "TerminessTTF Nerd Font Mono:pixelsize=18;3"
  48. font-3 = "Unifont:pixelsize=0;3"
  49. font-4 = "IPAGothic:pixelsize=10:antialias=false;3"
  50.  
  51. modules-left = bspwm
  52. modules-center = mpd
  53. modules-right = volume network battery date
  54.  
  55. [module/bspwm]
  56. type = internal/bspwm
  57. enable-click = true
  58. enable-scroll = true
  59.  
  60. format = <label-state>
  61.  
  62. label-focused   = %icon%
  63. label-occupied  = %icon%
  64. label-urgent    = %icon%
  65. label-empty     = %icon%
  66.  
  67. label-focused-background    = ${colors.foreground}
  68. label-focused-foreground    = ${colors.background}
  69. label-occupied-foreground   = ${colors.idk3}
  70. label-urgent-background     = ${colors.idk3}
  71. label-urgent-foreground     = ${colors.background}
  72.  
  73. label-focused-padding   = 2
  74. label-occupied-padding  = 2
  75. label-urgent-padding    = 2
  76. label-empty-padding     = 2
  77.  
  78. ws-icon-0 = 0;%{T5}〇%{T-}
  79. ws-icon-1 = 1;%{T5} 一%{T-}
  80. ws-icon-2 = 2;%{T5}二%{T-}
  81. ws-icon-3 = 3;%{T5}三%{T-}
  82. ws-icon-4 = 4;%{T5}四%{T-}
  83. ws-icon-5 = 5;%{T5}五%{T-}
  84. ws-icon-6 = 6;%{T5}六%{T-}
  85. ws-icon-7 = 7;%{T5}七%{T-}
  86. ws-icon-8 = 8;%{T5}八%{T-}
  87. ws-icon-9 = 9;%{T5}九%{T-}
  88.  
  89. [module/date]
  90. type = internal/date
  91. interval = 1.0
  92. date = %a %b %d
  93. date-alt = %Y-%m-%d
  94. time = %H:%M
  95. time-alt = %H:%M:%S%
  96.  
  97. label = "%{T3}%{T-} %date% %{T5}%{R}「%{T-}%time%%{T5}」%{T-}"
  98. label-padding-right = 1
  99.  
  100.  
  101. [module/mpd]
  102. type = internal/mpd
  103.  
  104. format-offline      = <label-offline>
  105. label-offline       = %{T5}=◈︿◈=】%{T-}
  106.  
  107. format-online       = <label-song><toggle-stop>
  108. icon-stop           = " "
  109. icon-play           = %{T5}=◈︿◈=】%{T-}
  110.  
  111. [module/battery]
  112. type = internal/battery
  113.  
  114. battery             = BAT0
  115. adapter             = AC
  116. poll-interval       = 10
  117. label-charging      = %percentage%%
  118. label-discharging   = %percentage%%
  119. label-full          = %{T2}%{T-} FULL
  120. format-charging     = <animation-charging> <label-charging>
  121. format-discharging  = <ramp-capacity> <label-discharging>
  122.  
  123. ramp-capacity-0 = %{T2}%{T-}
  124. ramp-capacity-1 = %{T2}%{T-}
  125. ramp-capacity-2 = %{T2}%{T-}
  126. ramp-capacity-3 = %{T2}%{T-}
  127. ramp-capacity-4 = %{T2}%{T-}
  128.  
  129. animation-charging-0 = %{T2}%{T-}
  130. animation-charging-1 = %{T2}%{T-}
  131. animation-charging-2 = %{T2}%{T-}
  132. animation-charging-3 = %{T2}%{T-}
  133. animation-charging-4 = %{T2}%{T-}
  134. animation-charging-framerate = 750
  135.  
  136. [module/volume]
  137. type = internal/volume
  138.  
  139. master-soundcard    = default
  140. speaker-soundcard   = default
  141. headphone-soundcard = default
  142. master-mixer        = Master
  143. speaker-mixer       = Speaker
  144. headphone-mixer     = Headphone
  145. headphone-id        = 3
  146.  
  147. format-volume   = <ramp-volume> <label-volume>
  148. label-volume    = %percentage%%
  149. label-muted     =
  150.  
  151. ramp-volume-0   =
  152. ramp-volume-1   =
  153. ramp-volume-2   =
  154.  
  155. ramp-headphones-0   =
  156. ramp-headphones-1   =
  157. ramp-headphones-2   =
  158.  
  159. [module/network]
  160. type        = internal/network
  161. interface   = wlp2s0
  162. interval    = 10
  163.  
  164. format-connected    = <label-connected>
  165. format-disconnected = <label-disconnected>
  166. label-connected     =  %signal%% %essid%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement