diff --git a/.config/polybar/config b/.config/polybar/config index eb1dd0d..5e9ad55 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -47,7 +47,7 @@ font-1 = FontAwesome:pixelsize=16;1 modules-left = i3 modules-center = xwindow -modules-right = filesystem volume xkeyboard memory cpu eth date powermenu +modules-right = filesystem volume xkeyboard memory cpu eth date battery powermenu tray-position = right tray-padding = 2 @@ -155,7 +155,7 @@ label = %percentage_used%% [module/eth] type = internal/network -interface = enp4s0 +interface = wlp3s0 interval = 3.0 format-connected-underline = #55aa55 @@ -168,6 +168,34 @@ format-disconnected = ;format-disconnected-underline = ${self.format-connected-underline} ;label-disconnected = %ifname% disconnected ;label-disconnected-foreground = ${colors.foreground-alt} +[module/battery] +type = internal/battery +full-at = 99 +battery = BAT0 +adapter = ADP1 +time-format = %H:%M + +format-charging = +format-discharging = +label-charging = %percentage%% +label-discharging = %percentage%% +label-full = Fully charged + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  +bar-capacity-width = 10 +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +; Framerate in milliseconds +animation-charging-framerate = 500 + +poll-interval = 5 [module/date] type = internal/date diff --git a/install.sh b/install.sh index d6ad318..58a05af 100755 --- a/install.sh +++ b/install.sh @@ -37,8 +37,8 @@ do cd ../yaourt makepkg -sri cd .. - rm package-query* yaourt* - sudo yaourt -S zsh zsh-syntax-highlighting i3blocks neovim i3-wm i3lock-color-git ctags alacritty-scrollback-git + rm -r package-query* yaourt* + yaourt -S zsh zsh-syntax-highlighting i3blocks neovim i3-wm i3lock-color-git ctags alacritty-scrollback-git polybar mplayer udiskie nitrogen compton dunst megasync parcellite rofi terminus terminess-powerline-font-git ttf-font-awesome-4 openssh symlink_dotfiles fi