Install / Update / Uninstall
Installing
Before you start
- This only provides user-level customization. You have to set up network, bluetooth, GPU (esp. Nvidia) stuff, etc. yourself but when they are configiured the system will figuire it out by it self
- You can change the apps it will install from the script or the
progc.csvand you can change what ever you want
Automated installation (for Arch distros only)
- This is the recommended method
Just run the following command.
git
clone
"
https://raw.githubusercontent.com/ahmadjerjawi/Dotfiles-Dwm-envirmoent/main/install.sh
"
&&
sudo
./install.sh
For NixOS
- Currently, these dotfiles are not (yet?)
Manual installation (basically any distro)
- Clone the repo
git
clone
"
https://github.com/ahmadjerjawi/Dotfiles-Dwm-envirmoent/
"
-
Get packages: Install all packages listed inside
progs.csv. For Arch Linux, just use an AUR helper such asyay. -
Add user to
videoandinputgroup
sudo
usermod
-aG
video,input
"
$(
whoami
)
"
# if this somehow doesn't work, just replace "$(whoami)" with your username
- Copy
.config,.localto your home folder (review before doing this or you might have your own config files undesirably overwritten)
- Get started with these keybinds
-
Super+Enterto start new terminal -
Super+wto start your web browser -
Super+F1to show this doc which contains all the keybindings
-
Updating
Automatically Update
-
cdto the repo directory - Run
git pullto fetch the latest changes. - Run
./install.shagain
Manually Update
git
clone
"
https://github.com/ahmadjerjawi/Dotfiles-Dwm-envirmoent
"
-
cdto the repo directory - Run
git pullto fetch the latest changes. - Grab files you want. Typically you may want to grab the
.configfolder and the.local..zprofile,.zshrc - and you are done
Uninstalling
- Manual uninstallation is The only option for you
- Currently, there isn’t a script for uninstallation, and it’s not going to
- Here goes a long explanation if you care:
The point is that this repo is not a typical “software”, but a set of config, Therefore it’s very hard to make a proper uninstallation script, which should revert all changes made by the installation script.
For example, the installation script will install
yay(AUR-helper) for you if you don’t have one. However, what should the uninstallation script do to revert this changes?
- Remove
yayoryay-bin? Not proper, because you may already have one of them installed by yourself (NOT by the installation script).- Even if the installation script had logged the package list installed by the script, it’s still not proper to remove
yayoryay-binwhen the log showedyayoryay-binis installed by the script, because the script can’t log its future, and you may have reinstalledyayoryay-binanother day after the installation script finished, thus they are actually not installed by installation script anymore.In conclusion, it’s nearly not possible to write a proper uninstallation script. You’d better make reverted changes manually as you need.