summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/i3blocks/config2
-rwxr-xr-x.scripts/audio2
-rwxr-xr-x.scripts/dmenurecord4
-rwxr-xr-x.scripts/screencast2
-rwxr-xr-x.scripts/video2
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