d0tfiles

*nix dotfiles for arch linux setup
Log | Files | Refs | README | LICENSE

config.ini (9562B)


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