recording icon location moved
This commit is contained in:
parent
3772f47536
commit
d14c117df7
5 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@ separator_block_width=15
|
|||
markup=pango
|
||||
|
||||
[record]
|
||||
command=cat ~/.scripts/.recording
|
||||
command=cat ~/.recordingicon
|
||||
interval=once
|
||||
signal=9
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue