d0tfiles

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

config (8947B)


      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 margin-bottom = 0
     18 margin-top = 0
     19 
     20 include-file = ~/.config/bspwm/polybar/colors
     21 
     22 [bar/main]
     23 monitor =
     24 monitor-strict = false
     25 override-redirect = false
     26 
     27 bottom = false
     28 fixed-center = true
     29 
     30 width = 100%
     31 height = 20
     32 offset-x = 0
     33 offset-y = 0
     34 
     35 background = ${color.BACKGROUND}
     36 foreground = ${color.FOREGROUND}
     37 
     38 radius-top = 0.0
     39 radius-bottom = 0.0
     40 
     41 line-size = 2
     42 line-color = ${color.BLUE}
     43 
     44 border-size = 4
     45 border-color = ${color.BACKGROUND}
     46 
     47 padding = 1
     48 module-margin-left = 1
     49 module-margin-right = 1
     50 
     51 
     52 font-0 = "Iosevka Nerd Font:size=10;3"
     53 font-1 = "Iosevka Nerd Font:size=12;3"
     54 
     55 modules-left = mod bspwm
     56 modules-center = mpd
     57 modules-right = volume backlight battery network date
     58 
     59 separator =
     60 spacing = 0
     61 
     62 dim-value = 1.0
     63 
     64 wm-name = bspwm
     65 locale = 
     66 
     67 tray-position = none
     68 tray-detached = false
     69 tray-maxsize = 16
     70 tray-transparent = false
     71 tray-background = ${color.BACKGROUND}
     72 tray-offset-x = 0
     73 tray-offset-y = 0
     74 tray-padding = 0
     75 tray-scale = 1.0
     76 
     77 enable-ipc = true
     78 
     79 ; bspwm
     80 scroll-up = bspc desktop -f prev.local
     81 scroll-down = bspc desktop -f next.local
     82 
     83 [settings]
     84 throttle-output = 5
     85 throttle-output-for = 10
     86 throttle-input-for = 30
     87 
     88 screenchange-reload = false
     89 
     90 compositing-background = source
     91 compositing-foreground = over
     92 compositing-overline = over
     93 compositing-underline = over
     94 compositing-border = over
     95 
     96 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
     97 ;;
     98 ;;	    __  ___          __      __         
     99 ;;	   /  |/  /___  ____/ /_  __/ /__  _____
    100 ;;	  / /|_/ / __ \/ __  / / / / / _ \/ ___/
    101 ;;	 / /  / / /_/ / /_/ / /_/ / /  __(__  ) 
    102 ;;	/_/  /_/\____/\__,_/\__,_/_/\___/____/  
    103 ;;
    104 ;; Created By Aditya Shakya @adi1090x
    105 ;;
    106 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    107 
    108 [module/volume]
    109 type = internal/pulseaudio
    110 
    111 ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
    112 ; If not, uses default sink
    113 sink = alsa_output.pci-0000_12_00.3.analog-stereo
    114 
    115 ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
    116 ; Default: true
    117 use-ui-max = false
    118 
    119 ; Interval for volume increase/decrease (in percent points)
    120 ; Default: 5
    121 interval = 5
    122 
    123 format-volume = <ramp-volume> <label-volume>
    124 
    125 format-muted = <label-muted>
    126 format-muted-prefix = 婢
    127 format-muted-prefix-font = 2
    128 format-muted-prefix-foreground = ${color.RED}
    129 
    130 label-volume = %percentage%%
    131 label-muted = " Muted"
    132 label-muted-foreground = #757575
    133 
    134 ramp-volume-0 = 奄
    135 ramp-volume-1 = 奄
    136 ramp-volume-2 = 奄
    137 ramp-volume-3 = 奔
    138 ramp-volume-4 = 奔
    139 ramp-volume-5 = 奔
    140 ramp-volume-6 = 墳
    141 ramp-volume-7 = 墳
    142 ramp-volume-8 = 墳
    143 ramp-volume-9 = 墳
    144 ramp-volume-font = 2
    145 ramp-volume-foreground = ${color.BLUE}
    146 
    147 ramp-headphones-0 = 
    148 ramp-headphones-1 = 
    149 
    150 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    151 
    152 [module/backlight]
    153 type = internal/xbacklight
    154 
    155 card = intel_backlight
    156 
    157 format = <ramp> <label>
    158 
    159 label = %percentage%%
    160 
    161 ramp-0 = 
    162 ramp-1 = 
    163 ramp-2 = 
    164 ramp-3 = 
    165 ramp-4 = 
    166 ramp-5 = 
    167 ramp-6 = 
    168 ramp-7 = 
    169 ramp-8 = 
    170 ramp-9 = 
    171 ramp-font = 2
    172 ramp-foreground = ${color.MAGENTA}
    173 
    174 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    175 
    176 [module/battery]
    177 type = internal/battery
    178 
    179 full-at = 99
    180 
    181 battery = BAT1
    182 adapter = ACAD
    183 
    184 poll-interval = 2
    185 time-format = %H:%M
    186 
    187 format-charging = <animation-charging> <label-charging>
    188 format-charging-prefix = 
    189 
    190 format-discharging = <ramp-capacity> <label-discharging>
    191 
    192 format-full = <label-full>
    193 format-full-prefix = " "
    194 format-full-prefix-font = 2
    195 format-full-prefix-foreground = ${color.RED}
    196 
    197 label-charging = %percentage%%
    198 label-discharging = %percentage%%
    199 label-full = %percentage%%
    200 
    201 ramp-capacity-0 = 
    202 ramp-capacity-1 = 
    203 ramp-capacity-2 = 
    204 ramp-capacity-3 = 
    205 ramp-capacity-4 = 
    206 ramp-capacity-font = 2
    207 ramp-capacity-foreground = ${color.YELLOW}
    208 
    209 animation-charging-0 = 
    210 animation-charging-1 = 
    211 animation-charging-2 = 
    212 animation-charging-3 = 
    213 animation-charging-4 = 
    214 animation-charging-font = 2
    215 animation-charging-foreground = ${color.GREEN}
    216 animation-charging-framerate = 750
    217 
    218 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    219 
    220 [module/bspwm]
    221 type = internal/bspwm
    222 
    223 pin-workspaces = true
    224 inline-mode = false
    225 
    226 enable-click = true
    227 enable-scroll = true
    228 reverse-scroll = true
    229 
    230 fuzzy-match = true
    231 
    232 ; ws-icon-[0-9]+ = label;icon
    233 ; Note that the label needs to correspond with the bspwm workspace name
    234 ws-icon-0 = code;♚
    235 ws-icon-1 = office;♛
    236 ws-icon-2 = graphics;♜
    237 ws-icon-3 = mail;♝
    238 ws-icon-4 = web;♞
    239 ws-icon-default = ♟
    240 
    241 format = <label-state>
    242 
    243 label-monitor = %name%
    244 
    245 ; If any values for label-dimmed-N are defined, the workspace/mode
    246 ; colors will get overridden with those values if the monitor is out of focus
    247 ; To only override workspaces in a specific state, use:
    248 ;   label-dimmed-focused
    249 ;   label-dimmed-occupied
    250 ;   label-dimmed-urgent
    251 ;   label-dimmed-empty
    252 ;label-dimmed-foreground = ${color.FOREGROUND}
    253 ;label-dimmed-underline = ${color.YELLOW}
    254 ;label-dimmed-focused-background = ${color.BACKGROUND}
    255 
    256 label-focused = %name%
    257 label-focused-foreground = ${color.BACKGROUND}
    258 label-focused-background = ${color.BLUE}
    259 ;label-focused-underline = ${color.RED}
    260 label-focused-padding = 1
    261 
    262 label-occupied = %name%
    263 label-occupied-foreground = ${color.BACKGROUND}
    264 label-occupied-background = ${color.GREEN}
    265 ;label-occupied-underline = ${color.GREEN}
    266 label-occupied-padding = 1
    267 
    268 label-urgent = %name%
    269 label-urgent-foreground = ${color.BACKGROUND}
    270 label-urgent-background = ${color.RED}
    271 ;label-urgent-underline = ${color.RED}
    272 label-urgent-padding = 1
    273 
    274 label-empty = %name%
    275 label-empty-foreground = ${color.FOREGROUND}
    276 label-empty-padding = 1
    277 
    278 ; Separator in between workspaces
    279 label-separator = " "
    280 label-separator-padding = 0
    281 ;label-separator-foreground = ${color.YELLOW}
    282 
    283 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    284 
    285 [module/mod]
    286 type = internal/bspwm
    287 
    288 format = <label-mode>
    289 format-background = ${color.YELLOW}
    290 format-foreground = ${color.BACKGROUND}
    291 format-padding = 1
    292 
    293 label-monocle = "Monocle"
    294 label-tiled = "Tiled"
    295 
    296 label-floating = ", Float"
    297 label-pseudotiled = ", Pseudo"
    298 label-fullscreen = ", Full"
    299 
    300 label-locked = " Locked"
    301 label-sticky = " Sticky"
    302 label-private = " Private"
    303 
    304 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    305 
    306 [module/modicons]
    307 type = internal/bspwm
    308 
    309 format = <label-mode>
    310 format-background = ${color.YELLOW}
    311 format-foreground = ${color.BACKGROUND}
    312 format-padding = 1
    313 
    314 label-monocle = ""
    315 label-tiled = ""
    316 
    317 label-fullscreen = " "
    318 label-floating = " "
    319 label-pseudotiled = " "
    320 
    321 label-locked = " "
    322 label-sticky = " "
    323 label-private = " "
    324 
    325 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    326 
    327 [module/date]
    328 type = internal/date
    329 
    330 interval = 1.0
    331 
    332 time = %I:%M %p
    333 time-alt = %A, %d %B %Y
    334 
    335 format = <label>
    336 format-prefix = " "
    337 format-prefix-font = 2
    338 format-prefix-foreground = ${color.RED}
    339 
    340 label = %time%
    341 
    342 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    343 
    344 [module/mpd]
    345 type = internal/mpd
    346 
    347 ;;host = 127.0.0.1
    348 ;;port = 6600
    349 ;;password = mysecretpassword
    350 
    351 interval = 2
    352 
    353 format-online = <label-song> <icon-prev> <toggle> <icon-next>
    354 format-online-prefix = " "
    355 format-online-prefix-font = 1
    356 format-online-prefix-foreground = ${color.GREEN}
    357 
    358 format-playing = ${self.format-online}
    359 format-paused = <label-song> <toggle>
    360 
    361 format-offline = <label-offline>
    362 label-offline = "Offline"
    363 
    364 label-song =  "%title% | %artist%"
    365 label-song-maxlen = 40
    366 label-song-ellipsis = true
    367 
    368 icon-play = 
    369 icon-play-font = 2
    370 icon-play-foreground = ${color.GREEN}
    371 icon-pause = 
    372 icon-pause-font = 2
    373 icon-pause-foreground = ${color.YELLOW}
    374 icon-stop = 
    375 icon-stop-foreground = ${color.RED}
    376 icon-prev = 玲
    377 icon-prev-font = 2
    378 icon-prev-foreground = ${color.CYAN}
    379 icon-next = 怜
    380 icon-next-font = 2
    381 icon-next-foreground = ${color.CYAN}
    382 
    383 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    384 
    385 [module/network]
    386 type = internal/network
    387 interface = wlan0
    388 
    389 interval = 1.0
    390 
    391 ;;ping-interval = 3
    392 ;;udspeed-minwidth = 5
    393 
    394 accumulate-stats = true
    395 unknown-as-up = true
    396 
    397 format-connected = <ramp-signal> <label-connected>
    398 
    399 format-disconnected = <label-disconnected>
    400 format-disconnected-prefix = "睊 "
    401 format-disconnected-prefix-font = 2
    402 format-disconnected-prefix-foreground = ${color.RED}
    403 
    404 label-connected = "%essid%"
    405 label-disconnected = Disconnected
    406 
    407 ramp-signal-0 = 直
    408 ramp-signal-1 = 直
    409 ramp-signal-2 = 直
    410 ramp-signal-3 = 直
    411 ramp-signal-4 = 直
    412 ramp-signal-font = 2
    413 ramp-signal-foreground = ${color.CYAN}
    414 
    415 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    416 ;;	    __________  ______
    417 ;;	   / ____/ __ \/ ____/
    418 ;;	  / __/ / / / / /_    
    419 ;;	 / /___/ /_/ / __/    
    420 ;;	/_____/\____/_/       
    421 ;;
    422 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_