GithubHelp home page GithubHelp logo

Feature request: Delete button about swappy HOT 2 CLOSED

jtheoof avatar jtheoof commented on August 25, 2024
Feature request: Delete button

from swappy.

Comments (2)

jtheoof avatar jtheoof commented on August 25, 2024

Most of the things you describe is already handled by swappy. You can:

  1. Output grim to sdout
  2. Pipe in swappy as stdin
  3. Do your edit
  4. Ctrl+C
  5. Escape

You now have a valid swappy buffer in your clipboard. No need to remove anything.

Overall, swappy shouldn't delete file from users filesystem. What it should do is cleanup after itself when using -f - option and this was handled in #80 .

For the notification, they were removed in my patch yesterday. See #58 details for the reason behind this.

Overall the idea is to keep the tool as simple as possible and I think your proposal goes against it.

from swappy.

WhyNotHugo avatar WhyNotHugo commented on August 25, 2024

Hi!

I [long ago] wrote shotman for taking screenshots, but, honestly, swappy is far more feature-rich and does does 99% of all the extra things I'd want, and I'd love to drop my own tool and move over to swappy.

However, the lack of a delete button is a hard dealbreaker for me.

I really dislike the idea of "only keep in memory by default". In case of failure, or accidentally closing swappy, the data is lost forever. The idea of "data is discarded by default, only save explicitly" seems too fragile for me.

The opposite approach: save by default, and require explicit deletion would seem safer and reliable in almost any scenario. I'd love to do something like:

swappy -f $(grimshot save output)

This approach also separates roles clearly: grimshot takes a screenshot, swappy shows a UI to operate on it.

However, I'd need a hotkey to delete the file if I chose to, especially since I'm already looking at a UI. This model is honestly, just inspired by what iOS does (my intention with shotman was to follow that approach, but I've never had the time for it).

Can this feature be revisited?

from swappy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.