Fix telegram

This commit is contained in:
Digital Studium 2024-06-02 22:02:43 +03:00
parent 176f1715c0
commit baed8efe69
1 changed files with 8 additions and 7 deletions

View File

@ -2,8 +2,9 @@
# install packages I need
sudo apt update
sudo apt install -y nala
sudo nala install -y \
sudo apt install -y \
xorg `# for graphics` \
x11-xserver-utils `# for graphics` \
make `# for compiling gui` \
gcc `# for compiling gui` \
libx11-dev `# for compiling dwm` \
@ -15,7 +16,7 @@ suckless-tools `# for dmenu` \
ncdu `# for disk usage analysys` \
brightnessctl `# for keyboard backlight` \
xcompmgr `# for st opacity` \
gnome-backgrounds `# for background` \
mate-backgrounds `# for background` \
xwallpaper `# for background` \
pulseaudio `# for sound` \
pavucontrol `# for audio control` \
@ -26,8 +27,7 @@ surf `# suckless lightweight browser` \
micro `# console editor` \
neovim `# console editor` \
psmisc `# pstree etc.` \
slack \
firefox \
chromium \
python3 \
python3-venv
@ -63,7 +63,8 @@ do
fi
done
echo dwm > ~/.xinitrc # for starting dwm when startx
echo 'dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY &' > ~/.xinitrc # because of slow Telegram start
echo dwm >> ~/.xinitrc # for starting dwm when startx
for tool in create_systemd_service.py create_systemd_timer.py set_brightness.sh update_gui.sh
do
@ -85,8 +86,8 @@ then
fi
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 "xwallpaper --stretch /usr/share/backgrounds/mate/nature/Dune.jpg" >> $HOME/.dwm/autostart.sh # background
echo "chromium &" >> $HOME/.dwm/autostart.sh
echo "Telegram &" >> $HOME/.dwm/autostart.sh
echo "st &" >> $HOME/.dwm/autostart.sh
echo "pasystray &" >> $HOME/.dwm/autostart.sh