Skip to content
d77voidPublic

About

A desktop shell for Niri and Quickshell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pmMac logo

pmMac · Poor Man’s Mac

A macOS-inspired desktop shell for Niri on Wayland, built with Quickshell.


Install

1. Get the prerequisites

Install Niri 26.04 or newer, Quickshell 0.3.2 or newer with its Wayland, Networking, and Qt Quick modules, Python 3, gtk-launch from GTK, and qsd77 for the keyboard shortcuts. Make sure qsd77 is on your Niri session's PATH. qsd77

To download and install from the checkout, have Git, GNU Make, Bash, curl, tar, coreutils, and gtk-update-icon-cache available. Add the services you want to use.

Feature What to install
Wallpapers and matching colors awww, awww-daemon, and Matugen 4
Network panel NetworkManager. Add nm-connection-editor for advanced connection settings.
Volume, brightness, and battery PipeWire, brightnessctl, and UPower
Notifications Nothing extra. Stop any other notification daemon, such as mako, dunst, or swaync, since only one can run.
Bluetooth BlueZ (bluetoothd and bluetoothctl, which pmMac runs as the pairing agent while the Bluetooth panel is open). Devices that ask for a PIN or a code to confirm need another agent, such as Blueman.
Media controls Any player that supports MPRIS, which most do
Power modes and session actions power-profiles-daemon and either elogind or systemd-logind
Assistant A local Ollama service and curl. nvidia-smi, rocm-smi, or lspci help suggest a model size.
Screen locking Quickshell with PAM support and the /etc/pam.d/amorphis policy from Amorphis

2. Install pmMac and the icons

git clone https://github.com/d77void/pmMac.git
cd pmMac
sudo make install

The installer puts pmMac in /usr/share/quickshell/pmmac, installs the pmmac command, and downloads and verifies its WhiteSur icon theme. If you prefer an install for your account only, see the per-user instructions.

3. Start it in Niri

Add this line at the end of ~/.config/niri/config.kdl, or in your Niri config under $XDG_CONFIG_HOME if you use a custom config directory.

include "/usr/share/quickshell/pmmac/niri-pmmac.kdl"

This enables pmMac and its keyboard shortcuts at the next login. If this file starts another desktop shell, comment out its startup line before logging in with pmMac.

To give app windows pmMac's look as well (rounded corners, soft shadows, a thin glass edge instead of the focus ring, shadows under pmMac's panels, and a matching window switcher for Mod + Tab), add this line after it.

include "/usr/share/quickshell/pmmac/colours-pmMac.kdl"

It asks apps to leave out their own title bars, so restart open apps afterwards. Settings you write after this line still take precedence.

Open a terminal in Niri to check the configuration and start pmMac now.

niri validate --config "${XDG_CONFIG_HOME:-$HOME/.config}/niri/config.kdl"
pmmac run --daemonize

