mirror of
https://github.com/arkorty/Scripts.git
synced 2026-03-18 01:07:10 +00:00
Initial commit
This commit is contained in:
18
screenshot
Executable file
18
screenshot
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
# Script: screenshot
|
||||
# License: MIT
|
||||
# Author: Arkaprabha Chakraborty
|
||||
# Created: 27-09-23
|
||||
# Dependencies: maim, dunstify
|
||||
#
|
||||
# Copyright (C) 2023 Arkaprabha Chakraborty
|
||||
|
||||
PROG=maim
|
||||
NOTIPROG=dunstify
|
||||
|
||||
timestamp=$(date +%F-%T)
|
||||
PROG -u -s "$HOME/Pictures/Screenshots/$timestamp-screenshot.png"
|
||||
|
||||
NOTIPROG "Captured" -a "maim" -u "low" -t "2000" -I "$HOME/Pictures/\
|
||||
Screenshots/$timestamp-screenshot.png"
|
||||
Reference in New Issue
Block a user