https://github.com/abhaysp95/sshots
Script to take screenshot in various ways
https://github.com/abhaysp95/sshots
Last synced: 3 months ago
JSON representation
Script to take screenshot in various ways
- Host: GitHub
- URL: https://github.com/abhaysp95/sshots
- Owner: abhaysp95
- License: mit
- Created: 2021-03-09T10:24:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T05:45:57.000Z (about 4 years ago)
- Last Synced: 2025-01-13T03:45:57.294Z (4 months ago)
- Language: Shell
- Size: 1.76 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sshots
Script to take screenshot of your desktop.
## Features:
Following are the features provided by this script:
* Take full screenshot
* Take active window screenshot
* Take selected region screenshot
* Take delayed screenshot
* Copy only the screenshot(for screenshots with no future need)
* Copy and also save the screenshot
* Edit the screenshot to provide it nice look(shadow and custom background)
* Get screenshot preview with notification## Options:
You can get the all the information with `--help|-h` option. Here are also few other options with previews:
### full window screenshot
To take full window screenshot, use `--full|-f` option

### acitve window screenshot
To take acitve window screenshot, use `--window|-w` option

### selected region screenshot
To take selected region screenshot, use `--range|-r` option

### delayed screenshot
For delayed screenshot, use `--delay|-dl` option. Few things to note here though:
* By-default, delay is set for `5 sec`
* You can provided either `--full|-f` or `--window|-w` option after `--delay|-dl`, to take the respective type of screenshot
* If no option is provided then by-default, it'll take _fullscreen screenshot_ after the time interval### screenshot with dmenu
Use `--dmenu|-dm` option to get dmenu prompt with all the options supported

Here are the options supported through dmenu prompt:
* Fullscreen
* Active Window
* Selected Region(Range)
* Delay(Fullscreen)
* Delay(Window)
* Fullscreen(copy only)
* Active Window(copy only)
* Selected Region(copy only)
* Delay(Fullscreen + copy only)
* Delay(Window + copy only)
* Fullscreen(screenshot + copy)
* Active Window(screenshot + copy)
* Selected Region(screenshot + copy)
* Delay(Fullscreen + screenshot + copy)
* Delay(Window + screenshot + copy)
* Quit`copy only` means that it'll not save the screenshot for further use. This is beneficial for quick sharing of screenshot with no future use.
`screenshot + copy` means that it'll copy as well as save the screenshot.
## Dependencies
* `maim` -> screenshot taking utility
* `notification-daemon` -> for taken screenshot previews with notification
* `xdotool` -> to get the active window for screenshot`NOTE: For better usage, bind this script with options you desire to your keyboard as shortcut.`
## Credits
Got the idea for dmenu usage from `Derek Taylor`. Visit his repo [here](https://gitlab.com/dwt1)