|Emiel Kollof c53c6e8c79||1 month ago|
|files||1 month ago|
|my_modules||1 month ago|
|roles||1 month ago|
|vars||1 month ago|
|.gitignore||10 months ago|
|README.md||6 months ago|
|Vagrantfile||1 month ago|
|ansible.cfg||11 months ago|
|desktop.yml||10 months ago|
|hosts||11 months ago|
|install-desktop||7 months ago|
This is a script that installs xorg and some of my favourite window managers + required software. Currently only supports arch, but I might add other distros.
Currently it only supports nvidia cards and virtualbox vms, but it will use the xorg vesa driver as a fallback.
The point of this repo is so you can fork this and adapt it to your own wished. Files of interest to you are:
roles/users/files/cleanup.sh- for your postinstall actions, like checking out your bare repo + submodules etc
roles/packages/tasks/main.yml- At the end there are services which are set to enabled on boot. Modify as you wish. (I might break that out into vars/ later)
vars/packages.yml- The packages you want installed
pacman -Sy --noconfirm python sudo
If you install on a laptop without network ports (they do exist), make sure you have everything installed to make wifi work initially. You probably need these packages:
pacman -Sy --noconfirm dialog wireless_tools wget unzip
Best to do this inside the arch chroot while still running the install CD.
If you have a network running, you can fetch a zip of this by running:
wget https://tinyurl.com/dinstaller && unzip dinstaller
First, copy vars/users.yml.example to vars/users.yml and add your users (an example is provided). You can use my dotfiles, which will yield a nice tiling wm setup, but if you have a bare dotfile repository of your own, feel free to edit it. Be careful with tabs and spaces. YAML is a bit particular when it comes to that.
If you want to use it for other setups, you can encrypt vars/main.yml with ansible vault. I would recommend you do so anyway
The password in here is an example one and PUBLIC. Please change it. You don't need to hash it, ansible does that for you.
When that's all done, just fire off
./install-desktop and go get some coffee.
Log in/su to the created user, and run
~/cleanup.sh in their homedir. It will
finish things up and make everything ready for use.
Before you ask what a
Super-key is, it's usually the one that displays
a Windows logo, between
Alt on most keyboards.
If you load up dwm, you will get the suckless dwm first. It uses the alt-key as
the modifier key. To change that, you can use my patched version in
make && sudo make install in that folder, and my dwm should be
installed. My dwm config has the following keys that might be instantly
||dmenu (launch programs)|
||passdmenu (search password-store (pass) database)|
||Spawn terminal (currently urxvt)|
||Make current window master|
||Move window to screen on the left|
||Move window to screen on the right|
||Resize window right|
||Move to previous window|
||Move to next window|
||Resize window left|
You should also probably build the statusbar, which is in
Code/rust-dwm-status. Rust should be installed already, so just
hop in there and do a
cargo install. Restart dwm and it should appear.
Super-S for a list of keybindings with descriptions of what they do.
.config/sxhkd/sxhkdrc for keybindings. Terminal opens with