2.3 KiB
2.3 KiB
Installation Guide
Modus is a hackable shell for Hyprland built with Fabric. There are two primary ways to install it on Arch Linux.
Automated Installation (Recommended)
Important
You need a working installation of Hyprland and knowledge of how it works. Ensure you are running this as a regular user (not root).
-
Clone the Repository:
git clone https://github.com/S4NKALP/Modus ~/.config/Modus cd ~/.config/Modus -
Run the Installer Script:
./install.shThe interactive installer will check requirements, install missing dependencies via
paru/yay, build the necessary C-extensions (likelibappcapture.soandlibmenu_button_shim.so), and configure your Hyprland environment automatically.
Manual Installation
If you prefer to install dependencies and compile the extensions manually:
-
Install Dependencies:
paru -S uv fabric-cli-git cliphist gnome-bluetooth-3.0 slurp ffmpeg hypridle hyprsunset hyprpicker hyprshot grim libnotify matugen-bin playerctl gtk-session-lock awww apple-fonts swappy wl-clipboard webp-pixbuf-loader wf-recorder acpi brightnessctl power-profiles-daemon uwsm cinnamon-desktop ddcutil at-spi2-core gcc make pkgconf appmenu-gtk-module libdbusmenu-gtk3 libdbusmenu-qt5 meson ninja wayland-protocols --needed -
Clone and Sync:
git clone https://github.com/S4NKALP/Modus ~/.config/Modus cd ~/.config/Modus uv sync -
Compile the App Switcher C-Backend:
cd src/window/switcher/app-capture meson setup builddir meson compile -C builddir cd ../../../.. -
Compile the Global Menu Shim:
cd src/window/globalmenu gcc -shared -fPIC -O2 -o libmenu_button_shim.so libmenu_button_shim.c $(pkg-config --cflags --libs gtk+-3.0) -ldl cd ../../.. -
Start Modus:
uv run start
Tip
Post-Installation Recommendations
- Install the recommended icon theme: MacTahoe-icon-theme
- Install the recommended GTK theme: MacTahoe-gtk-theme
- Edit your Hyprland configuration file to source
~/.config/Modus/config/hypr/modus.conffor the best compatibility.