diff options
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/audio | 2 | ||||
| -rwxr-xr-x | .scripts/dmenurecord | 4 | ||||
| -rwxr-xr-x | .scripts/screencast | 2 | ||||
| -rwxr-xr-x | .scripts/video | 2 |
4 files changed, 5 insertions, 5 deletions
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 |
