Change telegram from apt to binary
This commit is contained in:
parent
8c88a4cea6
commit
c87ea36c67
|
@ -33,12 +33,19 @@ ubuntu-wallpapers-jammy `# backgrounds` \
|
|||
xfe `# classic file manager` \
|
||||
surf `# suckless lightweight browser` \
|
||||
micro `# lightweight editor` \
|
||||
telegram-desktop \
|
||||
psmisc `# pstree etc.` \
|
||||
slack \
|
||||
firefox \
|
||||
python3
|
||||
|
||||
|
||||
# install telegram
|
||||
if [ ! -f telegram.tar.xz ]
|
||||
then
|
||||
curl -L https://telegram.org/dl/desktop/linux -o telegram.tar.xz
|
||||
fi
|
||||
tar -xf telegram.tar.xz
|
||||
rm -f telegram.tar.xz
|
||||
sudo mv Telegram /opt/
|
||||
|
||||
# remove snap cause I hate it
|
||||
sudo systemctl disable --now snapd
|
||||
|
@ -87,8 +94,11 @@ echo "xhost +local:" > $HOME/.dwm/autostart.sh # give permissions to display
|
|||
echo "xcompmgr &" >> $HOME/.dwm/autostart.sh # for st opacity
|
||||
echo "xwallpaper --stretch /usr/share/backgrounds/Blue_flower_by_Elena_Stravoravdi.jpg" >> $HOME/.dwm/autostart.sh # background
|
||||
echo "firefox &" >> $HOME/.dwm/autostart.sh
|
||||
echo "telegram-desktop &" >> $HOME/.dwm/autostart.sh
|
||||
echo "Telegram &" >> $HOME/.dwm/autostart.sh
|
||||
echo "st &" >> $HOME/.dwm/autostart.sh
|
||||
chmod +x $HOME/.dwm/autostart.sh
|
||||
|
||||
sudo timedatectl set-timezone Europe/Moscow
|
||||
|
||||
sudo bash -c "echo 'PATH=\$(find /opt/ -executable -type f | grep -v \.so | xargs dirname | uniq | paste -s -d : | xargs -I _ echo \$PATH:_)' > /etc/profile.d/opt.sh"
|
||||
|
||||
|
|
Loading…
Reference in New Issue