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.

328 lines
9.3 KiB

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