MikaShell is a tool for building desktop components using web technologies in a Wayland desktop environment. It is inspired by the Astal/Ags project.
You can create components such as bars, docks, and launchers using HTML or any web front-end framework.
MikaShell implements backend functionalities that handle desktop interactions, such as notifications, system tray, and other features that native browsers can't provide. These backend interfaces are exposed to the frontend, allowing you to call them directly in HTML or JavaScript.
mika-shell exposes modules to window.mikaShell
. You can install them via npm:
# The core module is required for type hinting, even if you don't install it directly.
npm install -D @mika-shell/core
# Some modules are implemented by mika-shell itself, such as Hyprland in the extra package.
npm install @mika-shell/extra
Below is a list of modules that are currently implemented or partially implemented:
Module | Description | Status |
---|---|---|
apps |
Get list of installed applications; launch them | ✅ Implemented |
dock |
Display app icons; build a dock | ✅ Implemented |
icon |
Access installed system icons | ✅ Implemented |
layer/window |
Create and control layers or windows | ✅ Implemented |
libinput |
Capture mouse/keyboard input (requires permissions) | ✅ Implemented |
monitor |
Get information about connected monitors | ✅ Implemented |
notifd |
Access notification system | ✅ Implemented |
os |
Get system and user information | ✅ Implemented |
tray |
Build a system tray | ✅ Implemented |
network |
NetworkManager-related APIs |
- powerprofile
- bluetooth
- pam
- locksession
- [~] network
- Event handling
- mpris
- battery
- cava
- wireplumber
- wayland
You can refer to this section to see required packages for Ubuntu. In general, you only need to install packages starting with lib
.
You can download a prebuilt binary from the Releases page, or build it from source.
The mika-shell-debug
version provides more verbose logging for debugging purposes.
For Nix users, you can launch it with:
nix run github:HumXC/mika-shell#packages.x86_64-linux.default -- daemon
Run mika-shell daemon
to start the service. The first time it runs, it will generate default configuration files in ~/.config/mika-shell
.
If everything works properly, you should see a bar appear at the top of your screen.
The tutorial or Wiki is not yet available (hasn’t been written yet), but you can explore the example directory for working samples!
Configuration and resource files are stored by default in $HOME/.config/mika-shell/
.
You can override this with the -c
command line flag or the MIKASHELL_CONFIG_DIR
environment variable.
The main configuration file is mika-shell.json
, and other frontend resource files are located in the same directory.