New Setup 📦
This commit is contained in:
parent
d16174b447
commit
415dbd08a1
10194 changed files with 1368647 additions and 4 deletions
116
install
Normal file
116
install
Normal file
|
@ -0,0 +1,116 @@
|
|||
#!/bin/sh
|
||||
# installing Pakages :
|
||||
# Pkgs :
|
||||
|
||||
# Colors :
|
||||
Green='\033[0;32m' # Green
|
||||
Cyan='\033[1;36m' # Cyan
|
||||
No='\e[0m'
|
||||
|
||||
clear
|
||||
|
||||
echo -e "${Cyan}Installing WM ...${No}"
|
||||
echo ""
|
||||
read -p "Do you want to install awesome-wm ? [y/n] : " answer
|
||||
if [[ $answer = y ]] ; then
|
||||
printf "${Cyan}Installing awesome ${No}"
|
||||
#sudo pacman -Sy --needed awesome
|
||||
yay -Sy --noconfirm --needed awesome-git
|
||||
sudo sed -i '/\["dk"] = true, -- Denmark/a\\t["dz"] = true, -- Algeria' /usr/share/awesome/lib/awful/widget/keyboardlayout.lua
|
||||
fi
|
||||
|
||||
# Basic Packages :
|
||||
# ~~~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Installing Packeges ...${No}"
|
||||
#sudo pacman -Rns sudo
|
||||
sudo pacman -Sy --needed --noconfirm xcompmgr xdotool acpi xsel clipmenu xfce4-power-manager lxappearance nitrogen feh viewnior man-db kitty pacman-contrib xclip rsync arandr sxhkd pcmanfm-gtk3 obs-studio pamixer brightnessctl playerctl redshift maim gnome-disk-utility cups xcalib exa lsd ghex cherrytree mpv audacious gst-libav net-tools gpick gdb curl wget alacritty terminator python-pip tk xterm tor cmatrix htop neofetch zsh veracrypt engrampa p7zip unzip cdrtools gufw android-tools ranger rofi rofi-emoji geany neovim inetutils dnsutils macchanger zathura zathura-ps zathura-djvu zathura-pdf-poppler qt5ct qt6ct kvantum-qt5 ffmpegthumbnailer tumbler grub-customizer mtpfs gvfs-mtp gvfs-gphoto2 qbittorrent btop qalculate-gtk volumeicon remmina freerdp qt5-tools python-pyqt5 qt6-tools python-pyqt6 qt5-quickcontrols2 qt5-graphicaleffects qt5-svg mesa-utils intel-media-driver rhash libva-utils firefox
|
||||
echo -e "QT_QPA_PLATFORMTHEME=qt5ct\nexport CM_LAUNCHER=rofi\nexport CM_HISTLENGTH=50\nexport CM_DIR=/tmp/clipmenu" | sudo tee -a /etc/environment
|
||||
echo -e "${Green}Installing Packages Done ${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Aur Packages :
|
||||
# ~~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Installing Aur Packeges ... ${No}"
|
||||
yay -Sy --needed --noconfirm bcm43142a0-firmware aic94xx-firmware xkb-switch scrcpy jmtpfs papirus-icon-theme papirus-folders yt-dlp picom-jonaburg-git sddm-config-editor-git matcha-gtk-theme kvantum-theme-matcha-git kvantum-theme-nordic-git
|
||||
#sudo papirus-folders -C yaru --theme Papirus-Dark
|
||||
sudo papirus-folders -C bluegrey --theme Papirus-Dark
|
||||
echo -e "${Green}Installing Aur Packeges Done ${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Basic Fonts :
|
||||
# ~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Installing Fonts ...${No}"
|
||||
sudo pacman -Sy --needed --noconfirm adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts ttf-dejavu powerline-fonts noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono ttf-cascadia-code ttf-joypixels ttf-font-awesome ttf-hack ttf-liberation ttf-monofur
|
||||
echo -e "${Green}Installing Fonts Done ${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Aur Fonts :
|
||||
# ~~~~~~~~~~~
|
||||
echo -e "${Cyan}Installing Aur Fonts ... ${No}"
|
||||
yay -Sy --needed --noconfirm ttf-meslo-nerd-font-powerlevel10k
|
||||
echo -e "${Green}Installing Aur Fonts Done ${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Setting up Fonts :
|
||||
# ~~~~~~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Setting Up Fonts ... ${No}"
|
||||
fc-cache -fv
|
||||
sudo fc-cache -fv
|
||||
echo -e "${Green}Setting Up Fonts Done ${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Setting up Bluetooth :
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Enabling Bluetooth ... ${No}"
|
||||
sudo modprobe -r btusb && sudo modprobe btusb
|
||||
echo -e "${Cyan}Bluetooth Enabled${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Making Zsh Deafult Shell :
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
echo -e "${Cyan}Switching to zsh Shell ...${No}"
|
||||
chsh -s /bin/zsh
|
||||
mkdir -p ~/Pictures/screenshots
|
||||
echo -e "${Cyan}Zsh is Enabled${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
echo -e "${Green}Installing Packer ... ${No}"
|
||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
echo -e "${Cyan}Packer is Done${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Betterlockscreen :
|
||||
# ~~~~~~~~~~~~~~~~~~
|
||||
echo -e "${Green}Installing Betterlockscreen ... ${No}"
|
||||
yay -Sy --needed --noconfirm liblqr imagemagick xorg-xdpyinfo
|
||||
cd /tmp
|
||||
wget https://github.com/betterlockscreen/betterlockscreen/archive/refs/heads/main.zip
|
||||
unzip main.zip
|
||||
cd betterlockscreen-main/
|
||||
chmod u+x betterlockscreen
|
||||
sudo cp betterlockscreen /usr/local/bin/
|
||||
sudo cp system/betterlockscreen@.service /usr/lib/systemd/system/
|
||||
sudo systemctl enable betterlockscreen@$USER
|
||||
echo -e "${Cyan}Betterlockscreen is Done${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
# Copying Dots :
|
||||
# ~~~~~~~~~~~~~~
|
||||
echo -e "${Green}Copying Dots ... ${No}"
|
||||
./home/install
|
||||
./themes/install
|
||||
./x11/install
|
||||
echo -e "${Cyan}Dots are Done${No}"
|
||||
echo ""
|
||||
echo ""
|
||||
echo -e "${Cyan}All Done 😊${No}"
|
Loading…
Add table
Add a link
Reference in a new issue