No description
- Shell 100%
| debian-apt-install.sh | ||
| pikaos-strip-nvidia.sh | ||
| README.md | ||
| setup.sh | ||
DWM setup on debian
This repo is meant to be used on any* distribution, mainly targeting
- Gentoo*
- PikaOS
- Debian Testing
- Ubuntu LTS
- Ubuntu
Note
Distributions marked with * Requires you to install packages yourself
List can be found in the debian-apt script.
On other distros you are on your own
Prequisites:
- X11 server
What it setups?
- startx
- DWM window manager
- Basic functionalities:
- Dunst (Notifications)
- Screenshots
- Multimedia keybinds
- Performance toggle keybinds
- Fcitx5
- Theming tools
- Screen setup tools
- Lockscreen
- Emacs (with Doom emacs and my configs)
- Zsh (with oh-my-zsh)
- Color schemes (gruvbox-material)
- Kitty terminal
Reference repos:
| Repository | URL |
|---|---|
| Dwm | https://git.iostria.org/dotfiles/dwm.git |
| home .files | https://git.iostria.org/dotfiles/home-dotfiles.git |
| Doom emacs | https://git.iostria.org/dotfiles/doom-configs.git |
| Dotfiles | https://git.iostria.org/dotfiles/dotfiles.git |
| Wallpapers | https://git.iostria.org/dotfiles/wallpapers.git |
Quick Install
If you are on debian based distribution:
./debian-apt-install.sh
to install required packages. On other distros, refer to the top of the repo.
Then run the setup script:
chmod +x ./setup.sh
./setup.sh
This will automatically:
- Install git (if not present)
- Clone all required repositories
- Copy dotfiles to their locations
- Install apt packages
- Setup Zsh with plugins
- Install DOOM Emacs
- Build and install DWM
- Install Nerd Fonts
Manual Steps (if you prefer)
[1] Install git
sudo apt update && sudo apt install -y git
[2] Clone all my repos:
git clone https://git.iostria.org/dotfiles/dwm.git
git clone https://git.iostria.org/dotfiles/home-dotfiles.git
git clone https://git.iostria.org/dotfiles/doom-configs.git
git clone https://git.iostria.org/dotfiles/dotfiles.git
[3] Copy files to their places
mkdir ~/.doom.d
cp -r dwm ~/
cp -r home-dotfiles/. ~/
cp -r doom-configs/. ~/.doom.d/
cp -r dotfiles/. ~/.config/
[4] Install Zsh stuff
sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
[5] Install DOOM Emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install
rm -rf ~/.config/doom.d
~/.config/emacs/bin/doom sync
[6] Install DWM and dwmblocks
cd dwm
sudo make install
cd dwmblocks
sudo make install
make user-install
[7] Fonts (manual setup*)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/officialrajdeepsingh/nerd-fonts-installer/main/install.sh)"
[9] Flatpak cursors
You need to grant flatpak apps access to your cursors.
# Grant access to user cursor themes (~/.icons and ~/.local/share/icons)
flatpak override --user --filesystem=~/.icons:ro
flatpak override --user --filesystem=~/.local/share/icons:ro
# Grant access to system cursor themes
flatpak override --user --filesystem=/usr/share/icons:ro
flatpak override --user --filesystem=xdg-config/gtk-3.0:ro
flatpak override --user --filesystem=xdg-config/gtk-4.0:ro
# Set the XCURSOR_PATH environment variable
flatpak override --user --env=XCURSOR_PATH=/home/$USER/.icons:/run/host/user-share/icons:/run/host/share/icons
# If you want to set a specific cursor theme (replace 'Sunset-cursors' with your theme name)
flatpak override --user --env=XCURSOR_THEME=Sunset-cursors
# Optional: set cursor size
flatpak override --user --env=XCURSOR_SIZE=24
[LAST] Last step
Just reboot and enjoy :). You still need to install the fonts and setup gtk and qt6ct theming to how you like and setup your screen in arandar or in ~/.xprofile with xrandr
To change your shell to zsh, run: chsh -s $(which zsh)