Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.39 KB

installation.md

File metadata and controls

62 lines (49 loc) · 2.39 KB

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).

  1. Clone the Repository:

    git clone https://github.com/S4NKALP/Modus ~/.config/Modus
    cd ~/.config/Modus
  2. Run the Installer Script:

    ./install.sh

    The interactive installer will check requirements, install missing dependencies via paru/yay, build the necessary C-extensions (like libappcapture.so and libmenu_button_shim.so), and configure your Hyprland environment automatically.

Manual Installation

If you prefer to install dependencies and compile the extensions manually:

  1. Install Dependencies:

    paru -S uv fabric-cli-git uwsm cliphist slurp grim swappy wl-clipboard wtype libnotify playerctl matugen-bin hypridle hyprsunset hyprpicker hyprshot gtk-session-lock awww apple-fonts webp-pixbuf-loader cinnamon-desktop libmediaart acpi brightnessctl power-profiles-daemon ddcutil at-spi2-core networkmanager network-manager-applet blueman pipewire libpulse gcc make pkgconf meson ninja wayland-protocols gobject-introspection gtk-layer-shell librsvg libqalculate appmenu-gtk-module libdbusmenu-gtk3 libdbusmenu-qt5 pciutils wf-recorder ffmpeg --needed
  2. Clone and Sync:

    git clone https://github.com/S4NKALP/Modus ~/.config/Modus
    cd ~/.config/Modus
    uv sync
  3. Compile the App Switcher C-Backend:

    cd src/window/switcher/app-capture
    meson setup builddir
    meson compile -C builddir
    cd ../../../..
  4. 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 ../../..
  5. 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.lua for the best compatibility.