From 0b580d8480209f5e272ef3f847261c092880a84b Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 3 Apr 2020 14:51:18 +0300 Subject: forgot to update recording script --- dotfiles/.local/bin/swayrecord | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/.local/bin/swayrecord b/dotfiles/.local/bin/swayrecord index f93ae87..5c1c2a6 100755 --- a/dotfiles/.local/bin/swayrecord +++ b/dotfiles/.local/bin/swayrecord @@ -1,7 +1,7 @@ #!/bin/sh # Source settings from .bemenurc -. $HOME/.bemenurc +. ~/.config/bemenurc if ! [ -d $VREC_DIR ]; then mkdir -p $VREC_DIR @@ -19,7 +19,7 @@ trap finishrecording SIGINT finishvideo () { kill -2 "$VIDEO_PID" - notify-send "⏺ Recording" \ + notify-send "🔴 Recording" \ "Screen recording stopped and saved at "$VREC_DIR"/video-"$OUTPUT".mp4" } @@ -65,8 +65,8 @@ video () { wf-recorder -f "$VREC_DIR/video-$OUTPUT.mp4" & VIDEO_PID=$! echo $$ > ~/.cache/recordingpid - echo "⏺" > ~/.cache/recordingicon - notify-send "⏺ Recording" "Screen recording started" + echo "🔴" > ~/.cache/recordingicon + notify-send "🔴 Recording" "Screen recording started" killall -39 waybar wait } -- cgit v1.2.3