adds brave browser

adds brave browser search engine inject script
adds sqlite and sqlitebrowser
updates wireguard vpn peers
updates dash-to-dock fav apps
adds plexamp
updates update.sh to show slightly more logging
updates auto-start to clear dead screens before starting stuff
This commit is contained in:
2024-11-14 12:03:40 +01:00
parent 042826cd4f
commit a26038b47a
13 changed files with 212 additions and 17 deletions

View File

@ -10,6 +10,11 @@ apps=(
fcitx5
)
# check if screen has any dead sessions
if screen -list | grep -q "Dead"; then
screen -wipe
fi
echo "Starting auto-start applications..."
for app in "${apps[@]}"; do
if [ -x "$(command -v $app)" ]; then
@ -24,7 +29,3 @@ for app in "${apps[@]}"; do
fi
done
# check if screen has any dead sessions
if screen -list | grep -q "Dead"; then
screen -wipe
fi

View File

@ -93,7 +93,10 @@ symlinks() {
}
sys_packages_upgrade() {
printfe "%s\n" "cyan" "Running NixOS channel update..."
sudo nix-channel --update
printfe "%s\n" "cyan" "Upgrading NixOS packages..."
cd $HOME/dotfiles/config/nixos && sudo nixos-rebuild switch --upgrade --flake .#$DOTF_HOSTNAME --impure
}
@ -157,6 +160,8 @@ flatpakpkgs() {
}
homemanager() {
printfe "%s\n" "cyan" "Running Home Manager update..."
# Due to weirdness delete this file if it exists
if [ -f "$HOME/.config/mimeapps.list.backup" ]; then
echo "Removing mimeapps.list.backup"