plugfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

config (6482B)


      1 ;--------;
      2 ; COLORS ;
      3 ;--------;
      4 [colors]
      5 background = ${xrdb:color1:#222}
      6 background-alt = #444
      7 foreground = #000000
      8 foreground-alt = #000000
      9 primary = ${xrdb:color3:#222}
     10 secondary = ${xrdb:color14:#222}
     11 c1 = ${xrdb:color4:#222}
     12 c2 = ${xrdb:color5:#222}
     13 c3 = ${xrdb:color6:#222}
     14 c4 = ${xrdb:color7:#222}
     15 border-color = 0
     16 alert = #dd0000
     17 
     18 
     19 [bar/example]
     20 ;------------;
     21 ; DIMENSIONS ;
     22 ;------------;
     23 width = 100%
     24 height = 27
     25 offset-y = 0
     26 offset-x = 0
     27 radius = 10.0
     28 border-size = 0
     29 
     30 background = ${colors.background}
     31 foreground = ${colors.foreground}
     32 line-size = 6
     33 line-color = #f00
     34 
     35 
     36 ;----------;
     37 ; LOCATION ;
     38 ;----------;
     39 bottom = false
     40 monitor = ${env:MONITOR:}
     41 
     42 
     43 ;-------;
     44 ; FONTS ;
     45 ;-------;
     46 font-0 = Inconsolata:style=Regular:size=14;
     47 font-1 = unifont:fontformat=truetype:size=16:antialias=false;0
     48 font-2 = siji:pixelsize=16;1
     49 font-3 = Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
     50 font-4 = Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
     51 font-5 = "Noto Color Emoji:pixelsize=16:style=Regular:scale=10;2"
     52 
     53 ;---------------;
     54 ; MISCELLANEOUS ;
     55 ;---------------;
     56 
     57 fixed-center = true
     58 padding-left = 2
     59 padding-right = 2
     60 module-margin = 1.5
     61 
     62 modules-left = i3 crypto nordstat
     63 modules-center = optimusgfx
     64 modules-right = volume memory cpu wlan battery temperature date powermenu
     65 
     66 tray-position = none
     67 tray-detached = true
     68 
     69 
     70 ;---------;
     71 ; MODULES ;
     72 ;---------;
     73 
     74 [module/corona]
     75 type = custom/script
     76 exec = echo `corona`
     77 interval = 600
     78 format-prefix-font = 5
     79 
     80 [module/nordstat]
     81 type = custom/script
     82 exec = echo "VPN:`nordstat`"
     83 interval = 5
     84 
     85 [module/crypto]
     86 type = custom/script
     87 exec = crypto
     88 interval = 60
     89 
     90 [module/optimusgfx]
     91 type = custom/script
     92 exec = optimus-manager --print-mode | grep mode | tr " " \\n | tail -1
     93 interval = 60
     94 
     95 [module/mpd]
     96 type = internal/mpd
     97 label-offline = mpd is offline
     98 format-online = <icon-prev> <toggle> <icon-next> <label-song>
     99 format-offline = <label-offline>
    100 host = 127.0.0.1
    101 port = 6600
    102 icon-prev = 
    103 icon-stop = 
    104 icon-play = 
    105 icon-pause = 
    106 icon-next = 
    107 label-song-maxlen = 25
    108 label-song-ellipsis = true
    109 bar-progress-width = 10
    110 bar-progress-indicator = |
    111 bar-progress-fill = ─
    112 bar-progress-empty = ─
    113 
    114 [module/volume]
    115 type = internal/alsa
    116 format-volume = VOL: <label-volume>
    117 format-muted = 🔈 0%
    118 ramp-volume-0 = 🔈
    119 ramp-volume-1 = 🔉
    120 ramp-volume-2 = 🔊
    121 
    122 [module/memory]
    123 type = internal/memory
    124 interval = 2
    125 format-prefix = " "
    126 format-prefix-foreground = ${colors.foreground-alt}
    127 format-underline = ${colors.c1}
    128 label = RAM: %percentage_used%%
    129 
    130 [module/cpu]
    131 type = internal/cpu
    132 interval = 2
    133 format-prefix = " "
    134 format-prefix-foreground = ${colors.foreground-alt}
    135 format-underline = ${colors.c2}
    136 label = CPU: %percentage:2%%
    137 
    138 [module/wlan]
    139 type = internal/network
    140 interface = wlp82s0
    141 interval = 3.0
    142 format-connected = <ramp-signal> <label-connected>
    143 format-connected-underline = ${colors.c3}
    144 label-connected = %essid%
    145 format-disconnected =
    146 ;format-disconnected = <label-disconnected>
    147 format-disconnected-underline = #ff0000
    148 ;label-disconnected = %ifname% disconnected
    149 ;label-disconnected-foreground = ${colors.foreground-alt}
    150 ramp-signal-0 = 
    151 ramp-signal-1 = 
    152 ramp-signal-2 = 
    153 ramp-signal-3 = 
    154 ramp-signal-4 = 
    155 ramp-signal-foreground = ${colors.foreground-alt}
    156 
    157 
    158 [module/battery]
    159 type = internal/battery
    160 battery = BAT0
    161 adapter = AC
    162 full-at = 98
    163 format-charging = <animation-charging> <label-charging>
    164 format-charging-underline = ${xrdb:color3:#222}
    165 format-discharging = <animation-discharging> <label-discharging>
    166 format-discharging-underline = ${self.format-charging-underline}
    167 format-full-prefix = " "
    168 format-full-prefix-foreground = ${colors.foreground-alt}
    169 format-full-underline = ${self.format-charging-underline}
    170 ramp-capacity-0 = 
    171 ramp-capacity-1 = 
    172 ramp-capacity-2 = 
    173 ramp-capacity-foreground = ${colors.foreground-alt}
    174 animation-charging-0 = 
    175 animation-charging-1 = 
    176 animation-charging-2 = 
    177 animation-charging-foreground = ${colors.foreground-alt}
    178 animation-charging-framerate = 750
    179 animation-discharging-0 = 
    180 animation-discharging-1 = 
    181 animation-discharging-2 = 
    182 animation-discharging-foreground = ${colors.foreground-alt}
    183 animation-discharging-framerate = 750
    184 
    185 [module/date]
    186 type = internal/date
    187 interval = 5
    188 date =
    189 date-alt = " %Y-%m-%d"
    190 time = %H:%M
    191 time-alt = %H:%M:%S
    192 format-prefix = 
    193 format-prefix-foreground = ${colors.foreground-alt}
    194 format-underline = ${xrdb:color6:#222}
    195 label = %date% %time%
    196 
    197 [module/temperature]
    198 type = internal/temperature
    199 thermal-zone = 0
    200 warn-temperature = 80
    201 format = <ramp> <label>
    202 format-underline = ${xrdb:color4:#222}
    203 format-warn = <ramp> <label-warn>
    204 format-warn-underline = #ff0000
    205 label = %temperature-c%
    206 label-warn = %temperature-c%
    207 label-warn-foreground = ${colors.secondary}
    208 ramp-0 = 
    209 ramp-1 = 
    210 ramp-2 = 
    211 ramp-foreground = ${colors.foreground-alt}
    212 
    213 [module/powermenu]
    214 type = custom/menu
    215 expand-right = true
    216 format-spacing = 1
    217 label-open = 
    218 label-open-foreground = #000000
    219 label-close =  cancel
    220 label-close-foreground = ${colors.secondary}
    221 label-separator = |
    222 label-separator-foreground = ${colors.foreground-alt}
    223 menu-0-0 = reboot
    224 menu-0-0-exec = menu-open-1
    225 menu-0-1 = power off
    226 menu-0-1-exec = menu-open-2
    227 menu-0-2 = hibernate
    228 menu-0-2-exec = menu-open-3
    229 menu-1-0 = cancel
    230 menu-1-0-exec = menu-open-0
    231 menu-1-1 = reboot
    232 menu-1-1-exec = sudo reboot
    233 menu-2-0 = power off
    234 menu-2-0-exec = sudo poweroff
    235 menu-3-0 = hibernate
    236 menu-3-0-exec = sudo hibernate
    237 
    238 
    239 [module/i3]
    240 type = internal/i3
    241 format = <label-state> <label-mode>
    242 index-sort = true
    243 wrapping-scroll = false
    244 
    245 ; Only show workspaces on the same output as the bar
    246 ;pin-workspaces = true
    247 
    248 label-mode-padding = 2
    249 label-mode-foreground = #000
    250 label-mode-background = ${colors.primary}
    251 
    252 ; focused = Active workspace on focused monitor
    253 label-focused = %index%
    254 label-focused-background = ${colors.background-alt}
    255 label-focused-underline= ${colors.primary}
    256 label-focused-padding = 2
    257 
    258 ; unfocused = Inactive workspace on any monitor
    259 label-unfocused = %index%
    260 label-unfocused-padding = 2
    261 
    262 ; visible = Active workspace on unfocused monitor
    263 label-visible = %index%
    264 label-visible-background = ${self.label-focused-background}
    265 label-visible-underline = ${self.label-focused-underline}
    266 label-visible-padding = ${self.label-focused-padding}
    267 
    268 ; urgent = Workspace with urgency hint set
    269 label-urgent = %index%
    270 label-urgent-background = ${colors.alert}
    271 label-urgent-padding = 2
    272 
    273 ; Separator in between workspaces
    274 ; label-separator = |
    275