AvengeMedia / AvengeMedia/DankMaterialShell

Use right click to open screenshot in editor

Open
#966 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

## Feature Description

Using the right click instead of the left one when taking a screenshot will automatically pipe it into an editor

## Use Case

Being able to either immediately save and copy a screenshot or open it without saving and copy without having to set multiple different keybinds for each one

## Compositor

Is this feature specific to one compositor?

- [x] All compositors
- [ ] niri
- [ ] Hyprland
- [ ] dwl (MangoWC)
- [ ] sway

## Proposed Solution

- Using a right click instead of a left click will open the screenshot in an editor and will not save or copy the screenshot (unlike now where pressing right click justs stops the screenshots).
- The command used for the editor can be put in the dms config, and so in the setting app a text box to type the command.
- Additionally an argument for the cli that will prioritize the command put there over the one in config, aka `dms screenshot` and using a right click will open it in an editor using the command put in thems config, and something like `dms screenshot --editor "editor command"` with a right click will use the command specified here.

## Alternatives/Existing Solutions

I've seem end-4's shell do that but yea i can't really use it here

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by tracing the screenshot action and its right-click handling, then inspect the configuration, settings, and CLI paths involved; done means right click opens the configured or CLI-overridden editor without saving or copying, while left click keeps its current behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.