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.

325 lines
9.2 KiB

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