DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

binds.kdl is created readonly

Open RadicalTray opened this issue 1 year ago • 2 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] Other (specify)

Distribution

NixOS

dms version

git caa703a

Description

binds.kdl is created readonly and log warns that it fails to write binds config

Expected Behavior

binds should be writable(?)

Steps to Reproduce

run dms to generate binds.kdl

Error Messages/Logs

WARN qml: NiriService: Failed to write binds config, exit code: 1

Screenshots/Recordings

Image

RadicalTray avatar Oct 15 '25 03:10 RadicalTray

The cp command needs the --no-preserve=mode option added. This error occurs because all paths under /nix/store are read-only. Reference: https://github.com/AvengeMedia/DankMaterialShell/pull/341

bokicoder avatar Oct 15 '25 13:10 bokicoder

Fixed d276e31f7bb67c645e38475045b92cd480246e27

You'll have to delete or chmod the existing one, but this binds.kdl thing is temporary the real plan is to have an interface to configure and view keybinds within the settings. Albeit, currently blocked by https://github.com/quickshell-mirror/quickshell/pull/277

We can't work around the shortcuts inhibitor thing in any other way for the better keybinds plan I have, otherwise I would (like I have for networkmanager and other things) - since the quickshell process owns the wl_surface

bbedward avatar Oct 15 '25 22:10 bbedward