An open API service indexing awesome lists of open source software.

https://github.com/zeioth/hyprshotgun

Screenshots the way you like: Local, or online
https://github.com/zeioth/hyprshotgun

Last synced: over 1 year ago
JSON representation

Screenshots the way you like: Local, or online

Awesome Lists containing this project

README

          

# hyprshotgun
Screenshots the way you like: Local, or online

## How to install

Arch linux users can

paru -S hyprshotgun

For other distros you can clone this repository. But you will have to manually install the package

``` sh
grimblast
```

## How to use
Check hyprshotgun --help
``` sh
hyprshotgun display # Local screenshot of the active display.
hyprshotgun region # Locan screenshot of a region selected by the user.
hyprshotgun window # Locan screenshot of the active window.
hyprshotgun alldisplays # Local screenshot of all displays currently enabled.
```
You can upload the screenshot to an online service (https://0x0.st) by adding 'upload' at the end like in

``` sh
# The url will be copied to the clipboad!
hyprshotgun region upload
```

## I want an hyprland submap/mode!

Everything for my children
```
# BIND MOD KEY DISPATCHER VALUE
bind = $mod SHIFT, s, submap, mode_screenshot
```

```
submap=mode_screenshot

# MODE IMPLEMENTATION
# -------------------------------------

#BIND MOD KEY DISPATCHER VALUE
bind = , s, exec, hyprshotgun upload
bind = , r, exec, hyprshotgun region upload
bind = , w, exec, hyprshotgun window upload
bind = , d, exec, hyprshotgun alldisplays upload
bind = , a, exec, hyprshotgun
bind = , b, exec, hyprshotgun region
bind = , c, exec, hyprshotgun window
bind = , e, exec, hyprshotgun alldisplays

# Exit condition
#BIND MOD KEY DISPATCHER VALUE
bind = , escape, submap, reset

# -------------------------------------

submap=reset
```

## Why hyprshotgun
Because it sounds rad as fuck, and the original name was [taken already](https://github.com/Gustash/Hyprshot).

## 🌟 Support the project
If you want to help me, please star this repository to increase the visibility of the project.

[![Stargazers over time](https://starchart.cc/Zeioth/hyprshotgun.nvim.svg)](https://starchart.cc/Zeioth/hyprshotgun.nvim)