switch from polybar to i3blocks
This commit is contained in:
parent
38b6553168
commit
a0432f3d56
@ -35,15 +35,15 @@ git clone https://github.com/lukesmithxyz/voidrice.git >/dev/null &&
|
|||||||
rsync -va voidrice/ /home/$(whoami) >/dev/null &&
|
rsync -va voidrice/ /home/$(whoami) >/dev/null &&
|
||||||
rm -rf voidrice >/dev/null
|
rm -rf voidrice >/dev/null
|
||||||
|
|
||||||
dialog --infobox "Now compiling polybar. This is the last program, but may take some time..." 10 60
|
#dialog --infobox "Now compiling polybar. This is the last program, but may take some time..." 10 60
|
||||||
wifi=$(ls /sys/class/net | grep wl)
|
#wifi=$(ls /sys/class/net | grep wl)
|
||||||
eth=$(ls /sys/class/net | grep e)
|
#eth=$(ls /sys/class/net | grep e)
|
||||||
bat=$(ls /sys/class/power_supply | grep BAT)
|
#bat=$(ls /sys/class/power_supply | grep BAT)
|
||||||
adp=$(ls /sys/class/power_supply | grep ADP)
|
#adp=$(ls /sys/class/power_supply | grep ADP)
|
||||||
bl=$(ls /sys/class/backlight | grep _backlight)
|
#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/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
|
#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
|
#packer --noconfirm -S polybar || packer --noconfirm -S polybar-git
|
||||||
|
|
||||||
echo Downloading email setup...
|
echo Downloading email setup...
|
||||||
git clone https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null
|
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
|
rm -rf shortcut-sync/ >/dev/null
|
||||||
|
|
||||||
dialog --infobox "Preparing welcome message..." 4 50
|
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
|
dialog --infobox "Reseting Pulseaudio..." 4 50
|
||||||
killall pulseaudio >/dev/null
|
killall pulseaudio >/dev/null
|
||||||
|
@ -24,6 +24,7 @@ gnome-keyring,,system keyring,
|
|||||||
highlight,r,ranger previews highlighted,
|
highlight,r,ranger previews highlighted,
|
||||||
htop-vim-git,D,system info,
|
htop-vim-git,D,system info,
|
||||||
i3-gaps,,window manager,
|
i3-gaps,,window manager,
|
||||||
|
i3blocks,,status bar,
|
||||||
i3lock,,screen lock,
|
i3lock,,screen lock,
|
||||||
imagemagick,D,"image conversion and modification, lock screen",
|
imagemagick,D,"image conversion and modification, lock screen",
|
||||||
libcaca,r,,
|
libcaca,r,,
|
||||||
@ -65,7 +66,6 @@ sc-im,,spreadsheet manager,
|
|||||||
screenfetch,D,system stats,
|
screenfetch,D,system stats,
|
||||||
screenkey,,screencasting keyboard view,
|
screenkey,,screencasting keyboard view,
|
||||||
scrot,D,screenshots,
|
scrot,D,screenshots,
|
||||||
siji-git,p,polybar font symbols,
|
|
||||||
speedometer,,internet traffic view,
|
speedometer,,internet traffic view,
|
||||||
texlive-lang,X,LaTeX packages,
|
texlive-lang,X,LaTeX packages,
|
||||||
texlive-most,X,LaTeX packages,
|
texlive-most,X,LaTeX packages,
|
||||||
@ -84,7 +84,6 @@ vim-live-latex-preview,X,latex preview,
|
|||||||
vim-pathogen,,vim package manager,
|
vim-pathogen,,vim package manager,
|
||||||
w3m,?,,
|
w3m,?,,
|
||||||
wget,,,
|
wget,,,
|
||||||
wireless_tools,p,polybar wifi module,
|
|
||||||
xcape,,for double mapping of escape,
|
xcape,,for double mapping of escape,
|
||||||
xdotool,,moving windows on command,
|
xdotool,,moving windows on command,
|
||||||
xfce-theme-blackbird,,dark theme,
|
xfce-theme-blackbird,,dark theme,
|
||||||
|
|
@ -7,3 +7,4 @@ for_window [instance="welcome"] resize set 625 400
|
|||||||
for_window [instance="welcome"] border pixel 0
|
for_window [instance="welcome"] border pixel 0
|
||||||
# WARNING! While the above welcome message is there, do not place commands below it!
|
# WARNING! While the above welcome message is there, do not place commands below it!
|
||||||
# They will be deleted by the "hello" bash command.
|
# They will be deleted by the "hello" bash command.
|
||||||
|
exec --no-startup-id notify-send -i ~/.scripts/larbs.png "Welcome to LARBS!"
|
||||||
|
Loading…
Reference in New Issue
Block a user