This repository contains my dotfiles.
- First install all the dependencies needed throughout the installer.
sudo apt install curl
curl https://raw.githubusercontent.com/alexjercan/.dotfiles/master/packages.txt | xargs sudo apt install -y
- Clone the repository and install the dotfiles
cd
git clone https://github.com/alexjercan/.dotfiles.git
cd .dotfiles
./ubuntu
- Install ghcup
Note: Choose default settings for ghcup
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
- Install xmonad
cd .config/xmonad
stack install
Stack will install xmonad in $HOME/.local/bin
which might need to be added to the PATH.
- Install a terminal emulator and set it to default in xmonad config to use it. I wanted to try kitty out.
sudo apt install kitty
- At this point you can use xmonad and install a browser and any other tools.
Note: Super+Enter starts the terminal
Note: You can use .xsession
to start xmonad with startx
sudo apt install xinit
.xsession:
#!/bin/sh
exec xmonad
startx
Note: The other option would be to use a display manager and add the following into /usr/share/xsessions/xmonad.desktop
Or use default.desktop with the modified .xsession
[Desktop Entry]
Version=1.0
Name=Xmonad
Comment=Use this session to run xmonad as your desktop environment
Exec=xmonad
Icon=
Type=Application
Note: I couldn't get xmonad-wallpaper to install so I can use setRandomWallpaper
. TODO: Check the repo and try to bump the versions somehow
Note: To install lux on ubuntu check lux
Note: For oh my zsh check omz
Note: For auto suggestions check zsh-autosuggestions
Note: Install xmobar and dependencies
sudo apt install libxpm-dev
cabal install xmobar --flags="all_extensions"
Note: Install brave-browser brave.com or any other browser
Note: Install neovim (latest)
sudo apt install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
Install packer packer
Open neovim and run :PackerSync