My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. [colors]
  2. background = ${xrdb:color0}
  3. background-alt = ${xrdb:color1}
  4. foreground = ${xrdb:color5}
  5. foreground-alt = ${xrdb:color4}
  6. primary = #ffb52a
  7. secondary = #e60053
  8. alert = ${xrdb:color2}
  9. [bar/top-bar]
  10. monitor = ${env:MONITOR:}
  11. width = 100%
  12. height = 24
  13. radius = 0.0
  14. fixed-center = true
  15. tray-position = right
  16. background = ${colors.background}
  17. foreground = ${colors.foreground}
  18. border-size = 0
  19. padding-left = 0
  20. padding-right = 2
  21. module-margin-left = 1
  22. module-margin-right = 1
  23. font-0 = System San Francisco Display:size=13;0
  24. font-1 = FontAwesome:size=13;0
  25. modules-left = i3 music
  26. modules-center =
  27. modules-right = i3layout mail volume wlan eth powersaver battery date powermenu
  28. [module/i3]
  29. type = internal/i3
  30. format = <label-state>
  31. index-sort = true
  32. wrapping-scroll = false
  33. padding = 1
  34. ws-icon-0 = 1;: 
  35. ws-icon-1 = 2;: 
  36. ws-icon-2 = 3;: 
  37. label-focused = %name%%icon%
  38. label-focused-foreground = ${colors.foreground}
  39. label-focused-background = ${colors.background}
  40. label-focused-padding = ${self.padding}
  41. label-unfocused = %name%%icon%
  42. label-unfocused-foreground = ${colors.foreground-alt}
  43. label-unfocused-padding = ${self.padding}
  44. label-visible = %name%%icon%
  45. label-visible-background = ${self.label-focused-background}
  46. label-visible-padding = ${self.padding}
  47. label-urgent = %name%%icon%
  48. label-urgent-background = ${colors.alert}
  49. label-urgent-padding = ${self.padding}
  50. [module/wlan]
  51. type = internal/network
  52. interface = wlp3s0
  53. interval = 3.0
  54. format-connected-prefix = " "
  55. format-connected-prefix-foreground = ${colors.foreground-alt}
  56. format-connected = <label-connected>
  57. label-connected = %essid%
  58. format-disconnected-prefix = " "
  59. format-disconnected-prefix-foreground = ${colors.foreground-alt}
  60. format-disconnected = <label-disconnected>
  61. label-disconnected = Not Connected
  62. [module/eth]
  63. type = internal/network
  64. interface = enp0s25
  65. interval = 3.0
  66. format-connected-prefix = " "
  67. format-connected-prefix-foreground = ${colors.foreground-alt}
  68. format-connected = <label-connected>
  69. label-connected = %local_ip%
  70. format-disconnected =
  71. label-disconnected =
  72. [module/date]
  73. type = internal/date
  74. interval = 1
  75. date = " %b %d, %Y"
  76. date-alt = " %Y-%m-%d"
  77. time = %H:%M:%S
  78. time-alt = %H:%M:%S
  79. format-prefix = 
  80. format-prefix-foreground = ${colors.foreground-alt}
  81. format = <label>
  82. label = %date% %time%
  83. [module/volume]
  84. type = internal/volume
  85. format-volume-prefix = " "
  86. format-volume-prefix-foreground = ${colors.foreground-alt}
  87. format-volume = %{A3:pavucontrol&:}<label-volume>%{A}
  88. label-volume = %percentage%%
  89. format-muted-prefix = " "
  90. format-muted-prefix-foreground = ${colors.foreground-alt}
  91. format-muted = %{A3:pavucontrol&:}<label-muted>%{A}
  92. label-muted = 0%
  93. [module/music]
  94. type = custom/script
  95. exec = /home/micah/.config/polybar/scripts/music
  96. interval = 5
  97. format-prefix = "Now Playing: "
  98. format-prefix-foreground = ${colors.foreground-alt}
  99. format = <label>
  100. label = %output%
  101. [module/mail]
  102. type = custom/script
  103. exec = /home/micah/.config/polybar/scripts/mail
  104. interval = 5
  105. format-prefix = " "
  106. format-prefix-foreground = ${colors.foreground-alt}
  107. format = <label>
  108. label = %output%
  109. [module/powersaver]
  110. type = custom/script
  111. exec = /home/micah/.config/polybar/scripts/powersaver
  112. interval = 5
  113. format-foreground = ${colors.foreground-alt}
  114. format = <label>
  115. label = %output%
  116. [module/i3layout]
  117. type = custom/script
  118. exec = /home/micah/.config/polybar/scripts/layout
  119. interval = 1
  120. format-foreground = ${colors.foreground-alt}
  121. format = <label>
  122. label = %output%
  123. [module/battery]
  124. type = internal/battery
  125. battery = BAT0
  126. adapter = AC
  127. full-at = 98
  128. format-charging = <animation-charging> <label-charging>
  129. format-discharging = <ramp-capacity> <label-discharging>
  130. format-full-prefix = " "
  131. format-full-prefix-foreground = ${colors.foreground-alt}
  132. ramp-capacity-0 = 
  133. ramp-capacity-1 = 
  134. ramp-capacity-2 = 
  135. ramp-capacity-3 = 
  136. ramp-capacity-4 = 
  137. ramp-capacity-foreground = ${colors.foreground-alt}
  138. animation-charging-0 = 
  139. animation-charging-1 = 
  140. animation-charging-2 = 
  141. animation-charging-3 = 
  142. animation-charging-4 = 
  143. animation-charging-foreground = ${colors.foreground-alt}
  144. animation-charging-framerate = 750
  145. [module/powermenu]
  146. type = custom/menu
  147. format-spacing = 1
  148. label-open = 
  149. label-open-foreground = ${colors.secondary}
  150. label-close = 
  151. label-close-foreground = ${colors.secondary}
  152. label-separator = |
  153. label-separator-foreground = ${colors.foreground-alt}
  154. menu-0-0 = reboot
  155. menu-0-0-exec = menu-open-1
  156. menu-0-1 = power off
  157. menu-0-1-exec = menu-open-2
  158. menu-1-0 = cancel
  159. menu-1-0-exec = menu-open-0
  160. menu-1-1 = reboot
  161. menu-1-1-exec = reboot
  162. menu-2-0 = power off
  163. menu-2-0-exec = shutdown -h now
  164. menu-2-1 = cancel
  165. menu-2-1-exec = menu-open-0
  166. [settings]
  167. screenchange-reload = true
  168. [global/wm]
  169. margin-top = 5
  170. margin-bottom = 5