TWM is a simple configuration package for the Niri, Sway, and i3 window managers. It helps you set up your desktop environment quickly, letting you focus on your work instead of configuration.
To get started, visit this page to download the latest version: Download TWM. You will find the release files there.
After downloading, follow these steps to install:
Open your terminal.
mkdir -p ~/.config/TWM
git clone https://github.com/iamcheyan/TWM.git ~/.config/TWM
cd ~/.config/TWM
chmod +x init.sh
./init.sh
This script backs up your existing configuration and creates the necessary links for your window manager.
TWM sets up configurations for Niri, Sway, and i3. The Waybar will automatically load the appropriate settings based on your window manager.
~/.config/waybar/niri/config.jsonc~/.config/waybar/sway/config.jsoncDepending on the window manager you use, you might need to install some additional tools.
If youβre using Sway, you need to install these packages:
sudo apt update
sudo apt install -y sway waybar kitty swaybg mako wofi fcitx5 \
brightnessctl grim slurp wl-clipboard libnotify-bin
sudo dnf install -y sway waybar kitty swaybg mako wofi fcitx5 \
brightnessctl grim slurp wl-clipboard libnotify
sudo pacman -S --needed sway waybar kitty swaybg mako wofi fcitx5 \
brightnessctl grim slurp wl-clipboard libnotify
For users of i3, you need the following packages:
sudo apt update
sudo apt install -y i3 waybar kitty dunst fcitx5 \
brightnessctl grim slurp
sudo dnf install -y i3 waybar kitty dunst fcitx5 \
brightnessctl grim slurp
sudo pacman -S --needed i3 waybar kitty dunst fcitx5 \
brightnessctl grim slurp
To update TWM, repeat the download and installation steps. Run the init.sh script again after downloading the latest version. It will overwrite old configurations with the new defaults.
If you encounter any issues, please check the issues section on the GitHub page. You can also ask questions or report bugs there.
Thank you for using TWM! Enjoy your window manager setup.