AvengeMedia / AvengeMedia/DankMaterialShell
How to stop dms creating dms directory in ~/.config/niri/
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Niri
### Distribution
Arch Linux
### If Other, please specify
_No response_
### Select your Installation Method
Distro Packaging
### Was your original Installation method different?
Yes
### If no, specify
_No response_
### dms doctor -vC
## DMS Doctor Report
**System**
- [ok] Operating System: Arch Linux
- ID: arch, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
**Versions**
- [ok] DMS CLI: dms v1.4.0-62-g17132924
- /usr/bin/dms
- [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
- /usr/bin/qs
- [ok] DMS Shell: v1.5-beta
- /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
- [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
- [warn] power-profiles-daemon: Not available
- Power profile management
- [ok] logind: Available
- Session management
- [warn] cups-pk-helper: Not available (install cups-pk-helper)
- Printer management
- [info] I2C/DDC: No monitors detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (5 formats)
- Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
- Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats)
- [ok] Terminal: kitty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [warn] matugen: Missing
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [warn] cava: Missing
- 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/chz/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/chz/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/chz/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/chz/.local/state/DankMaterialShell/session.json
- [info] dms-colors.json: Not yet created
- /home/chz/.cache/DankMaterialShell/dms-colors.json
**Services**
- [warn] dms.service: Disabled
- [info] greetd: Not installed
- Optional greeter service
**Environment**
- [info] QT_QPA_PLATFORMTHEME: Not set
- [info] QS_ICON_THEME: Not set
---
**Summary:** 0 error(s), 6 warning(s), 20 ok
### Description
Whenever dms is restarted, it will create dms directory in my ~/.config/niri config directory if it doesn't exit, I've already migrated all its config into my own niri/config.kdl after manually running `dms setup`, so I don't want dms to create dms anymore.
Not sure if this is a bug or feature request.
### Expected Behavior
Do not create ~/.config/niri/dms/ eveytime dms is started.
### Steps to Reproduce
1. delete `~/.config/niri/dms` directory
2. kill dms
3. restart it using `dms run`
4. Check `~/.config/niri/` directory, it will create dms directory in it.
### Error Messages/Logs
_No response_
### Screenshots/Recordings
_No response_
Contributor guide
Research direction
Start at the dms run startup path and the niri configuration handling used after dms setup. Reproduce the restart steps with ~/.config/niri/dms absent, then trace which operation creates it; done means dms starts without recreating that directory when the configuration is already in niri/config.kdl.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100