From d14c117df7ed04fcfabd9530f1b7843e2326d9d9 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 4 Aug 2018 13:49:54 -0400 Subject: [PATCH] recording icon location moved --- .config/i3blocks/config | 2 +- .scripts/audio | 2 +- .scripts/dmenurecord | 4 ++-- .scripts/screencast | 2 +- .scripts/video | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 0042ac0..e7af9e2 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -3,7 +3,7 @@ separator_block_width=15 markup=pango [record] -command=cat ~/.scripts/.recording +command=cat ~/.recordingicon interval=once signal=9 diff --git a/.scripts/audio b/.scripts/audio index 6c5059e..2e52e08 100755 --- a/.scripts/audio +++ b/.scripts/audio @@ -26,4 +26,4 @@ $filename ;} if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi & # Updating i3blocks recording icon: -echo 🎙️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks +echo 🎙️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks diff --git a/.scripts/dmenurecord b/.scripts/dmenurecord index f367091..26b26b3 100755 --- a/.scripts/dmenurecord +++ b/.scripts/dmenurecord @@ -8,8 +8,8 @@ case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select record Screencast) screencast ;; "Audio only") audio ;; "Video only") video ;; -esac -echo $! > ~/.larbs/.recordpid ;} +esac ;} + # If already running, will ask to end previous recording. diff --git a/.scripts/screencast b/.scripts/screencast index fd09ca0..b24beb2 100755 --- a/.scripts/screencast +++ b/.scripts/screencast @@ -35,4 +35,4 @@ ffmpeg -y \ if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi & # Updating i3blocks recording icon: -echo ⏺️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks +echo ⏺️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks diff --git a/.scripts/video b/.scripts/video index cc81bff..624581f 100755 --- a/.scripts/video +++ b/.scripts/video @@ -18,4 +18,4 @@ ffmpeg \ -c:v libx264 -qp 0 -r 30 $filename & # Updating i3blocks recording icon: -echo ⏺️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks +echo ⏺️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks