Updated bspwmrc, polybar scripts.

This commit is contained in:
Salyrus
2021-12-05 09:38:44 +01:00
parent 5f7b0fda75
commit 8e93f468ef
6 changed files with 283 additions and 32 deletions

View File

@ -26,18 +26,18 @@ padding-left = 0
padding-right = 1
spacing = 1
module-margin = 1
module-margin-left = 1
font-0 = RobotoMono:size=10;1
font-1 = coins:style=Regular;1
font-2 = FontAwesome;1
font-3 = MaterialIcons;1
font-0 = RobotoMono:size=10;2
font-1 = MaterialIcons;3
modules-left = bspwm
modules-right = xbps-updates pulseaudio-control brightnessctl bt-status wireless-network wired-network battery date
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
@ -55,7 +55,7 @@ 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
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
@ -68,9 +68,8 @@ exec = ~/.config/polybar/scripts/brightnessctl.sh
scroll-up = exec brightnessctl set +5%
scroll-down = exec brightnessctl set 5%-
interval = 1
interval = 0.5
format-prefix = " "
label = %output%
label-foreground = ${colors.foreground}
@ -89,21 +88,21 @@ adapter = ACAD
full-at = 98
click-left = ~/.config/polybar/scripts/bat_toggle.sh
format-charging = <label-charging>
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 =
ramp-capacity-0-foreground = #DB5461
ramp-capacity-1 =
ramp-capacity-1 =
ramp-capacity-1-foreground = #E9C46A
ramp-capacity-2 =
ramp-capacity-2 =
ramp-capacity-2-foreground = #E9C46A
ramp-capacity-3 =
ramp-capacity-3 =
ramp-capacity-3-foreground = #169873
ramp-capacity-4 =
ramp-capacity-4 =
ramp-capacity-4-foreground = #169873
bar-capacity-width = 10
@ -118,24 +117,25 @@ bar-capacity-empty-foreground = #44ffffff
[module/bspwm]
type = internal/bspwm
label-focused = ""
label-focused = ""
label-focused-background= ${colors.foreground-alt}
label-focused-padding = 1
label-occupied = ""
label-occupied = ""
label-occupied-padding = 1
label-urgent = ""
label-urgent = ""
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = ""
label-empty = ""
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 1
[module/date]
type = internal/date
date = %Y-%m-%d %H:%M:%S
date = %H:%M
; full date: %Y-%m-%d %H:%M:%S
[module/wireless-network]
type = internal/network
@ -143,19 +143,20 @@ interface = wlp8s0
interval = 5.0
ping-interval = 10
format-connected = <ramp-signal>
label-disconnected = 
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 =
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 =
animation-packetloss-1-foreground = ${bar/top.foreground}
animation-packetloss-framerate = 500
@ -166,7 +167,7 @@ headphone-mixer = Headphone
headphone-id = 9
format-volume = <ramp-volume> <label-volume>
label-muted =  muted
label-muted =  muted
label-muted-foreground = #66
ramp-volume-0 = 