Skip to content

About

A shell built for usability, without compromising aesthetics

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

172 Commits

Folders and files

Repository files navigation

Ateria Shell

A complete desktop shell for Niri written in QML and C++ on top of Quickshell.

It includes a status bar, launcher, notifications, quick settings, calendar, weather, lock screen, a desktop audio visualizer, and a built-in wallpaper renderer (supporting images and video without an external daemon). Native Qt modules back the network, Bluetooth, workspace, and session services, while Matugen generates dynamic Material 3 palettes from your wallpaper for the shell and optional terminal/compositor presets.


Requirements

Ateria runs on Linux with Wayland and systemd/logind.

Requirement Purpose
Niri Supported compositor; provides workspaces, windows and display actions.
Quickshell 0.3.x Shell runtime. Tested with 0.3.2.
Qt 6.6+ Core, Gui, Qml, Quick Controls, Network, DBus, Concurrent and Multimedia.
CMake 3.24+, Ninja or Make, pkg-config, C++20 compiler Builds Ateria's native QML modules on first launch.
NetworkManager + libnm 1.26+ Wi-Fi controls.
BlueZ Bluetooth.
PipeWire + WirePlumber Audio devices and volume.
UPower Battery information.
Matugen Generates the Material 3 palette from the wallpaper.
Python 3.11+ Configuration preset tooling.
Material Symbols Outlined Icon font used throughout the shell.

Optional tools add specific features:

Tool Feature
cliphist, wl-clipboard Clipboard history.
brightnessctl Internal display brightness.
ddcutil External monitor brightness over DDC/CI.
gpu-screen-recorder Screen recording.
notify-send Notifications from scripts.
swaylock, gtklock or hyprlock Lock-screen crash recovery and fallback.
pavucontrol Default audio-settings shortcut.
cava Desktop audio visualizer.
kitty, firefox, code, thunar Default Niri application shortcuts.

Install dependencies on Arch

sudo pacman -S --needed \
  quickshell qt6-base qt6-declarative qt6-multimedia qt6-wayland \
  cmake ninja gcc pkgconf \
  networkmanager libnm bluez bluez-utils \
  pipewire wireplumber upower \
  niri matugen python libnotify \
  cliphist wl-clipboard brightnessctl ddcutil gpu-screen-recorder cava \
  ttf-material-symbols-variable

On other distributions, install the equivalent packages. The less obvious ones are libnm, the Qt development/QML packages, and pkg-config.

Ateria uses Google Sans and Google Sans Code by default, with fallbacks when they are missing. For the intended look, install ttf-google-sans and ttf-google-sans-code-vf from the AUR or Google Fonts. The icon font is required.


Install

Ateria is loaded as Quickshell's default configuration. On first launch it builds and installs its native modules automatically.

git clone https://github.com/ateria-project/ateria-shell.git ~/Projects/ateria-shell
cd ~/Projects/ateria-shell

mkdir -p ~/.config/quickshell
ln -sfn "$PWD" ~/.config/quickshell/default

./tools/ateria-shell

The first run may ask for sudo, because Quickshell's native modules are installed into Qt's system QML directory. Later launches through qs or quickshell use those modules directly.

If you prefer not to install into the system QML directory:

ATERIA_SKIP_NATIVE_INSTALL=1 ./tools/ateria-shell

Use quickshell --path "$PWD" if you want to run Ateria without making it the default configuration.

Application presets

Ateria can also manage matching configurations for Niri, Kitty, Foot and Fish:

./tools/ateria-config list
./tools/ateria-config install niri
./tools/ateria-config install kitty
./tools/ateria-config install foot
./tools/ateria-config install fish

The Niri preset adds Ateria's keybinds, window rules, terminal colors and a startup entry. Presets keep personal changes in separate user-owned files, so your settings survive updates. See configs/README.md for backups, updates and uninstall rules.

Start on login

The Niri preset already starts Ateria at login. If you use your own Niri configuration, add:

