config.ini 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. [colors]
  2. background = #23252e
  3. background-alt = #23252e
  4. foreground = #f9f8fe
  5. primary = #393c45
  6. secondary = #393c45
  7. alert = #393c45
  8. disabled = #393c45
  9. [bar/example]
  10. width = 1900
  11. height = 22pt
  12. radius = 12
  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. modules-left = xwindow
  27. modules-center = xworkspaces
  28. modules-right = openweathermap-fullfeatured cmus pulseaudio xkeyboard date
  29. cursor-click = pointer
  30. cursor-scroll = ns-resize
  31. enable-ipc = true
  32. wm-restack = bspwm
  33. [module/xwindow]
  34. type = internal/xwindow
  35. label = %title%
  36. label-maxlen = 30
  37. [module/xworkspaces]
  38. type = internal/xworkspaces
  39. label-active = %name%
  40. label-active-background = #23252e
  41. #label-active-foreground =
  42. label-active-underline= ${colors.primary}
  43. label-active-padding = 2
  44. label-occupied = %name%
  45. label-occupied-padding = 2
  46. label-occupied-foreground = #898c95
  47. label-urgent = %name%
  48. label-urgent-background = ${colors.alert}
  49. label-urgent-padding = 2
  50. label-empty = %name%
  51. label-empty-foreground = ${colors.disabled}
  52. label-empty-padding = 2
  53. [module/pulseaudio]
  54. type = internal/pulseaudio
  55. format-volume-prefix = " "
  56. format-volume-prefix-foreground = #898c95
  57. format-volume = <label-volume>
  58. label-volume = %percentage%%
  59. label-muted = muted
  60. label-muted-foreground = ${colors.disabled}
  61. [module/xkeyboard]
  62. type = internal/xkeyboard
  63. blacklist-0 = num lock
  64. blacklist-1 = caps lock
  65. label-layout = %layout%
  66. label-layout-foreground = #f9f8fe
  67. label-layout-background = #23252e
  68. label-font = 4
  69. format-prefix = " "
  70. format-prefix-foreground = #898c95
  71. [module/date]
  72. type = internal/date
  73. interval = 5
  74. date =
  75. date-alt = "%Y-%m-%d"
  76. time = "%H:%M"
  77. time-alt = %H:%M:%S
  78. format-prefix =""
  79. format-prefix-foreground = #898c95
  80. label =%date% %time%
  81. label-foreground = #d8dee9
  82. label-font = 0
  83. [module/cmus]
  84. type = custom/script
  85. exec = ~/.config/polybar/cmus.sh
  86. exec-if = pgrep -x cmus
  87. interval = 1
  88. click-left = cmus-remote --pause
  89. click-right = cmus-remote --play
  90. scroll-up = cmus-remote --next
  91. scroll-down = cmus-remote --prev
  92. format-prefix = " "
  93. format-prefix-foreground = #898c95
  94. format = <label>
  95. label-foreground = #d8dee9
  96. format-background = #23252e
  97. label = %output%
  98. label-maxlen = 100
  99. [module/openweathermap-fullfeatured]
  100. type = custom/script
  101. exec = /home/owl/.config/polybar/openweathermap-fullfeatured.sh
  102. interval = 600
  103. label-font = 0
  104. label-foreground = #d8dee9
  105. format-prefix =" "
  106. format-prefix-foreground = #898c95
  107. [settings]
  108. screenchange-reload = true
  109. pseudo-transparency = true