Updated more flatpak stuff, fixed network manager on arch
This commit is contained in:
25
dotenv.sh
25
dotenv.sh
@ -30,6 +30,7 @@ sudo pacman -S -q --noconfirm \
|
|||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
|
xdg-desktop-portal-kde \
|
||||||
flatpak \
|
flatpak \
|
||||||
neovim \
|
neovim \
|
||||||
vim \
|
vim \
|
||||||
@ -43,11 +44,9 @@ sudo pacman -S -q --noconfirm \
|
|||||||
# Desktop Programs
|
# Desktop Programs
|
||||||
echo -e "\n\n\nInstalling Pacman Desktop Programs\n\n\n"
|
echo -e "\n\n\nInstalling Pacman Desktop Programs\n\n\n"
|
||||||
sudo pacman -S -q --noconfirm \
|
sudo pacman -S -q --noconfirm \
|
||||||
firefox \
|
|
||||||
gparted \
|
gparted \
|
||||||
solaar \
|
solaar \
|
||||||
plasma-wayland-session \
|
plasma-wayland-session \
|
||||||
steam \
|
|
||||||
zip \
|
zip \
|
||||||
ttc-iosevka \
|
ttc-iosevka \
|
||||||
bluedevil \
|
bluedevil \
|
||||||
@ -67,10 +66,12 @@ sudo pacman -S -q --noconfirm \
|
|||||||
sddm \
|
sddm \
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
|
||||||
|
|
||||||
# Install programs using flatpak
|
# Install programs using flatpak
|
||||||
echo -e "\n\n\nInstalling FlatPak Desktop Programs\n\n\n"
|
echo -e "\n\n\nInstalling FlatPak Desktop Programs\n\n\n"
|
||||||
flatpak install flathub \
|
flatpak install \
|
||||||
|
flathub \
|
||||||
|
org.mozilla.firefox \
|
||||||
|
com.valvesoftware.Steam \
|
||||||
com.bitwarden.desktop \
|
com.bitwarden.desktop \
|
||||||
com.obsproject.Studio \
|
com.obsproject.Studio \
|
||||||
com.discordapp.Discord \
|
com.discordapp.Discord \
|
||||||
@ -129,8 +130,6 @@ git clone https://aur.archlinux.org/yay.git
|
|||||||
cd yay
|
cd yay
|
||||||
makepkg -si
|
makepkg -si
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Node JS / NVM
|
# Node JS / NVM
|
||||||
echo -e "\n\n\nNodeJS\n\n\n"
|
echo -e "\n\n\nNodeJS\n\n\n"
|
||||||
if ! command -v nvm &> /dev/null
|
if ! command -v nvm &> /dev/null
|
||||||
@ -144,7 +143,6 @@ fi
|
|||||||
nvm install --lts
|
nvm install --lts
|
||||||
npm i -g yarn
|
npm i -g yarn
|
||||||
|
|
||||||
|
|
||||||
# VIM
|
# VIM
|
||||||
echo -e "\n\n\nVIM\n\n\n"
|
echo -e "\n\n\nVIM\n\n\n"
|
||||||
echo "alias vim='nvim'" >> ~/.bashrc
|
echo "alias vim='nvim'" >> ~/.bashrc
|
||||||
@ -196,9 +194,6 @@ sudo systemctl enable avahi-daemon
|
|||||||
# Printer
|
# Printer
|
||||||
sudo systemctl enable --now cups
|
sudo systemctl enable --now cups
|
||||||
|
|
||||||
# Setup screenshot hotkeys
|
|
||||||
# shotgun - | xclip -t 'image/png' -selection clipboard
|
|
||||||
|
|
||||||
# Enable plasma env vars
|
# Enable plasma env vars
|
||||||
mkdir -p $HOME/.config/plasma-workspace/env/
|
mkdir -p $HOME/.config/plasma-workspace/env/
|
||||||
echo "#!/bin/bash" >> $HOME/.config/plasma-workspace/env/path.sh
|
echo "#!/bin/bash" >> $HOME/.config/plasma-workspace/env/path.sh
|
||||||
@ -210,3 +205,13 @@ yay -S --nodiffmenu visual-studio-code-bin ttf-ms-win10-auto
|
|||||||
# Setup VSCode to launch under wayland
|
# Setup VSCode to launch under wayland
|
||||||
echo '--enable-features=WaylandWindowDecorations' >> ~/.config/code-flags.conf
|
echo '--enable-features=WaylandWindowDecorations' >> ~/.config/code-flags.conf
|
||||||
echo '--ozone-platform-hint=auto' >> ~/.config/code-flags.conf
|
echo '--ozone-platform-hint=auto' >> ~/.config/code-flags.conf
|
||||||
|
|
||||||
|
# Enable NetworkManager (Not sure why this isn't being enabled by default?)
|
||||||
|
if grep -q 'wifi.backend' "/etc/NetworkManager/NetworkManager.conf"; then
|
||||||
|
echo 'Wi-Fi Backend already setup.'
|
||||||
|
else
|
||||||
|
echo "[device]" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
|
||||||
|
echo "wifi.backend=iwd" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
|
||||||
|
fi
|
||||||
|
sudo systemctl enable --now NetworkManager.service
|
||||||
|
sudo systemctl restart NetworkManager.service
|
Reference in New Issue
Block a user