dobrado

Untitled

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