larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 38b6553168435396e9f8072c4353131592c739fc
parent 3f7a95f5f6b18edbb0b6ecc875fd5ef3142a1c73
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat,  7 Apr 2018 13:30:10 -0700

Merge branch 'master' of github.com:LukeSmithxyz/LARBS

Diffstat:
Msrc/larbs_user.sh | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/larbs_user.sh b/src/larbs_user.sh @@ -37,8 +37,12 @@ git clone https://github.com/lukesmithxyz/voidrice.git >/dev/null && dialog --infobox "Now compiling polybar. This is the last program, but may take some time..." 10 60 wifi=$(ls /sys/class/net | grep wl) -eth=$(ls /sys/class/net | grep eth) +eth=$(ls /sys/class/net | grep e) +bat=$(ls /sys/class/power_supply | grep BAT) +adp=$(ls /sys/class/power_supply | grep ADP) +bl=$(ls /sys/class/backlight | grep _backlight) sed -i "s/wlp3s0/$wifi/g; s/enp0s25/$eth/g" /home/$(whoami)/.config/polybar/config /home/$(whoami)/.bashrc +sed -i "s/BAT0/$bat/g; s/ADP1/$adp/g; s/intel_backlight/$bl/g" /home/$(whoami)/.config/polybar/config packer --noconfirm -S polybar || packer --noconfirm -S polybar-git echo Downloading email setup...