Update berry, i3, neofetch config & add ip scripts

This commit is contained in:
Smirnov Olexandr 2020-12-14 20:12:03 +02:00
parent 4f7f44d7f4
commit e6bd4f6c12
11 changed files with 85 additions and 120 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash
killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar -c ~/.config/berry/polybar/polybar top &
polybar -c ~/.config/berry/polybar/polybar bom &
#polybar -c ~/.config/berry/polybar/polybar top &
#polybar -c ~/.config/berry/polybar/polybar bom &
polybar -c ~/.config/berry/polybar/polybar bar &

View file

@ -2,38 +2,25 @@
pseudo-transparency = true
[colors]
background = #002B36
foreground = #dfdfdf
secondary = #073642
alert = #268bd2
background = #262A2B
foreground = #FFFFFF
secondary = #CED4DA
alert = #DD6C6B
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[bar/top]
width = 14%
height = 22
[bar/bar]
height = 24
override-redirect = false
background = ${colors.background}
foreground = ${colors.foreground}
offset-x = 85.8%
offset-y = 0.4%
module-margin-left = 1
module-margin-right = 1
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
modules-center = keyboard pulseaudio wifi-signal time
[bar/bom]
width = 6%
height = 22
bottom = true
offset-x = 93.8%
offset-y = 0.4%
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
background = ${colors.background}
foreground = ${colors.foreground}
modules-left = t
tray-position = center
padding-left = 3
padding-right = 3
font-0 = Iosevka Nerd Font:style=Medium:size=10;3
font-1 = FontAwesome5Free:style=Solid:size=8;2.5
modules-left = wifi-signal date
modules-center = wp
modules-right = keyboard pulseaudio backlight time
[module/backlight]
type = internal/xbacklight
@ -44,14 +31,14 @@ ramp-0 = 
[module/wifi-signal]
type = custom/script
label =  %output:%%
exec = ~/.config/polybar/scripts/wifi-signal.sh
exec = cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*'
interval = 3.0
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
label-volume-foreground = ${colors.foreground}
label-muted = 
ramp-volume-0 = 
ramp-volume-1 = 
@ -59,11 +46,6 @@ ramp-volume-2 = 
ramp-volume-3 = 
ramp-volume-4 = 
[module/updates-pacman]
type = custom/script
exec = ~/.config/polybar/scripts/updates-pacman-aur.sh
interval = 60
[module/keyboard]
type = internal/xkeyboard
label-NAME-maxlen = 10
@ -85,6 +67,16 @@ interval = 0
time = %H:%M
label =  %time%
[module/t]
type = custom/text
content = " "
[module/wp]
type = internal/xworkspaces
format = <label-state>
label-active = ×
label-empty = ·
label-urgent = ~
label-active-foreground = ${colors.foreground}
label-active-background = ${colors.background}
label-active-padding = 1
label-empty-foreground = ${colors.secondary}
label-empty-padding =
label-urgent-foreground = ${colors.alert}
label-urgent-padding = 1