Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [colors]
- background = #000000
- background-alt = #444
- foreground = #ffffff
- foreground-alt = #555
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- underline-1 = #003300
- underline-2 = #006700
- white = #ffffff
- [bar/mybar]
- wm-restack = i3
- bottom = true
- fixed-center = true
- width = 100%
- height = 30
- padding-right = 3
- font-0 = Gentium Plus:size=14:antialias=true;0
- font-1 = FontAwesome:size=14:antialias=true;2
- font-2 = FontAwesome5FreeSolid:size=14:antialias=true;2
- tray-position = right
- tray-padding = 2
- module-margin-left = 1
- modules-left = pulseaudio-control mpd
- modules-right = wlan memory cpu battery date
- module-margin-right = 1
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 3
- line-color = #f00
- border-size = 4
- border-color = #00000000
- ;tray-background = #0063ff
- cursor-click = pointer
- cursor-scroll = ns-resize
- [module/battery]
- type = internal/battery
- battery = BAT0
- adapter = ADP0
- full-at = 97
- label-charging = %percentage:02%%
- label-discharging = %percentage:02%%
- label-full = 97%
- format-charging = <animation-charging> <label-charging>
- format-charging-underline = ${colors.underline-2}
- format-discharging = <animation-discharging> <label-discharging>
- format-discharging-underline = ${colors.underline-2}
- format-full = %{T2}%{T-} <label-full>
- format-full-underline = ${colors.underline-2}
- animation-charging-0 = %{T2}%{T-}
- animation-charging-1 = %{T2}%{T-}
- animation-charging-2 = %{T2}%{T-}
- animation-charging-3 = %{T2}%{T-}
- animation-charging-4 = %{T2}%{T-}
- animation-charging-foreground = ${colors.white}
- animation-charging-framerate = 750
- animation-discharging-0 = %{T2}%{T-}
- animation-discharging-1 = %{T2}%{T-}
- animation-discharging-2 = %{T2}%{T-}
- animation-discharging-3 = %{T2}%{T-}
- animation-discharging-4 = %{T2}%{T-}
- animation-discharging-foreground = ${colors.white}
- animation-discharging-framerate = 750
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-underline = ${colors.underline-1}
- label = %{T2}%{T-} %percentage:02%%
- [module/date]
- type = internal/date
- interval = 5
- date = %Y-%m-%d
- date-alt = " %Y-%m-%d"
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = ${colors.underline-1}
- label = %{T2}%{T-} %date% %time%
- [module/eth]
- type = internal/network
- interface = enp0s31f6
- interval = 3.0
- format-connected-underline = #55aa55
- format-connected-prefix = " "
- format-connected-prefix-foreground = ${colors.foreground-alt}
- label-connected = %local_ip%
- format-disconnected =
- ;format-disconnected = <label-disconnected>
- ;format-disconnected-underline = ${self.format-connected-underline}
- ;label-disconnected = %ifname% disconnected
- ;label-disconnected-foreground = ${colors.foreground-alt}
- [module/filesystem]
- type = internal/fs
- interval = 25
- mount-0 = /
- label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${colors.foreground-alt}
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- wrapping-scroll = false
- ; Only show workspaces on the same output as the bar
- ;pin-workspaces = true
- label-mode-padding = 2
- label-mode-foreground = #000
- label-mode-background = ${colors.primary}
- ; focused = Active workspace on focused monitor
- label-focused = %index%
- label-focused-background = ${colors.background-alt}
- label-focused-underline= ${colors.primary}
- label-focused-padding = 2
- ; unfocused = Inactive workspace on any monitor
- label-unfocused = %index%
- label-unfocused-padding = 2
- ; visible = Active workspace on unfocused monitor
- label-visible = %index%
- label-visible-background = ${self.label-focused-background}
- label-visible-underline = ${self.label-focused-underline}
- label-visible-padding = ${self.label-focused-padding}
- ; urgent = Workspace with urgency hint set
- label-urgent = %index%
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 2
- ; Separator in between workspaces
- ; label-separator = |
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = ${colors.underline-2}
- label = %{T2}%{T-} %percentage_used%%
- [module/mpd]
- type = internal/mpd
- format-online = <icon-prev> <icon-stop> <toggle> <icon-next>
- format-online-underline = ${colors.underline-2}
- icon-prev =
- icon-stop =
- icon-play =
- icon-pause =
- icon-next =
- label-song-maxlen = 25
- label-song-ellipsis = true
- [module/pulseaudio-control]
- type = custom/script
- tail = true
- label = %output%
- format-underline = ${colors.underline-1}
- exec = ~/.config/polybar/scripts/pulseaudio-control.sh --listen
- click-left = ~/.config/polybar/scripts/pulseaudio-control.sh --down
- click-right = ~/.config/polybar/scripts/pulseaudio-control.sh --up
- click-middle = ~/.config/polybar/scripts/pulseaudio-control.sh --togmute
- label-padding = 2
- label-foreground = ${colors.foreground}
- [module/wlan]
- type = internal/network
- interface = wlp2s0
- interval = 3.0
- format-connected = <ramp-signal> <label-connected>
- format-connected-underline = ${colors.underline-1}
- label-connected = %{T2}%{T-} %essid% %{T2}%{T-} %signal%%
- format-disconnected =
- ;format-disconnected = <label-disconnected>
- ;format-disconnected-underline = ${self.format-connected-underline}
- ;label-disconnected = %ifname% disconnected
- ;label-disconnected-foreground = ${colors.foreground-alt}
- ramp-signal-0 =
- ramp-signal-1 =
- ramp-signal-2 =
- ramp-signal-3 =
- ramp-signal-4 =
- ramp-signal-foreground = ${colors.foreground-alt}
- [settings]
- screenchange-reload = true
- ;compositing-background = xor
- ;compositing-background = screen
- ;compositing-foreground = source
- ;compositing-border = over
- ;pseudo-transparency = false
- [global/wm]
- margin-top = 5
- margin-bottom = 5
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement