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
- Host: GitHub
- URL: https://github.com/zeioth/hyprshotgun
- Owner: Zeioth
- License: gpl-3.0
- Created: 2023-04-26T11:24:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T14:01:36.000Z (about 2 years ago)
- Last Synced: 2025-03-18T13:29:06.780Z (over 1 year ago)
- Language: Shell
- Size: 59.6 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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.
[](https://starchart.cc/Zeioth/hyprshotgun.nvim)