hyprwm / contrib

Community scripts and utilities for Hypr projects
MIT License
284 stars 39 forks source link

[FR] Add desktop entry for grimblast in nix package #97

Closed max-ishere closed 1 month ago

max-ishere commented 6 months ago

I was gonna PR this, but very busy atm. Can someone please add a desktop entry to grimblast's nix home-manager module? wofi --show drun doesnt allow running cli commands, only selecting a desktop entry.

fufexan commented 6 months ago

Grimblast isn't exactly runnable as-is, since it only prints the help. In order for this feature to be feasible, we'd need to have a config for grimblast.

A bind makes more sense given the scope of the program.

max-ishere commented 6 months ago

Yeah I think that may work better. For some of my usecases I would probably need to implement a custom command line anyway. Most of my use is either copy area or save to file but that would require either invoking wofi/rofi/etc or a file picker.

max-ishere commented 6 months ago

LibreOffice has this thing where it groups multiple entries under the same name. I was originally thinking about something like that.

image

max-ishere commented 6 months ago

In order for this feature to be feasible, we'd need to have a config for grimblast.

Also originally I was gonna have multiple entries, not just one. A config would be nice for setting a file picker command if the file name is not specified for saving.