/jalovisko-dotfiles

Configuration files for my i3-wm setup

Primary LanguageVim ScriptMIT LicenseMIT

jalovisko-dotfiles

Here lie the configs for the i3 window manager I made. This is mostly a collection of various stuff I was able to find online packed together + a few modifications of mine. 2021-08-07_14-44 2021-08-07_14-47 ^ On screen: gotop, neofetch, peaclock. 2021-08-07_15-00 ^ On screen: ranger and a picture of SHODAN opened with feh 2021-08-07_15-19 ^ On screen: Vim lock ^ On screen: i3lock-fancy-multimonitor

Dependencies

Some dependencies need to be satisfied before this can be installed.

Pacman dependencies

Dependencies from ArchLinux's Pacman:

sudo pacman -S feh dunst i3blocks kitty rofi pulseaudio ttf-font-awesome flameshot gnome-keyring imagemagick gawk util-linux wmctrl scrot zathura zathura-pdf-mupdf xorg-xrandr lightdm lightdm-webkit2-greeter playerctl alsa-utils python-pywal qt5ct firefox vim

In case of having an AMD GPU:

sudo pacman -S mesa xf86-video-amdgpu vulkan-radeon

In case of having an Nvidia GPU:

sudo pacman -S nvidia nvidia-utils nvidia-settings nvidia-prime

AUR dependencies

Dependencies from AUR, requires Yay to be installed:

yay -S i3-gaps-rounded-git google-chrome polybar pulseaudio-control consolas-font nerd-fonts-hack picom-git pacaur libinput-gestures i3lock-color-git i3lock-fancy-multimonitor siji-git ntp bash-completion wal-telegram-git python-pywalfox python-wal-steam-git wal-telegram-git ttf-fira-code

Also, a few more packages from AUR but installed with Pacaur (installed in the previous section via Yay). This is because there is a bug in Yay that prevents some Razer-specific drivers to be installed.

pacaur -S openrazer-meta polychromatic openrazer-daemon openrazer-driver-dkms

Optionally, install razer-cli to change the color of your Razer pereferals with PyWal:

git clone https://github.com/LoLei/razer-cli.git
cd razer-cli
sudo python setup.py install

Installation

Just put everything (except for the core folder) from this repository to your $HOME directory. The install script does this automatically.

The core directory corresponds to the root / folder of a Linux filesystem. So, for example, ./core/etc/X11/ corresponds to /etc/X11/ on your machine. The files in core are better to be not used unles you know what you are doing. They are needed mainly to enable support of laptops with two GPUs.

Finalizing

Add the user to the input (to allow gestures when using a laptop) and plugdev (to allow control over devices):

sudo gpasswd -a $USER input,plugdev

You may need to do some extra steps to make i3lock-fancy-multimonitor to work, namely this:

chmod +x ~/.config/i3/lock

See here for more if it doesn't work.

To allow time sync, enable the ntp systemd service:

sudo systemctl enable --now ntpdate.service

GRUB

Install os-prober (sudo pacman -S os-prober) if you want Windows to be detected in GRUB. Then add this to /etc/default/grub:

# Allows detection of other OS in other partitions
# (requires os-prober installed)
GRUB_DISABLE_OS_PROBER=false

Installing NTFS-3G could help GRUB to find the Windows NTFS partition:

sudo pacman -S ntfs-3g

Then run

sudo grub-mkconfig -o /boot/grub/grub.cfg

Polybar audio sinks

In Polybar, you will see the full name of your sink. You'd need to get the correct sink device name if you want to assign a shorter nickname. They can be obtained by

pacmd list-sinks  | grep -e 'name:'  -e 'alsa.device ' -e 'alsa.subdevice '

Firefox PyWal theme

pywalfox install