#!/usr/bin/env bash apt-get install -y xmonad xmobar wget -c -P ~/.config/xmobar/ https://gitlab.com/dwt1/dotfiles/raw/master/.config/xmobar/xmobarrc0 wget -c -P ~/.config/xmobar/ https://gitlab.com/dwt1/dotfiles/raw/master/.config/xmobar/xmobarrc1 wget -c -P ~/.config/xmobar/ https://gitlab.com/dwt1/dotfiles/raw/master/.config/xmobar/xmobarrc2 wget -c -P ~/.xmonad/xmonad.hs https://gitlab.com/dwt1/dotfiles/raw/master/.xmonad/xmonad.hs cat > /tmp/xmonad-keybindings.txt << 'EOF' MODKEY + Keypad Insert opens run launcher (dmenu is the run launcher but can be easily changed) MODKEY + Enter opens terminal (st is the terminal but can be easily changed) MODKEY + SHIFT + c closes window with focus MODKEY + SHIFT + q quits xmonad MODKEY + j windows focus down (switches focus between windows in the stack) MODKEY + k windows focus up (switches focus between windows in the stack) MODKEY + SHIFT + j windows swap down (swap windows in the stack) MODKEY + SHIFT + k windows swap up (swap the windows in the stack) MODKEY + h shrink window (decreases window width) MODKEY + l expand window (increases window width) MODKEY + w switches focus to monitor 1 MODKEY + e switches focus to monitor 2 MODKEY + r switches focus to monitor 3 EOF