config.ini 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. [colors]
  2. background = #f2f2f2
  3. background-alt = #f2f2f2
  4. foreground = #5c616c
  5. primary = #393c45
  6. secondary = #393c45
  7. alert = #393c45
  8. disabled = #393c45
  9. [bar/example]
  10. width = 1900
  11. height = 22pt
  12. radius = 8
  13. ; dpi = 96
  14. background = ${colors.background}
  15. foreground = ${colors.foreground}
  16. line-size = 0pt
  17. border-size = 0pt
  18. border-color = #00000000
  19. padding-left = 2
  20. padding-right = 2
  21. module-margin = 2
  22. offset-x = 10
  23. offset-y = 10
  24. font-0 = JetBrainsMono-Bold:style=Regular:pixelsize=10;2
  25. font-1 = FontAwesome:style=Regular:pixelsize=10;2
  26. #font-2 = Font Awesome 6 Brands-Regular-400:pixelsize=8;2
  27. #font-3 = Font Awesome 6 Free-Regular-400:style=Regular:pixelsize=10;2
  28. #font-4 = Font Awesome 6 Free-Solid-900.otf:style=Regular:pixelsize=10;2
  29. modules-left = xwindow
  30. modules-center = xworkspaces
  31. modules-right = openweathermap-simple cmus pulseaudio xkeyboard date
  32. cursor-click = pointer
  33. cursor-scroll = ns-resize
  34. enable-ipc = true
  35. wm-restack = bspwm
  36. [module/xwindow]
  37. type = internal/xwindow
  38. label = %title%
  39. label-maxlen = 30
  40. [module/xworkspaces]
  41. type = internal/xworkspaces
  42. label-active = %name%
  43. label-active-background = #f2f2f2
  44. #label-active-foreground =
  45. label-active-underline= ${colors.primary}
  46. label-active-padding = 2
  47. label-occupied = %name%
  48. label-occupied-padding = 2
  49. label-occupied-foreground = #5c616c
  50. label-urgent = %name%
  51. label-urgent-background = ${colors.alert}
  52. label-urgent-padding = 2
  53. label-empty = %name%
  54. label-empty-foreground = #ced0d5
  55. label-empty-padding = 2
  56. [module/pulseaudio]
  57. type = internal/pulseaudio
  58. format-volume-prefix = " "
  59. format-volume-prefix-foreground = #5c616c
  60. format-volume = <label-volume>
  61. label-volume = %percentage%%
  62. label-muted = muted
  63. label-muted-foreground = ${colors.disabled}
  64. [module/xkeyboard]
  65. type = internal/xkeyboard
  66. blacklist-0 = num lock
  67. blacklist-1 = caps lock
  68. label-layout = %layout%
  69. label-layout-foreground = #5c616c
  70. label-layout-background = #f2f2f2
  71. label-font = 4
  72. format-prefix = " "
  73. format-prefix-foreground = #5c616c
  74. [module/date]
  75. type = internal/date
  76. interval = 5
  77. date =
  78. date-alt = "%Y-%m-%d"
  79. time = "%H:%M"
  80. time-alt = %H:%M:%S
  81. format-prefix =""
  82. format-prefix-foreground = #5c616c
  83. label =%date% %time%
  84. label-foreground = #5c616c
  85. label-font = 0
  86. [module/cmus]
  87. type = custom/script
  88. exec = ~/.config/polybar/cmus.sh
  89. exec-if = pgrep -x cmus
  90. interval = 1
  91. click-left = cmus-remote --pause
  92. click-right = cmus-remote --play
  93. scroll-up = cmus-remote --next
  94. scroll-down = cmus-remote --prev
  95. format-prefix = " "
  96. format-prefix-foreground = #5c616c
  97. format = <label>
  98. label-foreground = #5c616c
  99. format-background = #f2f2f2
  100. label = %output%
  101. label-maxlen = 100
  102. [module/openweathermap-simple]
  103. type = custom/script
  104. exec = /home/owl/.config/polybar/openweathermap-simple.sh
  105. interval = 600
  106. label-font = 0
  107. label-foreground = #5c616c
  108. format-prefix =" "
  109. format-prefix-foreground = #5c616c
  110. [settings]
  111. screenchange-reload = true
  112. pseudo-transparency = true