recording icon location moved
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user