NixOS configs
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.

204 lines
4.9 KiB

  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/polybar/polybar
  14. ;
  15. ; The README contains a lot of information
  16. ;
  17. ;==========================================================
  18. [colors]
  19. background = #222
  20. background-alt = #444
  21. ;foreground = ${xrdb:color7:#222}
  22. foreground = #dfdfdf
  23. foreground-alt = #555
  24. primary = #cec0af
  25. secondary = #242e35
  26. alert = #bd2c40
  27. black = #000
  28. white = #fff
  29. grey = #aaa
  30. darkgrey = #555
  31. red = #f00
  32. green = #0f0
  33. blue = #2d02d0
  34. yellow = #d2b55b
  35. [bar/main]
  36. modules-center = date
  37. font-0 = Jetbrains Mono:style=Regular
  38. height = 30
  39. width = 320
  40. offset-x = 15
  41. offset-y = 15
  42. background = ${colors.primary}
  43. radius=5
  44. override-redirect=true
  45. [module/date]
  46. type = internal/date
  47. date = "%h-%d-20%y %r"
  48. label-foreground = #000000
  49. [bar/pulse]
  50. modules-center = pulseaudio
  51. height = 30
  52. width = 200
  53. offset-y = 15
  54. #offset-x = 1300
  55. offset-x = 350
  56. radius=5
  57. override-redirect=true
  58. background = ${colors.secondary}
  59. foreground = #fff
  60. font-0 = Jetbrains Mono:style=Regular
  61. font-1 = FontAwesome:style=Regular
  62. font-2 = "Iosevka:pixelsize=12;0"
  63. font-3 = RobotoMono Nerd Font:pixelsize=12;1
  64. [bar/bspwm]
  65. modules-center = bspwm
  66. height = 30
  67. width = 350
  68. offset-y = 15
  69. offset-x = 565
  70. radius=5
  71. background = ${colors.secondary}
  72. font-0 = Jetbrains Mono:style=Regular
  73. font-1 = "Iosevka:pixelsize=12;0"
  74. [module/bspwm]
  75. type=internal/bspwm
  76. #label-focused = %index%
  77. label-focused = ●
  78. #label-focused-background = ${colors.blue}
  79. label-focused-underline= #ffb52a
  80. label-focused-padding = 2
  81. #label-occupied = %index%
  82. label-occupied = ○
  83. label-occupied-padding = 2
  84. #label-urgent = %index%!
  85. label-urgent = ○
  86. label-urgent-background = ${colors.alert}
  87. label-urgent-padding = 2
  88. #label-empty = %index%
  89. label-empty = ○
  90. label-empty-foreground = ${colors.foreground-alt}
  91. label-empty-padding = 2
  92. [module/xworkspaces]
  93. type = internal/xworkspaces
  94. label-active = %name%
  95. label-active-background = ${colors.background-alt}
  96. label-active-underline= ${colors.primary}
  97. label-active-padding = 1
  98. label-occupied = %name%
  99. label-occupied-padding = 1
  100. label-urgent = %name%
  101. label-urgent-background = ${colors.alert}
  102. label-urgent-padding = 1
  103. label-empty = %name%
  104. label-empty-foreground = ${colors.disabled}
  105. label-empty-padding = 1
  106. [module/xwindow]
  107. type = internal/xwindow
  108. label = %title:0:60:...%
  109. [module/filesystem]
  110. type = internal/fs
  111. interval = 25
  112. mount-0 = /
  113. label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
  114. label-unmounted = %mountpoint% not mounted
  115. label-unmounted-foreground = ${colors.disabled}
  116. [module/pulseaudio]
  117. type = internal/pulseaudio
  118. format-volume-prefix = "VOL "
  119. format-volume-prefix-foreground = ${colors.primary}
  120. format-volume = <label-volume>
  121. label-volume = %percentage%%
  122. label-muted = muted
  123. label-muted-foreground = ${colors.disabled}
  124. [module/xkeyboard]
  125. type = internal/xkeyboard
  126. blacklist-0 = num lock
  127. label-layout = %layout%
  128. label-layout-foreground = ${colors.primary}
  129. label-indicator-padding = 2
  130. label-indicator-margin = 1
  131. label-indicator-foreground = ${colors.background}
  132. label-indicator-background = ${colors.secondary}
  133. [module/memory]
  134. type = internal/memory
  135. interval = 2
  136. format-prefix = "RAM "
  137. format-prefix-foreground = ${colors.primary}
  138. label = %percentage_used:2%%
  139. [module/cpu]
  140. type = internal/cpu
  141. interval = 2
  142. format-prefix = "CPU "
  143. format-prefix-foreground = ${colors.primary}
  144. label = %percentage:2%%
  145. [network-base]
  146. type = internal/network
  147. interval = 5
  148. format-connected = <label-connected>
  149. format-disconnected = <label-disconnected>
  150. label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
  151. [module/wlan]
  152. inherit = network-base
  153. interface-type = wireless
  154. label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
  155. [module/eth]
  156. inherit = network-base
  157. interface-type = wired
  158. label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
  159. #[module/date]
  160. #type = internal/date
  161. #interval = 1
  162. #date = %H:%M
  163. #date-alt = %Y-%m-%d %H:%M:%S
  164. #label = %date%
  165. #label-foreground = ${colors.primary}
  166. [settings]
  167. screenchange-reload = true
  168. pseudo-transparency = true
  169. ; vim:ft=dosini