Use pmMac

  • Dock. Click an app to launch or focus it. Click it again while focused to hide its windows, then click once more to bring them back. Right-click to pick a window or pin or unpin the app.
  • Launchpad. Click the grid icon at the start of the Dock, or press Mod + Ctrl + G, to see every app as a large icon on blurred glass. Type to search, use the arrow keys and Enter, scroll or click the dots to change page, and right-click an app to pin it to the Dock. Click empty space or press Escape to close.
  • Stacks. Your Downloads folder sits at the end of the Dock, after a divider. Click it to see its newest items in a grid; click an item to open it, or use Open in Files for the whole folder. Choose which folders appear with dockStacks in Settings.qml.
  • Emoji & Symbols. Press Mod + Ctrl + E, search in Portuguese or English or browse by category, and press Enter or click an emoji. It's typed into the app you were using when wtype is installed, and always copied to the clipboard. Your recent emoji come first.
  • Search. Works like Spotlight. Type to find apps, files and folders in your home folder, and pmMac actions such as Lock screen, Network, or Wallpaper. Type a calculation such as 2*17+3, 15% * 80, or sqrt(2) to see the result, and press Enter to copy it. Use the arrow keys to move between results, Enter to open, and Escape to close the panel. File search uses fd when it is installed, and find otherwise.
  • Control Center. Adjust volume and brightness, open Network to connect to Wi-Fi or Bluetooth to pair and connect devices (with their battery levels), or click Battery to cycle through the available power modes. While music or a video plays, Now Playing shows the cover, title, and artist, with play, pause, skip, and a progress bar you can drag; click the cover to bring the player forward. The media keys control the same player. The top bar shows the battery percentage and charging state.
  • Wallpaper. Open the wallpaper picker and choose an image. It starts in ~/Wallpaper. The color intensity slider controls how much the wallpaper colors tint the shell.
  • Notifications. New notifications slide in at the top right and leave after a few seconds; hover to keep one on screen, click it to open its app, or use its buttons. Click the date and time in the top bar, or press Mod + Ctrl + N, to open Notification Center, with a month calendar at the top (scroll or use the arrows to change month) and everything you haven't cleared below. A dot by the clock marks unread notifications. Turn on Do Not Disturb there or in Control Center to silence banners, except urgent ones; a moon shows in the bar while it's on.
  • Menu bar extras. Apps running in the background, such as Nextcloud, Discord, or Steam, show their icon in the top bar. Click an icon to open the app, right-click it for the app's menu, and middle-click for its secondary action.
  • Clock. Right-click the date or time in the top bar to switch between 24-hour and 12-hour formats. pmMac remembers your choice.
  • Assistant. Click the colored orb at the right end of the top bar to chat with a model running on your computer through Ollama. Pick or download a model from the list at the top. If none is installed, pmMac downloads qwen2.5:0.5b. Press Escape to stop a reply. Closing the panel clears the conversation and unloads the model.
  • Hot Corners. They are off by default, as on macOS. Give a screen corner an action in Settings.qml, for example topLeft: "overview", and resting the pointer there runs it. Niri has its own hot corner at the top left, which opens the overview; to give that corner another action, turn Niri's off with gestures { hot-corners { off } } in a file Niri reads after any that turn it on.
  • Screenshots. Press Mod + Shift + 3 for the whole screen or Mod + Shift + 4 to select an area. Mod + Shift + 5 opens a toolbar to capture the screen, the active window, or a selection, with an optional 5 or 10 second timer and the pointer shown or hidden. Each screenshot is copied to the clipboard and saved by Niri (in ~/Pictures/Screenshots unless you set screenshot-path), and a thumbnail appears in the bottom-right corner for a few seconds; click it to open the picture.
  • Session. Click the pmMac icon at the left of the top bar for screen lock, suspend, and other session actions.

The interface supports English and European Portuguese. The date follows your session locale.

Keyboard shortcuts

Mod means the key configured as the Niri modifier, usually Super.

Shortcut Action
Mod + Ctrl + Space Search applications
Mod + Ctrl + G Open Launchpad
Mod + Ctrl + Shift + C Open Control Center
Mod + Ctrl + N Open Notification Center
Mod + Ctrl + E Emoji & Symbols
Mod + Ctrl + W Open the wallpaper picker
Mod + Ctrl + S Open the session menu
Mod + Ctrl + A Open the assistant
Mod + Ctrl + O Open Niri's overview
Mod + Tab, Mod + ` Switch windows, or windows of the same app (Niri's switcher)
Mod + Shift + 3 / 4 / 5 Screenshot the screen, a selection, or open the screenshot toolbar
Mod + Alt + L Lock the screen
Volume and brightness keys Adjust the level and show its percentage
Play, next, and previous keys Control the player shown in Now Playing

See the advanced user and developer guide for customization, diagnostics, and packaging.

pmMac is released under the MIT License. WhiteSur is distributed under its own GPL-3.0 license.

About

A desktop shell for Niri and Quickshell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages