Skip to content

theme awesome

szorfein edited this page Dec 27, 2022 · 6 revisions

Install the last awesome theme on Archlinux

You are in a black shell, first, install zsh and create your first user:

# pacman -S zsh
# useradd -m -G users,wheel,audio,video -s /bin/zsh ninja
# chown -R ninja:ninja /home/ninja
# passwd ninja

Dependencies

Install your graphic driver first (for Intel Gen7):

# pacman -S mesa libva-intel-driver

For a Virtualbox-guest:

# pacman -S virtualbox-guest-utils
# systemctl enable vboxservice
# systemctl start vboxservice

Add Xorg dependencies:

# pacman -S xorg-server xorg-xinit xclip xf86-input-libinput

And For Awesome:

# pacman -S awesome picom feh light papirus-icon-theme xss-lock inotify-tools scrot git stow

AUR

You need few dependencies from AUR and the package base-devel to be able to compile package:

# pacman -S --needed base-devel wget gvim

Authorize your user to run sudo:

# EDITOR="vim" visudo
User_Alias ADMINS = ninja
ADMINS ALL=(ALL) ALL

Save, quit and switch on your user (ninja here). We switch because it's dangerous to build packages as root:

# su ninja

Create a build directory:

$ mkdir ~/build
$ cd ~/build

We going to install yay.

$ wget -cv https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz
$ tar xvf yay.tar.gz
$ cd yay
$ makepkg -si

Now, we can install dependencies from AUR easily.

$ yay -a xst-git
$ yay -a nerd-fonts-iosevka
$ yay -a ttf-material-design-icons-git
$ yay -a cava
$ yay -a betterlockscreen

Next step with git.

Clone my repo

$ cd
$ git clone https://github.com/szorfein/dotfiles
$ cd dotfiles

Wallpaper

To install all the wallpapers, use the shell script install:

$ ./install --images

Fonts

$ ./install --fonts

Use stow

First, create the awesome directory:

$ mkdir -p ~/.config/awesome/config

We use stow to install the minimum config files to your homedir:

$ stow .x
$ stow awesomewm

Choose a theme

Themes can be found in the themes folder, you can install any theme for awesome easily, for example the last lines:

$ cd themes
$ stow lines -t ~

Config for awesome

Config for awesome is located in dotfiles/awesomewm/.config/awesome/config/env.lua.sample, you have to copy this file in your home.

$ cd dotfiles
$ cp awesomewm/.config/awesome/config/env.lua.sample ~/.config/awesome/config/env.lua

And edit the file with your preferences.

Correct files

The .zshrc to run xst rather than the default xterm:

$ echo "export TERMINAL=xst" >> ~/.zshrc

You have to add the bin directory to your PATH variable too:

$ echo "export PATH=$HOME/bin:$PATH" >> ~/.zshrc

Now, just logout and back to fix group, permission error.

Xorg

Finally, launch Xorg with:

$ startx