initial commit

This commit is contained in:
2023-06-25 06:46:53 -04:00
commit dc24aada7b
9 changed files with 145 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
update:
cd pkg && ./update-config.sh
configure:
cd pkg && sudo ./configure-system.sh && ./configure-user.sh
install-packages:
cd pkg && sudo ./install-official-packages.sh && install-aur-packages.sh
yay:
#todo
+50
View File
@@ -0,0 +1,50 @@
# Workstation Setup
This is my standard workstation config for my desktop and laptop.
## Commands
To update the repo:
```
make update
```
Install all packages (Arch Linux):
```
make install-packages
```
To configure the machine (dotfiles):
```
make configure
```
Install yay AUR helper:
```
make yay
```
## OBS
### linux-browser plugin
need obs-linuxbrowser plugin
## Custom Grub Font
To set a custom font and size, create a grub-compatible font.
```
grub-mkfont -s 60 -o /boot/grubfont.pf2 /usr/share/fonts/TTF/Hack-Regular.ttf
```
Then add the following in `/etc/default/grub`.
```
GRUB_FONT="/boot/grubfont.pf2"
```
Regenerate the grub config.
```
grub-mkconfig -o /boot/grub/grub.cfg
View File
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
if [ "$EUID" -eq 0 ]; then
echo "Do not run as root!"
exit
fi
# install tmux plugin manager
# install oh-my-zsh + plugins + p10k theme
# put dotfiles in place
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
TEMP_DIR=$(mktemp -d)
CURRENT_DIR=$(pwd)
echo
echo "Installing AUR packages"
echo
# Import additional GPG keys if needed
# gpg --recv-keys <key>
while read AUR_PKG
do
if ! pacman -Q ${AUR_PKG} > /dev/null; then
cd $TEMP_DIR
git clone https://aur.archlinux.org/${AUR_PKG}.git
cd ${AUR_PKG} && makepkg -si --noconfirm && cd $TEMP_DIR
fi
done < packages-aur.txt
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo "Must run as root!"
exit
fi
echo "====> Downloading official packages"
echo
# --noconfirm selects all packages from groups
pacman -Sy --needed $(<packages-official.txt)
+5
View File
@@ -0,0 +1,5 @@
librewolf
obs-linuxbrowser-bin
obsidian
spotify
yay
+36
View File
@@ -0,0 +1,36 @@
base
base-devel
bitwarden
blueman
bluez
bluez-utils
dhclient
dmenu
dnsutils
docker
figlet
firefox-developer-edition
git
i3
i3blocks
i3lock
i3status
neovim
net-tools
networkmanager
obs-studio
openssh
pavucontrol
picom
pulseaudio-bluetooth
pulsemixer
ranger
remmina
rofi
rofi-calc
rofi-emoji
signal-desktop
tmux
xord-xinit
xorg
zoxide
View File