Updated.
This commit is contained in:
178
polybar/config
Normal file
178
polybar/config
Normal file
@ -0,0 +1,178 @@
|
||||
[colors]
|
||||
;background = ${xrdb:color0:#222}
|
||||
background =
|
||||
background-alt = #444
|
||||
;foreground = ${xrdb:color7:#222}
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #555
|
||||
primary = #ffb52a
|
||||
secondary = #e60053
|
||||
alert = #bd2c40
|
||||
|
||||
[bar/top]
|
||||
width = 1900
|
||||
height = 30
|
||||
|
||||
#background = #df1D1F21
|
||||
background = #ee0c181d
|
||||
foreground = #ccffffff
|
||||
|
||||
border-color = #00000000
|
||||
|
||||
offset-y = 10
|
||||
offset-x = 10
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
spacing = 1
|
||||
module-margin-left = 1
|
||||
|
||||
font-0 = RobotoMono:size=10;2
|
||||
font-1 = MaterialIcons;3
|
||||
|
||||
modules-left = bspwm
|
||||
modules-right = xbps-updates pulseaudio-control brightnessctl wireless-network battery date
|
||||
;modules-center = bspwm
|
||||
fixed-center = true
|
||||
|
||||
tray-position = right
|
||||
|
||||
[module/bt-status]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/bt-status.sh
|
||||
click-left = blueman-manager
|
||||
format-prefix = " "
|
||||
|
||||
[module/xbps-updates]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/xbps-updates.sh
|
||||
interval = 60
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
[module/pulseaudio-control]
|
||||
type = custom/script
|
||||
tail = true
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
exec = ~/.config/polybar/scripts/pulseaudio-control.bash --icons-volume ", , " --icon-muted "" --sink-nicknames-from "alsa.card_name" --sink-nickname "usb-Topping_D30-00.analog-stereo: D30" --sink-nickname "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor: Speakers" listen
|
||||
click-right = exec pavucontrol &
|
||||
click-left = ~/.config/polybar/scripts/pulseaudio-control.bash togmute
|
||||
click-middle = ~/.config/polybar/scripts/pulseaudio-control.bash --sink-blacklist "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor" next-sink
|
||||
scroll-up = ~/.config/polybar/scripts/pulseaudio-control.bash --volume-max 130 up
|
||||
scroll-down = ~/.config/polybar/scripts/pulseaudio-control.bash --volume-max 130 down
|
||||
|
||||
[module/brightnessctl]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/brightnessctl.sh
|
||||
|
||||
scroll-up = exec brightnessctl set +5%
|
||||
scroll-down = exec brightnessctl set 5%-
|
||||
interval = 0.5
|
||||
|
||||
label = %output%
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
|
||||
[module/crypto]
|
||||
type = custom/script
|
||||
interval = 60
|
||||
exec = ~/.config/polybar/scripts/pcrypto.py --base USD --coins btc eth ada --apikey coinranking667e22ef80713a74e538696d841e19ade62f38679290e928
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT1
|
||||
adapter = ACAD
|
||||
full-at = 98
|
||||
|
||||
click-left = ~/.config/polybar/scripts/bat_toggle.sh
|
||||
format-charging = <label-charging>
|
||||
format-discharging = <ramp-capacity><label-discharging>
|
||||
format-full = <ramp-capacity><label-full>
|
||||
|
||||
format-charging-foreground = #90C2E7
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-0-foreground = #DB5461
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-1-foreground = #E9C46A
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-2-foreground = #E9C46A
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-3-foreground = #169873
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-4-foreground = #169873
|
||||
|
||||
bar-capacity-width = 10
|
||||
bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
|
||||
bar-capacity-fill = █
|
||||
bar-capacity-fill-foreground = #ddffffff
|
||||
bar-capacity-fill-font = 3
|
||||
bar-capacity-empty = █
|
||||
bar-capacity-empty-font = 3
|
||||
bar-capacity-empty-foreground = #44ffffff
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
label-focused = ""
|
||||
label-focused-background= ${colors.foreground-alt}
|
||||
label-focused-padding = 1
|
||||
|
||||
label-occupied = ""
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = ""
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = ""
|
||||
label-empty-foreground = ${colors.foreground-alt}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
date = %H:%M
|
||||
; full date: %Y-%m-%d %H:%M:%S
|
||||
|
||||
[module/wireless-network]
|
||||
type = internal/network
|
||||
interface = wlp8s0
|
||||
interval = 5.0
|
||||
ping-interval = 10
|
||||
|
||||
label-connected = %essid%
|
||||
format-connected = <ramp-signal><label-connected>
|
||||
label-disconnected =
|
||||
label-disconnected-foreground = #66
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
|
||||
animation-packetloss-0 =
|
||||
animation-packetloss-0-foreground = #ffa64c
|
||||
animation-packetloss-1 =
|
||||
animation-packetloss-1-foreground = ${bar/top.foreground}
|
||||
animation-packetloss-framerate = 500
|
||||
|
||||
[module/volume]
|
||||
type = internal/volume
|
||||
speaker-mixer = Speaker
|
||||
headphone-mixer = Headphone
|
||||
headphone-id = 9
|
||||
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
label-muted = muted
|
||||
label-muted-foreground = #66
|
||||
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
|
||||
; vim:ft=dosini
|
Reference in New Issue
Block a user