config

betoissues' dotfiles
git clone git://git.betoissues.com/config.git
Historial | Archivos | Refs | Submódulos | README

config (3973B)


      1 [colors]
      2 background = #1d2021
      3 background-alt = #444
      4 foreground = #ebdbb2
      5 foreground-alt = #888
      6 primary = #ffb52a
      7 secondary = #e60053
      8 alert = #bd2c40
      9 dark-red = #cc241d
     10 red = #fb4934
     11 dark-yellow = #d79921
     12 yellow = #fabd2f
     13 
     14 [bar/main]
     15 monitor = ${env:MONITOR:HDMI-0}
     16 width = 100%
     17 height = 30px
     18 radius = 0
     19 fixed-center = true
     20 bottom = true
     21 override-redirect = true
     22 wm-restack = i3
     23 
     24 background = ${colors.background}
     25 foreground = ${colors.foreground}
     26 
     27 border-size = 1
     28 line-size = 3
     29 padding = 1
     30 module-margin = 1
     31 
     32 font-0 = "Fira Code:style=Medium:size=10"
     33 font-1 = "Symbols Nerd Font:size=12;0.9"
     34 font-2 = "cryptocoins:size=12;0.9"
     35 font-3 = "WenQuanYi Zen Hei Mono:size=10;1"
     36 
     37 modules-left = gmail spotify
     38 modules-right = network pulseaudio date
     39 
     40 tray-position = right
     41 tray-padding = 2
     42 tray-maxsize = 24
     43 
     44 [global/wm]
     45 margin-top = 0
     46 
     47 [module/xkeyboard]
     48 type = internal/xkeyboard
     49 
     50 ; List of indicators to ignore
     51 blacklist-0 = num lock
     52 blacklist-1 = scroll lock
     53 
     54 format = <label-layout>
     55 label-layout = ⌨ %icon%
     56 format-underline = ${colors.dark-red}
     57 layout-icon-0 = us;us
     58 layout-icon-1 = latam;la
     59 
     60 [module/gmail]
     61 type = custom/script
     62 exec = ~/.config/polybar/gmail/launch.py -ns -c '#fb4934' -p ''
     63 tail = true
     64 format-underline = ${colors.dark-yellow}
     65 click-left = xdg-open https://mail.google.com
     66 
     67 [module/pulseaudio]
     68 type = custom/script
     69 tail = true
     70 format-underline = ${colors.dark-yellow}
     71 
     72 exec = ~/.config/polybar/pulseaudio/pulseaudio-control.bash listen
     73 click-left = ~/.config/polybar/pulseaudio/pulseaudio-control.bash togmute
     74 click-right = ~/.config/polybar/pulseaudio/pulseaudio-control.bash next-sink
     75 scroll-up = ~/.config/polybar/pulseaudio/pulseaudio-control.bash up
     76 scroll-down = ~/.config/polybar/pulseaudio/pulseaudio-control.bash down
     77 label-foreground = ${colors.foreground}
     78 
     79 [module/network]
     80 type = internal/network
     81 interface = enp39s0
     82 interval = 5.0
     83 
     84 format-connected-underline = ${colors.dark-yellow}
     85 label-connected = " %upspeed%    %downspeed%"
     86 
     87 label-disconnected = ❎ not connected
     88 
     89 [module/spotify]
     90 type = custom/script
     91 interval = 1
     92 format =  <label>
     93 exec = python ~/.config/polybar/spotify/spotify_status.py -f '{play_pause}{artist} - {song}' -p ',[paused] '
     94 click-left = playerctl play-pause
     95 click-right = spotify
     96 format-underline = ${colors.dark-yellow}
     97 
     98 [module/date]
     99 type = internal/date
    100 interval = 5
    101 
    102 date =
    103 date-alt = "%a %b %d "
    104 
    105 time = %H:%M
    106 time-alt = %H:%M%
    107 
    108 format-prefix =
    109 format-underline = ${colors.dark-yellow}
    110 
    111 label = %date%%time%
    112 
    113 [module/brightness]
    114 type = internal/xbacklight
    115 
    116 enable-scroll = true
    117 format = <ramp> <label>
    118 
    119 label = %percentage%%
    120 
    121 ; Only applies if <ramp> is used
    122 ramp-0 = 🌕
    123 ramp-1 = 🌔
    124 ramp-2 = 🌓
    125 ramp-3 = 🌒
    126 ramp-4 = 🌑
    127 
    128 format-underline = #ffb52a
    129 
    130 [module/battery]
    131 type = internal/battery
    132 battery = BAT0
    133 adapter = AC
    134 full-at = 98
    135 
    136 format-charging = <label-charging>
    137 format-charging-underline = #ffb52a
    138 
    139 format-discharging = <ramp-capacity> <label-discharging>
    140 format-discharging-underline = ${self.format-charging-underline}
    141 
    142 format-full = <label-full>
    143 format-full-underline = ${self.format-charging-underline}
    144 
    145 ramp-capacity-0 = ⚋
    146 ramp-capacity-1 = ⚊
    147 ramp-capacity-2 = ⚍
    148 ramp-capacity-3 = ⚌
    149 ramp-capacity-foreground = ${colors.foreground}
    150 
    151 label-charging = ⚡ %percentage%%
    152 label-discharging = %percentage%%
    153 label-full = " ☀ "
    154 
    155 [module/battery2]
    156 type = internal/battery
    157 battery = BAT1
    158 adapter = AC
    159 full-at = 98
    160 
    161 format-charging = <label-charging>
    162 format-charging-underline = #ffb52a
    163 
    164 format-discharging = <ramp-capacity> <label-discharging>
    165 format-discharging-underline = ${self.format-charging-underline}
    166 
    167 format-full = <label-full>
    168 format-full-underline = ${self.format-charging-underline}
    169 
    170 ramp-capacity-0 = ⚋
    171 ramp-capacity-1 = ⚊
    172 ramp-capacity-2 = ⚍
    173 ramp-capacity-3 = ⚌
    174 ramp-capacity-foreground = ${colors.foreground-alt}
    175 
    176 label-charging = ⚡ %percentage%%
    177 label-discharging = %percentage%%
    178 label-full = " ☀ "
    179 
    180 [settings]
    181 screenchange-reload = true
    182 
    183 ; vim:ft=dosini