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.

324 lines
9.2 KiB

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
  1. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  2. ;;
  3. ;; ____ __ __
  4. ;; / __ \____ / /_ __/ /_ ____ ______
  5. ;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
  6. ;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
  7. ;; /_/ \____/_/\__, /_.___/\__,_/_/
  8. ;; /____/
  9. ;;
  10. ;; Created By Aditya Shakya @adi1090x
  11. ;;
  12. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  13. ;; Global WM Settings
  14. [global/wm]
  15. ; Adjust the _NET_WM_STRUT_PARTIAL top value
  16. ; Used for top aligned bars
  17. margin-bottom = 0
  18. ; Adjust the _NET_WM_STRUT_PARTIAL bottom value
  19. ; Used for bottom aligned bars
  20. margin-top = 10
  21. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  22. ;; File Inclusion
  23. ; include an external file, like module file, etc.
  24. include-file = ~/.config/polybar/colors.ini
  25. include-file = ~/.config/polybar/modules.ini
  26. include-file = ~/.config/polybar/user_modules.ini
  27. ; wofür bars?
  28. ;include-file = ~/.config/polybar/bars.ini
  29. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  30. ;; Bar Settings
  31. [bar/main]
  32. ; Use either of the following command to list available outputs:
  33. ; If unspecified, the application will pick the first one it finds.
  34. ; $ polybar -m | cut -d ':' -f 1
  35. ; $ xrandr -q | grep " connected" | cut -d ' ' -f1
  36. monitor = DP-0
  37. ; Use the specified monitor as a fallback if the main one is not found.
  38. monitor-fallback = eDP
  39. ; Require the monitor to be in connected state
  40. ; XRandR sometimes reports my monitor as being disconnected (when in use)
  41. monitor-strict = false
  42. ; Tell the Window Manager not to configure the window.
  43. ; Use this to detach the bar if your WM is locking its size/position.
  44. override-redirect = false
  45. ; Put the bar at the bottom of the screen
  46. bottom = true
  47. ; Prefer fixed center position for the `modules-center` block
  48. ; When false, the center position will be based on the size of the other blocks.
  49. fixed-center = true
  50. ; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
  51. ; the percentage can optionally be extended with a pixel offset like so:
  52. ; 50%:-10, this will result in a width or height of 50% minus 10 pixels
  53. width = 98%
  54. height = 26
  55. ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
  56. ; the percentage can optionally be extended with a pixel offset like so:
  57. ; 50%:-10, this will result in an offset in the x or y direction
  58. ; of 50% minus 10 pixels
  59. offset-x = 1%
  60. offset-y = 2%:-3
  61. ; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
  62. background = ${color.background}
  63. ; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
  64. foreground = ${color.foreground}
  65. ; Background gradient (vertical steps)
  66. ; background-[0-9]+ = #aarrggbb
  67. ;;background-0 =
  68. ; Value used for drawing rounded corners
  69. ; Note: This shouldn't be used together with border-size because the border
  70. ; doesn't get rounded
  71. ; Individual top/bottom values can be defined using:
  72. ; radius-{top,bottom}
  73. radius-top = 0.0
  74. radius-bottom = 0.0
  75. ; Under-/overline pixel size and argb color
  76. ; Individual values can be defined using:
  77. ; {overline,underline}-size
  78. ; {overline,underline}-color
  79. overline-size = 2
  80. overline-color = ${color.accent}
  81. ; Values applied to all borders
  82. ; Individual side values can be defined using:
  83. ; border-{left,top,right,bottom}-size
  84. ; border-{left,top,right,bottom}-color
  85. ; The top and bottom borders are added to the bar height, so the effective
  86. ; window height is:
  87. ; height + border-top-size + border-bottom-size
  88. ; Meanwhile the effective window width is defined entirely by the width key and
  89. ; the border is placed withing this area. So you effectively only have the
  90. ; following horizontal space on the bar:
  91. ; width - border-right-size - border-left-size
  92. border-bottom-size = 2
  93. border-color = ${color.accent}
  94. ; Number of spaces to add at the beginning/end of the bar
  95. ; Individual side values can be defined using:
  96. ; padding-{left,right}
  97. padding = 0
  98. ; Number of spaces to add before/after each module
  99. ; Individual side values can be defined using:
  100. ; module-margin-{left,right}
  101. module-margin-left = 2
  102. module-margin-right = 2
  103. ; Fonts are defined using <font-name>;<vertical-offset>
  104. ; Font names are specified using a fontconfig pattern.
  105. ; font-0 = NotoSans-Regular:size=8;2
  106. ; font-1 = MaterialIcons:size=10
  107. ; font-2 = Termsynu:size=8;-1
  108. ; font-3 = FontAwesome:size=10
  109. ; See the Fonts wiki page for more details
  110. ;;font-0 = "Misc Termsyn:size=12;1"
  111. ;;font-1 = "Wuncon Siji:size=12;1"
  112. ;font-0 = "Ubuntu Condensed:size=10;2"
  113. font-0 = "Hack Nerd Font Mono:size=13;2"
  114. ;font-1 = "icomoon\-feather:size=10;2"
  115. font-1 = "Icomoon\-Ultimate:size=10;2"
  116. font-2 = "xos4 Terminus:size=12;1"
  117. ; Modules are added to one of the available blocks
  118. ; modules-left = cpu ram
  119. ; modules-center = xwindow xbacklight
  120. ; modules-right = ipc clock
  121. ;; Available modules
  122. ;;
  123. ;alsa backlight battery
  124. ;bspwm cpu date
  125. ;filesystem github i3
  126. ;memory mpd wired-network
  127. ;network pulseaudio temperature
  128. ;keyboard title workspaces
  129. ;;
  130. ;; User modules
  131. ;checknetwork updates window_switch launcher powermenu sysmenu menu
  132. ;;
  133. ;; Bars
  134. ;cpu_bar memory_bar filesystem_bar mpd_bar
  135. ;volume brightness battery_bar
  136. modules-left = launcher bspwm
  137. ;modules-center = mpd
  138. ;modules-right = updates colors-switch alsa battery backlight checknetwork date sysmenu
  139. modules-right = alsa battery backlight date sysmenu
  140. ; The separator will be inserted between the output of each module
  141. separator =
  142. ; This value is used to add extra spacing between elements
  143. ; @deprecated: This parameter will be removed in an upcoming version
  144. spacing = 0
  145. ; Opacity value between 0.0 and 1.0 used on fade in/out
  146. dim-value = 1.0
  147. ; Value to be used to set the WM_NAME atom
  148. ; If the value is empty or undefined, the atom value
  149. ; will be created from the following template: polybar-[BAR]_[MONITOR]
  150. ; NOTE: The placeholders are not available for custom values
  151. wm-name =
  152. ; Locale used to localize various module data (e.g. date)
  153. ; Expects a valid libc locale, for example: sv_SE.UTF-8
  154. locale =
  155. ; Position of the system tray window
  156. ; If empty or undefined, tray support will be disabled
  157. ; NOTE: A center aligned tray will cover center aligned modules
  158. ;
  159. ; Available positions:
  160. ; left
  161. ; center
  162. ; right
  163. ; none
  164. tray-position = right
  165. ; If true, the bar will not shift its
  166. ; contents when the tray changes
  167. tray-detached = false
  168. ; Tray icon max size
  169. tray-maxsize = 16
  170. ; Background color for the tray container
  171. ; ARGB color (e.g. #f00, #ff992a, #ddff1023)
  172. ; By default the tray container will use the bar
  173. ; background color.
  174. tray-background = ${color.background}
  175. ; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
  176. tray-offset-x = 0
  177. tray-offset-y = 0
  178. ; Pad the sides of each tray icon
  179. tray-padding = 0
  180. ; Scale factor for tray clients
  181. tray-scale = 1.0
  182. ; fixes issue with bar drawn over fullscreen windows
  183. wm-restack = bspwm
  184. ; Set a DPI values used when rendering text
  185. ; This only affects scalable fonts
  186. ; dpi =
  187. ; Enable support for inter-process messaging
  188. ; See the Messaging wiki page for more details.
  189. enable-ipc = true
  190. ; Fallback click handlers that will be called if
  191. ; there's no matching module handler found.
  192. click-left =
  193. click-middle =
  194. click-right =
  195. ;scroll-up =
  196. ;scroll-down =
  197. double-click-left =
  198. double-click-middle =
  199. double-click-right =
  200. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  201. ; Possible values are:
  202. ; - default : The default pointer as before, can also be an empty string (default)
  203. ; - pointer : Typically in the form of a hand
  204. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  205. cursor-click =
  206. cursor-scroll =
  207. ;; WM Workspace Specific
  208. ; bspwm
  209. scroll-up = bspc desktop -f prev.local
  210. scroll-down = bspc desktop -f next.local
  211. ;i3
  212. ;;scroll-up = i3wm-wsnext
  213. ;;scroll-down = i3wm-wsprev
  214. ;;scroll-up = i3-msg workspace next_on_output
  215. ;;scroll-down = i3-msg workspace prev_on_output
  216. ;openbox
  217. ;awesome
  218. ;etc
  219. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  220. ;; Application Settings
  221. [settings]
  222. ; The throttle settings lets the eventloop swallow up til X events
  223. ; if they happen within Y millisecond after first event was received.
  224. ; This is done to prevent flood of update event.
  225. ;
  226. ; For example if 5 modules emit an update event at the same time, we really
  227. ; just care about the last one. But if we wait too long for events to swallow
  228. ; the bar would appear sluggish so we continue if timeout
  229. ; expires or limit is reached.
  230. throttle-output = 5
  231. throttle-output-for = 10
  232. ; Time in milliseconds that the input handler will wait between processing events
  233. throttle-input-for = 30
  234. ; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
  235. screenchange-reload = false
  236. ; Compositing operators
  237. ; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
  238. compositing-background = source
  239. compositing-foreground = over
  240. compositing-overline = over
  241. compositing-underline = over
  242. compositing-border = over
  243. ; Define fallback values used by all module formats
  244. format-foreground =
  245. format-background =
  246. format-underline =
  247. format-overline =
  248. format-spacing =
  249. format-padding =
  250. format-margin =
  251. format-offset =
  252. ; Enables pseudo-transparency for the bar
  253. ; If set to true the bar can be transparent without a compositor.
  254. pseudo-transparency = false
  255. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  256. ;; __________ ______
  257. ;; / ____/ __ \/ ____/
  258. ;; / __/ / / / / /_
  259. ;; / /___/ /_/ / __/
  260. ;; /_____/\____/_/
  261. ;;
  262. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_