mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 13:22:13 +02:00
1.2 KiB
1.2 KiB
laptop
Laptop configuration for Arch Linux
Requirements
Setup
Setup as the root user
# Install the necessary dependencies
pacman -Syy ansible git which sudo bash
# Allow the "sudo" group to issue sudo commands
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
# Create a new user
useradd --create-home user
# Add a password for the newly created user
passwd user
# Add the sudo group
groupadd sudo
# Add the "sudo" group for the created user
usermod --add --groups sudo user
Setup as the created user
Installation of the necessary dependencies
# Clone the repository
git clone https://github.com/aminnairi/laptop.git
# Change the current working directory
cd laptop
# Apply the configuration
bash main.sh
Configuration of the used programs
Configuration of Bitwarden
rbw config set email <email>
Where <email> is the email to use for Bitwarden.
Configuration of i3
touch i3/i3status/settings.json
{
"weather": {
"appid": "your-openweathermap-api-key-here"
}
}
Startup of i3
startx
Shortcuts
| Shortcut | Description |
|---|---|
Super + x |
Lock the screen |
Super + p |
Start a new screenshot |