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.

326 lines
9.2 KiB

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