switch from polybar to i3blocks

This commit is contained in:
Luke Smith 2018-04-22 19:03:18 -07:00
parent 38b6553168
commit a0432f3d56
3 changed files with 13 additions and 12 deletions

View file

@ -35,15 +35,15 @@ git clone https://github.com/lukesmithxyz/voidrice.git >/dev/null &&
rsync -va voidrice/ /home/$(whoami) >/dev/null &&
rm -rf voidrice >/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 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
#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 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...
git clone https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null
@ -57,7 +57,8 @@ git clone https://github.com/LukeSmithxyz/shortcut-sync.git >/dev/null &&
rm -rf shortcut-sync/ >/dev/null
dialog --infobox "Preparing welcome message..." 4 50
curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/src/welcome_i3 >> /home/$(whoami)/.config/i3/config
echo "exec_always --no-startup-id notify-send -i ~/.scripts/larbs.png '<b>Welcome to LARBS:</b> Press Super+F1 for the manual.' -t 10000" >> /home/$(whoami)/.config/i3/config
dialog --infobox "Reseting Pulseaudio..." 4 50
killall pulseaudio >/dev/null

View file

@ -24,6 +24,7 @@ gnome-keyring,,system keyring,
highlight,r,ranger previews highlighted,
htop-vim-git,D,system info,
i3-gaps,,window manager,
i3blocks,,status bar,
i3lock,,screen lock,
imagemagick,D,"image conversion and modification, lock screen",
libcaca,r,,
@ -65,7 +66,6 @@ sc-im,,spreadsheet manager,
screenfetch,D,system stats,
screenkey,,screencasting keyboard view,
scrot,D,screenshots,
siji-git,p,polybar font symbols,
speedometer,,internet traffic view,
texlive-lang,X,LaTeX packages,
texlive-most,X,LaTeX packages,
@ -84,7 +84,6 @@ vim-live-latex-preview,X,latex preview,
vim-pathogen,,vim package manager,
w3m,?,,
wget,,,
wireless_tools,p,polybar wifi module,
xcape,,for double mapping of escape,
xdotool,,moving windows on command,
xfce-theme-blackbird,,dark theme,

1 arandr gui adjustment of screen
24 highlight r ranger previews highlighted
25 htop-vim-git D system info
26 i3-gaps window manager
27 i3blocks status bar
28 i3lock screen lock
29 imagemagick D image conversion and modification, lock screen
30 libcaca r
66 screenfetch D system stats
67 screenkey screencasting keyboard view
68 scrot D screenshots
siji-git p polybar font symbols
69 speedometer internet traffic view
70 texlive-lang X LaTeX packages
71 texlive-most X LaTeX packages
84 vim-pathogen vim package manager
85 w3m ?
86 wget
wireless_tools p polybar wifi module
87 xcape for double mapping of escape
88 xdotool moving windows on command
89 xfce-theme-blackbird dark theme

View file

@ -7,3 +7,4 @@ for_window [instance="welcome"] resize set 625 400
for_window [instance="welcome"] border pixel 0
# WARNING! While the above welcome message is there, do not place commands below it!
# They will be deleted by the "hello" bash command.
exec --no-startup-id notify-send -i ~/.scripts/larbs.png "Welcome to LARBS!"