AvengeMedia / AvengeMedia/DankMaterialShell
Background Namespaces/Layers do not exist anymore?
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Niri
### Distribution
Other (specify below)
### If Other, please specify
EndeavourOS
### Select your Installation Method
Distro Packaging
### Was your original Installation method different?
None
### If no, specify
_No response_
### dms doctor -vC
Click to expand
## DMS Doctor Report
**System**
- [ok] Operating System: EndeavourOS
- ID: endeavouros, Version: 2025.03.19, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
**Versions**
- [ok] DMS CLI: dms v1.4.1
- /usr/bin/dms
- [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
- /usr/bin/qs
- [ok] DMS Shell: v1.4.1
- /usr/share/quickshell/dms
**Installation**
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms
**Compositor**
- [ok] Hyprland: 0.53.3
- /usr/bin/hyprland
- [ok] niri: 25.11
- /usr/bin/niri
- [ok] labwc: 0.9.3
- /usr/bin/labwc
- [info] Active: niri
**Quickshell Features**
- [info] Polkit: Not available
- Authentication prompts
- [info] IdleMonitor: Not available
- Idle detection
- [info] IdleInhibitor: Not available
- Prevent idle/sleep
- [info] ShortcutInhibitor: Not available
- Allow shortcut management (niri)
**Optional Features**
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [warn] cups-pk-helper: Not available (install cups-pk-helper)
- Printer management
- [ok] I2C/DDC: 2 monitor(s) detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (1 formats)
- Formats: GIF (/usr/lib/qt6/plugins/imageformats)
- [warn] kimageformats: Not installed
- AVIF, HEIF, JXL support
- [ok] Terminal: alacritty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [info] khal: Not installed
- Calendar events
- [info] danksearch: Not installed
- File search
- [info] fprintd: Not installed
- Fingerprint auth
**Config Files**
- [ok] settings.json: Present
- /home/lopolin/.config/DankMaterialShell/settings.json
- [info] clsettings.json: Not yet created
- /home/lopolin/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/lopolin/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/lopolin/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/lopolin/.cache/DankMaterialShell/dms-colors.json
**Services**
- [ok] dms.service: enabled, active
- [ok] greetd: enabled
**Environment**
- [info] QT_QPA_PLATFORMTHEME: kde
- [info] QS_ICON_THEME: Not set
---
**Summary:** 0 error(s), 3 warning(s), 26 ok
### Description
Some previous release ago there were still Background layers. Don't know when they were gone, since I hadn't noticed until yesterday. I had used them like this:
```kdl
// Hide Notifications
layer-rule {
exclude namespace=r#"^dms:.*:background$"#
match namespace="dms:notification-popup"
match namespace="dms:notification-center-popout"
match namespace="dms:notification-center-modal"
match namespace="dms:clipboard"
block-out-from "screen-capture"
}
```
This hides just the modal without any additional things. In the case of the clipboard: when opening it, instead of the entire screen going black, it was just the area with the clipboard.
### Expected Behavior
Background dim stays visible to screen capture, actual content is hidden. In case of history, only the notification is hidden instead of the entire right-hand side.
### Steps to Reproduce
1. take config from above
2. put it into any Niri config and save
3. capture screen with OBS
4. open Clipboard history, get a notification or similar
5. review footage
### Error Messages/Logs
_No response_
### Screenshots/Recordings
Note: to take screenshot properly, do it manually and select region. If doing fullscreen or window screenshot, screencapture blocks are applied.
Contributor guide
Research direction
Start by reproducing the issue with the supplied niri layer-rule configuration, DMS setup, and an OBS screen capture. Compare clipboard history and notification behavior with the background namespace excluded; done means the dim background remains visible to capture while only the intended modal or notification content is hidden.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100