first commit
This commit is contained in:
commit
38a53acd48
47 changed files with 3916 additions and 0 deletions
13
.config/hypr/scripts/screenshot.sh
Executable file
13
.config/hypr/scripts/screenshot.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
save_path=$HOME/Pictures/Screenshots/$(date +'%F_%T.png')
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
grim -g "$(slurp)" $save_path && hyprctl notify 1 2000 0 "Screenshot saved!"
|
||||
|
||||
elif [ $# -eq 1 ]; then
|
||||
|
||||
if [[ $1 == "--fullscreen" ]]; then
|
||||
grim $save_path && hyprctl notify 1 2000 0 Screenshot saved!
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue