dotfiles

My dotfiles.
git clone git://git.ryanmj.xyz/dotfiles.git
Log | Files | Refs | LICENSE

desktop (12429B)


      1 ;==========================================================
      2 ;
      3 ;
      4 ;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
      5 ;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
      6 ;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
      7 ;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
      8 ;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
      9 ;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
     10 ;
     11 ;
     12 ;   To learn more about how to configure Polybar
     13 ;   go to https://github.com/polybar/polybar
     14 ;
     15 ;   The README contains a lot of information
     16 ;
     17 ;==========================================================
     18 
     19 [colors]
     20 background = ${xrdb:background}
     21 ;background = #222
     22 ;background = #aa000
     23 ;background-alt = #444
     24 
     25 ;background = #aaa
     26 background-alt = #222
     27 foreground = #fff
     28 foreground-alt = #fff
     29 primary = ${xrdb:color1:#222}
     30 secondary = ${xrdb:color2:#222}
     31 alert = ${xrdb:color3:#222}
     32 ;foreground = $; {xrdb:color7:#222}
     33 ; foreground = #dfdfdf
     34 ; foreground-alt = #555
     35 ; primary = #ffb52a
     36 ; secondary = #e60053
     37 ; alert = #bd2c40
     38 
     39 ;background = ${xrdb:color0:#222}
     40 ;background = #000000
     41 ;background-alt = #444
     42 ;foreground = ${xrdb:color7:#222}
     43 ;foreground = #dfdfdf
     44 ;foreground-alt = #FFF
     45 ;primary = #ffb52a
     46 ;secondary = #e60053
     47 ;alert = #bd2c40
     48 
     49 [bar/main]
     50 ;monitor = ${env:MONITOR:HDMI-1}
     51 ;monitor = ${env:MONITOR:DisplayPort-2}
     52 ;monitor = ${env:MONITOR:DisplayPort-3}
     53 
     54 bottom = false
     55 top = true
     56 
     57 width = 100%
     58 height = 27
     59 ;offset-x = 1%
     60 ;offset-y = 1%
     61 radius = 6.0
     62 fixed-center = true
     63 
     64 background = ${colors.background}
     65 foreground = ${colors.foreground}
     66 
     67 
     68 line-size = 3
     69 line-color = #f00
     70 
     71 border-size = 0
     72 border-color = #00000000
     73 
     74 padding-left = 0
     75 padding-right = 0
     76 
     77 module-margin-left = 1
     78 module-margin-right = 2
     79 
     80 ;font-0 = :pixelsize=12;1
     81 font-0 = "Hack:fontformat=truetype:size=13:antialias=true;0"
     82 font-1 = "Hack:Style=Regular:scale=13;1"
     83 font-2 = "Noto Sans:size=13;1"
     84 
     85 modules-left = bspwm
     86 modules-center = date
     87 modules-right = mpd pulseaudio battery eth wlan temperature
     88 
     89 tray-position = right
     90 tray-padding = 2
     91 ;tray-background = #0063ff
     92 
     93 wm-restack = i3
     94 
     95 ;override-redirect = true
     96 
     97 ;scroll-up = bspwm-desknext
     98 ;scroll-down = bspwm-deskprev
     99 
    100 ;scroll-up = i3wm-wsnext
    101 ;scroll-down = i3wm-wsprev
    102 
    103 cursor-click = pointer
    104 cursor-scroll = ns-resize
    105 
    106 [module/xwindow]
    107 type = internal/xwindow
    108 label = %title:0:30:...%
    109 
    110 [module/xkeyboard]
    111 type = internal/xkeyboard
    112 blacklist-0 = num lock
    113 
    114 format-prefix = " "
    115 format-prefix-foreground = ${colors.foreground-alt}
    116 format-prefix-underline = ${colors.secondary}
    117 
    118 label-layout = %layout%
    119 label-layout-underline = ${colors.secondary}
    120 
    121 label-indicator-padding = 2
    122 label-indicator-margin = 1
    123 label-indicator-background = ${colors.secondary}
    124 label-indicator-underline = ${colors.secondary}
    125 
    126 [module/filesystem]
    127 type = internal/fs
    128 interval = 25
    129 
    130 mount-0 = /
    131 
    132 label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
    133 label-unmounted = %mountpoint% not mounted
    134 label-unmounted-foreground = ${colors.foreground-alt}
    135 
    136 format-mounted-underline = #0a81f5 
    137 
    138 [module/bspwm]
    139 type = internal/bspwm
    140 
    141 format = <label-state> <label-mode>
    142 
    143 ws-icon-0 = Web;🌐
    144 ws-icon-1 = office;♛
    145 ws-icon-2 = graphics;♜
    146 ws-icon-3 = mail;♝
    147 ws-icon-4 = web;♞
    148 ws-icon-default = ♟
    149 
    150 ; Available tokens:
    151 ;   %name%
    152 ; Default: %name%
    153 label-monitor = %name%
    154 
    155 label-focused = %name%
    156 label-focused-background = ${colors.background-alt}
    157 label-focused-underline= ${colors.primary}
    158 label-focused-padding = 2
    159 
    160 label-occupied = %name%
    161 label-occupied-padding = 2
    162 
    163 label-urgent = %name%
    164 label-urgent-background = ${colors.alert}
    165 label-urgent-padding = 2
    166 
    167 label-empty = %name%
    168 label-empty-foreground = ${colors.foreground-alt}
    169 label-empty-padding = 2
    170 
    171 ; Only show workspaces defined on the same output as the bar
    172 ; NOTE: The bspwm and XRandR monitor names must match, which they do by default.
    173 ; But if you rename your bspwm monitors with bspc -n this option will no longer
    174 ; behave correctly.
    175 ; Default: true
    176 pin-workspaces = false
    177 
    178 ; Output mode flags after focused state label
    179 ; Default: false
    180 inline-mode = false
    181 
    182 ; Create click handler used to focus workspace
    183 ; Default: true
    184 enable-click = true
    185 
    186 ; Create scroll handlers used to cycle workspaces
    187 ; Default: true
    188 enable-scroll = false
    189 
    190 ; Set the scroll cycle direction 
    191 ; Default: true
    192 reverse-scroll = false
    193 
    194 ; Use fuzzy (partial) matching on labels when assigning 
    195 ; icons to workspaces
    196 ; Example: code;♚ will apply the icon to all workspaces 
    197 ; containing 'code' in the label
    198 ; Default: false
    199 fuzzy-match = true
    200 
    201 ; Separator in between workspaces
    202 ; label-separator = |
    203 
    204 
    205 [module/i3]
    206 type = internal/i3
    207 format = <label-state> <label-mode>
    208 index-sort = true
    209 wrapping-scroll = false
    210 
    211 ; Only show workspaces on the same output as the bar
    212 ;pin-workspaces = true
    213 
    214 label-mode-padding = 2
    215 label-mode-foreground = #000
    216 label-mode-background = ${colors.primary}
    217 
    218 ; focused = Active workspace on focused monitor
    219 label-focused = %name%
    220 label-focused-background = ${colors.background-alt}
    221 label-focused-underline= ${colors.primary}
    222 label-focused-padding = 2
    223 
    224 ; unfocused = Inactive workspace on any monitor
    225 label-unfocused = %name%
    226 label-unfocused-padding = 2
    227 
    228 ; visible = Active workspace on unfocused monitor
    229 label-visible = %name%
    230 label-visible-background = ${self.label-focused-background}
    231 label-visible-underline = ${self.label-focused-underline}
    232 label-visible-padding = ${self.label-focused-padding}
    233 
    234 ; urgent = Workspace with urgency hint set
    235 label-urgent = %name%
    236 label-urgent-background = ${colors.alert}
    237 label-urgent-padding = 2
    238 
    239 ; Separator in between workspaces
    240 ;label-separator = |
    241 
    242 
    243 [module/mpd]
    244 type = internal/mpd
    245 format-online =  <bar-progress> <label-song>
    246 format-online-prefix = "🎵 "
    247 format-online-underline = ${colors.foreground-alt}
    248 
    249 icon-prev = 
    250 icon-stop = 
    251 icon-play = 
    252 icon-pause = 
    253 icon-next = 
    254 
    255 label-song-maxlen = 15
    256 label-song-ellipsis = true
    257 
    258 label-song = %title%
    259 
    260 
    261 bar-progress-width = 10
    262 bar-progress-indicator = |
    263 bar-progress-fill = -
    264 bar-progress-empty = -
    265 
    266 [module/xbacklight]
    267 type = internal/xbacklight
    268 
    269 format = <label> <bar>
    270 label = BL
    271 
    272 bar-width = 10
    273 bar-indicator = |
    274 bar-indicator-foreground = #fff
    275 bar-indicator-font = 2
    276 bar-fill = ─
    277 bar-fill-font = 2
    278 bar-fill-foreground = #9f78e1
    279 bar-empty = ─
    280 bar-empty-font = 2
    281 bar-empty-foreground = ${colors.foreground-alt}
    282 
    283 [module/backlight-acpi]
    284 inherit = module/xbacklight
    285 type = internal/backlight
    286 card = intel_backlight
    287 
    288 [module/cpu]
    289 type = internal/cpu
    290 interval = 2
    291 format-prefix = "🖥 "
    292 format-prefix-foreground = ${colors.foreground-alt}
    293 format-underline = #f90000
    294 label = %percentage:2%%
    295 
    296 [module/memory]
    297 type = internal/memory
    298 interval = 2
    299 format-prefix = "🧠 "
    300 format-prefix-foreground = ${colors.foreground-alt}
    301 format-underline = #4bffdc
    302 label = %percentage_used%%
    303 
    304 [module/wlan]
    305 type = internal/network
    306 interface = wlp5s0
    307 interval = 3.0
    308 
    309 format-connected = 🌐 <ramp-signal> <label-connected>
    310 format-connected-underline = #9f78e1
    311 label-connected = %essid%
    312 
    313 format-disconnected = 
    314 ;format-disconnected = <label-disconnected>
    315 ;format-disconnected-underline = ${self.format-connected-underline}
    316 ;label-disconnected = %ifname% disconnected
    317 ;label-disconnected-foreground = ${colors.foreground-alt}
    318 
    319 ramp-signal-0 = 
    320 ramp-signal-1 = 
    321 ramp-signal-2 = 
    322 ramp-signal-3 = 
    323 ramp-signal-4 = 
    324 ramp-signal-foreground = ${colors.foreground-alt}
    325 
    326 [module/eth]
    327 type = internal/network
    328 interface = enp6s0
    329 interval = 3.0
    330 
    331 format-connected-underline = #55aa55
    332 format-connected-prefix = " "
    333 format-connected-prefix-foreground = ${colors.foreground-alt}
    334 label-connected = %local_ip%
    335 
    336 format-disconnected =
    337 ;format-disconnected = <label-disconnected>
    338 ;format-disconnected-underline = ${self.format-connected-underline}
    339 ;label-disconnected = %ifname% disconnected
    340 ;label-disconnected-foreground = ${colors.foreground-alt}
    341 
    342 [module/date]
    343 type = internal/date
    344 interval = 5
    345 
    346 date = "%b %d,"
    347 date-alt = "%a"
    348 
    349 time = "%I:%M %p"
    350 time-alt = %H:%M:%S
    351 
    352 format-prefix = 
    353 format-prefix-foreground = ${colors.foreground-alt}
    354 format-underline = #0a6cf5
    355 
    356 label = %date% %time%
    357 
    358 [module/pulseaudio]
    359 type = internal/pulseaudio
    360 
    361 format-volume = <label-volume> <bar-volume>
    362 format-volume-underline = #ff9705
    363 format-muted-underline = #eb231d
    364 
    365 
    366 label-volume = 🔈 %percentage%%
    367 label-volume-foreground = ${root.foreground}
    368 
    369 
    370 label-muted = 🔇 muted
    371 label-muted-foreground = #666
    372 
    373 bar-volume-width = 10
    374 bar-volume-foreground-0 = #55aa55
    375 bar-volume-foreground-1 = #55aa55
    376 bar-volume-foreground-2 = #55aa55
    377 bar-volume-foreground-3 = #55aa55
    378 bar-volume-foreground-4 = #55aa55
    379 bar-volume-foreground-5 = #f5a70a
    380 bar-volume-foreground-6 = #ff5555
    381 bar-volume-gradient = false
    382 bar-volume-indicator =
    383 bar-volume-indicator-font = 2
    384 bar-volume-fill = ─
    385 bar-volume-fill-font = 2
    386 bar-volume-empty = ─
    387 bar-volume-empty-font = 2
    388 bar-volume-empty-foreground = ${colors.foreground-alt}
    389 
    390 
    391 [module/alsa]
    392 type = internal/alsa
    393 
    394 format-volume = <label-volume> <bar-volume>
    395 label-volume = VOL
    396 label-volume-foreground = ${root.foreground}
    397 
    398 format-muted-prefix = " "
    399 format-muted-foreground = ${colors.foreground-alt}
    400 label-muted = sound muted
    401 
    402 bar-volume-width = 10
    403 bar-volume-foreground-0 = #55aa55
    404 bar-volume-foreground-1 = #55aa55
    405 bar-volume-foreground-2 = #55aa55
    406 bar-volume-foreground-3 = #55aa55
    407 bar-volume-foreground-4 = #55aa55
    408 bar-volume-foreground-5 = #f5a70a
    409 bar-volume-foreground-6 = #ff5555
    410 bar-volume-gradient = false
    411 bar-volume-indicator = |
    412 bar-volume-indicator-font = 2
    413 bar-volume-fill = ─
    414 bar-volume-fill-font = 2
    415 bar-volume-empty = ─
    416 bar-volume-empty-font = 2
    417 bar-volume-empty-foreground = ${colors.foreground-alt}
    418 
    419 [module/battery]
    420 type = internal/battery
    421 battery = BAT0
    422 adapter = ADP1
    423 full-at = 98
    424 
    425 format-charging = <animation-charging> <label-charging>
    426 format-charging-underline = #ffb52a
    427 
    428 format-discharging = <animation-discharging> <label-discharging>
    429 format-discharging-underline = ${self.format-charging-underline}
    430 
    431 format-full-prefix = " "
    432 format-full-prefix-foreground = ${colors.foreground-alt}
    433 format-full-underline = ${self.format-charging-underline}
    434 
    435 ramp-capacity-0 = 
    436 ramp-capacity-1 = 
    437 ramp-capacity-2 = 
    438 ramp-capacity-foreground = ${colors.foreground-alt}
    439 
    440 animation-charging-0 = 
    441 animation-charging-1 = 
    442 animation-charging-2 = 
    443 animation-charging-foreground = ${colors.foreground-alt}
    444 animation-charging-framerate = 750
    445 
    446 animation-discharging-0 = 
    447 animation-discharging-1 = 
    448 animation-discharging-2 = 
    449 animation-discharging-foreground = ${colors.foreground-alt}
    450 animation-discharging-framerate = 750
    451 
    452 [module/temperature]
    453 type = internal/temperature
    454 thermal-zone = 0
    455 warn-temperature = 65
    456 
    457 format = <ramp> <label>
    458 format-prefix = "🌡 "
    459 format-warn-prefix = "🔥 "
    460 format-underline = #f50a4d
    461 format-warn = <ramp> <label-warn>
    462 format-warn-underline = ${self.format-underline}
    463 
    464 label = %temperature-c%
    465 label-warn = %temperature-c%
    466 label-warn-foreground = ${colors.secondary}
    467 
    468 interval = 1
    469 hwmon-path =/sys/class/thermal/thermal_zone3/temp
    470 
    471 ramp-0 = 
    472 ramp-1 = 
    473 ramp-2 = 
    474 ramp-foreground = ${colors.foreground-alt}
    475 
    476 [module/powermenu]
    477 type = custom/menu
    478 
    479 expand-right = true
    480 
    481 format-spacing = 1
    482 
    483 label-open = 
    484 label-open-foreground = ${colors.secondary}
    485 label-close =  cancel
    486 label-close-foreground = ${colors.secondary}
    487 label-separator = |
    488 label-separator-foreground = ${colors.foreground-alt}
    489 
    490 menu-0-0 = reboot
    491 menu-0-0-exec = menu-open-1
    492 menu-0-1 = power off
    493 menu-0-1-exec = menu-open-2
    494 
    495 menu-1-0 = cancel
    496 menu-1-0-exec = menu-open-0
    497 menu-1-1 = reboot
    498 menu-1-1-exec = sudo reboot
    499 
    500 menu-2-0 = power off
    501 menu-2-0-exec = sudo poweroff
    502 menu-2-1 = cancel
    503 menu-2-1-exec = menu-open-0
    504 
    505 [settings]
    506 screenchange-reload = true
    507 ;compositing-background = xor
    508 ;compositing-background = screen
    509 ;compositing-foreground = source
    510 ;compositing-border = over
    511 ;pseudo-transparency = false
    512 
    513 [global/wm]
    514 margin-top = 0
    515 margin-bottom = 0
    516 
    517 ; vim:ft=dosini