spawn-at-startup "sh" "-c" "f=\"${XDG_CONFIG_HOME:-$HOME/.config}/niri/ateria/ateria-env.sh\"; if [ -r \"$f\" ]; then . \"$f\"; fi; exec qs"

This shared environment script applies Ateria's memory and GPU tuning before Quickshell starts.


Use

Keyboard shortcuts

These come from the Niri preset. The full set is in configs/niri/ateria/binds.kdl.

Shortcut Action
Mod+D Launcher
Mod+V Clipboard history
Mod+L Lock session
Mod+T / Mod+W / Mod+C / Mod+E Terminal / browser / editor / file manager
Ctrl+Alt+V Audio settings
Mod+O Niri overview
Mod+Shift+P Power off monitors
Print / Ctrl+Print / Alt+Print Screenshot region / screen / window
XF86Audio* Volume, mute and microphone mute
XF86MonBrightness* Brightness with OSD

Application commands are configured in ~/.config/niri/applications.kdl:

environment {
    ATERIA_TERMINAL "kitty"
    ATERIA_BROWSER "firefox"
    ATERIA_EDITOR "code"
    ATERIA_FILE_MANAGER "thunar"
    ATERIA_AUDIO_SETTINGS "pavucontrol"
}

Commands

Use qs ipc to control the running shell from keybinds or scripts:

qs ipc call launcher toggle
qs ipc call clipboard toggle
qs ipc call settings toggle
qs ipc call weather toggle
qs ipc call wallpaper toggle
qs ipc call recording toggle
qs ipc call session lock
qs ipc call session suspend
qs ipc call osd brightnessUp
qs ipc call osd brightnessDown

qs ipc show lists everything the running instance exposes.

Use the configuration default consistently. Launching the same files with --path creates a separate Quickshell identity, and existing qs ipc keybindings will not reach it.

Settings

Open the settings panel from the gear in Quick Settings, or run qs ipc call settings toggle. It covers wallpaper, appearance, fonts, bar behavior, idle and lock policy, media, screen recording, weather and launcher history.

Settings are stored in ~/.config/ateria/settings.json. Edit it only while the shell is stopped; invalid values are discarded when the shell starts.

Wallpapers and colors

Place wallpapers in ~/Pictures/Wallpapers/, or choose another folder in Settings → Wallpaper & style. Supported formats are PNG, JPEG, WebP, MP4, WebM, MKV and GIF.

Matugen derives the shell's Material 3 palette from the selected wallpaper and writes matching colors for any installed Niri, Kitty, Foot and Fish presets. Video wallpapers pause when a large window covers the output, during power saver, and while the session is locked.

Settings → Appearance → Palette style controls how much of the wallpaper's color the palette keeps: Tonal spot (calm Material default), Vibrant, Content, Expressive, Fidelity, or Fruit salad. Changing it regenerates the palette immediately and updates the terminal and compositor presets too.

The desktop audio visualizer requires cava and can be disabled in Settings → Wallpaper & style.

Settings → Appearance → Widget accents controls how active bar widgets are colored. Muted keeps one neutral selection color; Categorized gives each widget its own primary, secondary or tertiary accent; Soft uses the matching container colors for a quieter result.

Weather uses Open-Meteo and needs no API key. Leave the location empty for IP-based detection, or set a city in Settings → Weather.


Configuration

Shell files

Path Contents
~/.config/ateria/settings.json Shell settings.
~/.config/quickshell/default Symlink to this checkout.
~/.local/state/ateria/ Preset state, backups, Matugen runtime config and cached palettes.
~/.cache/quickshell/ Quickshell caches and cached wallpaper images/videos.
~/.cache/cliphist/db Clipboard history.
~/Movies/ Default screen-recording output.

Preset files

Managed preset files can be replaced by ./tools/ateria-config update. Put personal changes in:

