Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; setup
- [colors]
- background = #363533
- background-alt = #444
- foreground = #dfdfdf
- foreground-alt = #555
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- [bar/default]
- width = 100%
- height = 32
- radius = 6.0
- fixed-center = false
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 3
- line-color = #f00
- border-size = 4
- border-color = #00000000
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 2
- font-0 = fixed:pixelsize=11;1
- font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
- font-2 = siji:pixelsize=11;1
- modules-left = polywins
- modules-center =
- modules-right = pulseaudio memory filesystem temperature cpu wlan0 wlp2s0 wlp3s0 battery fujitsu-battery date
- tray-position = right
- tray-padding = 2
- cursor-click = pointer
- cursor-scroll = ns-resize
- [settings]
- screenchange-reload = true
- [global/wm]
- margin-top = 5
- margin-bottom = 5
- ; polywins
- [module/polywins]
- ; install wmctrl and slop
- type = custom/script
- exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
- format = <label>
- label = %output%
- label-padding = 1
- tail = true
- ; pulseaudio
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume = <label-volume>
- label-volume = vol: %percentage%%
- label-volume-foreground = ${root.foreground}
- label-muted = 🔇 muted
- label-muted-foreground = #666
- ; memory module
- [module/memory]
- type = internal/memory
- interval = 2
- format = <label>
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline =
- label = %mb_used% / %gb_total%
- ; disk module
- [module/filesystem]
- type = internal/fs
- interval = 25
- fixed-values = true
- mount-0 = /
- mount-1 = /media/internal
- label-mounted = %{F#dfdfdf}%mountpoint%: %used% / %total%
- label-unmounted = internal not mounted!
- label-unmounted-foreground = ${colors.foreground-alt}
- ; temperature
- [module/temperature]
- type = internal/temperature
- interval = 0.5
- thermal-zone = 1
- hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
- base-temperature = 20
- warn-temperature = 80
- ; cpu
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #00dd00
- label = cpu: %percentage:2%%
- ; wlan
- [module/wlan0]
- type = internal/network
- interface = wlan0
- interval = 3.0
- format-connected = <label-connected>
- format-connected-underline = #00dd00
- label-connected = wlan: %signal%
- format-disconnected =
- [module/wlp3s0]
- type = internal/network
- interface = wlp3s0
- interval = 3.0
- format-connected = <label-connected>
- format-connected-underline = #00dd00
- label-connected = wlan: %signal%
- format-disconnected =
- ; battery
- [module/battery]
- type = internal/battery
- battery = BAT0
- adapter = AC
- full-at = 98
- format-charging = <label-charging>
- format-charging-underline = #ffb52a
- label-charging = bat: %percentage%%
- format-discharging = <label-discharging>
- format-discharging-underline = ${self.format-charging-underline}
- label-discharging = bat: %percentage%%
- format-full-prefix = " "
- format-full-prefix-foreground = ${colors.foreground-alt}
- format-full-underline = #00dd00
- label-full = bat: %percentage%%
- [module/fujitsu-battery]
- type = internal/battery
- battery = CMB1
- adapter = AC
- full-at = 98
- format-charging = <label-charging>
- format-charging-underline = #ffb52a
- label-charging = bat: %percentage%%
- format-discharging = <label-discharging>
- format-discharging-underline = ${self.format-charging-underline}
- label-discharging = bat: %percentage%%
- format-full-prefix = " "
- format-full-prefix-foreground = ${colors.foreground-alt}
- format-full-underline = #00dd00
- label-full = bat: %percentage%%
- ; date/time
- [module/date]
- type = internal/date
- interval = 5
- date =
- date-alt = " %a, %b %d "
- time = "%I:%M %P"
- time-alt =
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline =
- label = %date% %time%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement