added own notification script
This commit is contained in:
17
hypr/scripts/replay-notification.sh
Executable file
17
hypr/scripts/replay-notification.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
PROGRAM_NAME="gpu-screen-recorder"
|
||||
|
||||
case "$2" in
|
||||
replay)
|
||||
notify-send -u low "$PROGRAM_NAME" "Replay saved: $1"
|
||||
;;
|
||||
regular)
|
||||
notify-send -u low "$PROGRAM_NAME" "Stream/Video saved: $1"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {saved_file} {replay|regular}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user