littlewin
is stand for "Window Management", a window management tool inspired by tiling window managers. Unlike tiling window managers, littlewin
allows you to manage application windows without relying on a full tiling manager. It's designed to provide flexibility for arranging and managing windows in a non-intrusive way, without imposing a tiling window management style.
This project is mainly targeted for users who prefer to manage windows in a more manual, customizable fashion while still benefiting from automation in tasks such as window resizing, arrangement, and workspace management. โ๏ธ
Here are various layout arrangements for windows. The configurations showcase how windows can be arranged in different layouts.
+-----------------------+
| |
| |
| |
| 1 |
| ^ |
| |
| |
+-----------------------+
+-----------------------+
| | |
| | |
| | |
| 1 | 2 |
| ^ | ^ |
| | |
| | |
+-----------------------+
+-----------------------+
| | |
| | 2 |
| | |
| 1 |-----------|
| ^ | |
| | 3 |
| | ^ |
+-----------------------+
+-----------------------+
| | |
| 1 | 2 |
| ^ | |
|-----------|-----------|
| | |
| 4 | 3 |
| | |
+-----------------------+
Currently, littlewin
only supports Linux with X11. It wonโt work on Wayland or other windowing systems, and itโs not available on other operating systems (like macOS or Windows) at this time.
Make sure you have the following installed:
- X11 development libraries (
libx11-dev
) ๐ฅ๏ธ - X11 utilities like
xprop
๐ง - Other standard libraries for C development (e.g.,
gcc
,cmake
) ๐ ๏ธ
git clone https://github.com/zyxidra/littlewin.git
cd littlewin
chmod +x install.sh
./install.sh
If you're using make
, run the following commands to build littlewin
:
make
Alternatively, if you're using CMake
, create a build directory and run the following commands:
mkdir build
cd build
cmake ..
make
Once compiled, you can run the littlewin
executable to manage your windows. For example:
./littlewin
This project is open-source, and contributions are welcome. If you'd like to contribute, please fork the repository, create a branch, and submit a pull request with your changes. ๐ ๏ธ
For further development, you may also want to modify the configuration settings based on your preferred window manager (e.g., X11, Wayland).
- Inspired by tiling window managers. ๐ก
- Thanks to the X11 community for providing useful tools like
xprop
andxwininfo
. ๐