Application User-owned files
Niri ~/.config/niri/user-config.kdl, ~/.config/niri/applications.kdl
Kitty ~/.config/kitty/user.conf
Foot ~/.config/foot/user.ini
Fish ~/.config/fish/user.fish, ~/.config/fish/user-colors.fish

Color files are generated by Matugen and should not be edited.

Runtime tuning

configs/niri/ateria/ateria-env.sh applies bounded jemalloc arenas, VAAPI decoding on supported GPUs, and EGL vendor selection for the compositor's GPU. Set ATERIA_EGL_VENDOR=none to leave EGL selection to the system, or set __EGL_VENDOR_LIBRARY_FILENAMES and MALLOC_CONF yourself.


Troubleshooting

The shell does not start. Check quickshell --version, make sure ~/.config/quickshell/default/shell.qml exists, and run ./tools/ateria-shell -v for QML errors.

The native build fails. Install the Qt development packages and libnm, verify pkg-config --modversion libnm, and make sure CMake is 3.24 or newer. Delete .build/native if the build cache points at stale Qt paths.

Icons are blank. Install Material Symbols Outlined, run fc-cache -f, and restart the shell.

Clipboard history is empty. Install cliphist and wl-clipboard, then copy something after the shell starts.

Brightness does nothing. Check brightnessctl --class=backlight info for internal panels, or ddcutil detect for external monitors with DDC/CI enabled.

Wi-Fi or Bluetooth is unavailable. Ensure NetworkManager and BlueZ are running, then rebuild the native modules with ./tools/ateria-native-modules.

The lock screen fails. The compositor must support ext-session-lock, and PAM must be available. Install an external locker for crash recovery. qs ipc call session status shows the current lock state.

The wallpaper is black. Confirm the folder contains a supported file and that Qt Multimedia is installed. Video wallpapers are cached and may take a moment on first use.


Development

shell.qml       Quickshell entry point
shell/          Surface and panel control
features/       Bar, launcher, panels, lock, OSD and other UI
platform/       Services for audio, network, Bluetooth, session, theme, weather
components/     Reusable Material 3 components
theme/          Colors, typography, metrics and motion
native/         C++/Qt QML modules
configs/        Managed presets for Niri, Kitty, Foot and Fish
matugen/        Color templates
assets/         Bundled wallpaper, weather art and PAM stack
tools/          Launch, build, preset and runtime helpers
tests/          Python, shell and QML tests

Build the native modules directly:

./tools/ateria-native-modules

cmake -S native -B .build/native \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  -DATERIA_BUILD_TESTS=OFF
cmake --build .build/native --parallel --target ateria_native_modules

Run the tests:

python3 tests/test_config_manager.py
sh tests/test_ateria_env.sh
sh tests/test_ateria_runtime.sh
sh tests/test_lock_guardian.sh

If qmltestrunner is installed:

qmltestrunner -input tests

Useful build overrides:

Variable Effect
ATERIA_NATIVE_BUILD_DIR Use another build directory.
ATERIA_NATIVE_QML_INSTALL_DIR Install modules to another QML directory.
ATERIA_SKIP_NATIVE_INSTALL=1 Build without installing into Qt's QML directory.
ATERIA_SKIP_NATIVE_BUILD=1 Skip the native build and install entirely.

Further notes: native/ARCHITECTURE.md and configs/README.md.


Remove

./tools/ateria-config uninstall niri
./tools/ateria-config uninstall kitty
./tools/ateria-config uninstall foot
./tools/ateria-config uninstall fish

rm ~/.config/quickshell/default
rm -rf ~/.config/ateria ~/.local/state/ateria

Remove ~/.cache/quickshell only if you do not use any other Quickshell configuration.


Credits

Ateria is built on Quickshell, Niri and Matugen. Weather artwork comes from bignutty/google-weather-icons. Bundled Unsplash photography is credited by its filenames in assets/.

About

A shell built for usability, without compromising aesthetics

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages