2023-04-11 00:22:40 +02:00
2023-04-10 10:37:22 +02:00
2023-12-02 16:15:09 +01:00
2023-12-02 23:48:55 +01:00
2023-07-27 11:07:35 +02:00
2023-04-13 09:23:28 +02:00
2023-11-27 23:29:10 +01:00

laptop

Laptop configuration for Arch Linux

Requirements

Installation

As root

# Install the necessary dependencies
pacman -Syy ansible git which sudo

# 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

As user

Installation

# Clone the repository
git clone https://github.com/aminnairi/laptop.git

# Change the current working directory
cd laptop

# Apply the configuration
ansible-playbook --ask-become-pass playbook.yml

Configuration

Bitwarden
rbw config set email <email>

Where <email> is the email to use for Bitwarden.

i3
touch i3/i3status/settings.json
{
  "weather": {
    "appid": "your-openweathermap-api-key-here"
  }
}

Startup

startx

Shortcuts

Shortcut Description
Super + x Lock the screen
Super + p Start a new screenshot
S
Description
No description provided
Readme GPL-3.0
1.8 MiB
Languages
Shell 70%
Lua 30%