recording icon location moved

This commit is contained in:
Luke Smith 2018-08-04 13:49:54 -04:00
parent 3772f47536
commit d14c117df7
5 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ separator_block_width=15
markup=pango markup=pango
[record] [record]
command=cat ~/.scripts/.recording command=cat ~/.recordingicon
interval=once interval=once
signal=9 signal=9

View file

@ -26,4 +26,4 @@ $filename ;}
if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi & if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi &
# Updating i3blocks recording icon: # Updating i3blocks recording icon:
echo 🎙️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks echo 🎙️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks

View file

@ -8,8 +8,8 @@ case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select record
Screencast) screencast ;; Screencast) screencast ;;
"Audio only") audio ;; "Audio only") audio ;;
"Video only") video ;; "Video only") video ;;
esac esac ;}
echo $! > ~/.larbs/.recordpid ;}
# If already running, will ask to end previous recording. # If already running, will ask to end previous recording.

View file

@ -35,4 +35,4 @@ ffmpeg -y \
if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi & if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi &
# Updating i3blocks recording icon: # Updating i3blocks recording icon:
echo ⏺️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks echo ⏺️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks

View file

@ -18,4 +18,4 @@ ffmpeg \
-c:v libx264 -qp 0 -r 30 $filename & -c:v libx264 -qp 0 -r 30 $filename &
# Updating i3blocks recording icon: # Updating i3blocks recording icon:
echo ⏺️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks echo ⏺️ > ~/.recordingicon && pkill -RTMIN+9 i3blocks