aboutsummaryrefslogtreecommitdiff
path: root/zenbook
diff options
context:
space:
mode:
authorCamil Staps2021-06-28 12:22:48 +0200
committerCamil Staps2021-06-28 12:22:48 +0200
commita73acb9b474ce77af4bc54657d32bd2714ce53ec (patch)
tree1016bbbb59b629c0e905fce3a0b464a40f6f97a2 /zenbook
parentAdd vim settings for gas and cabal (diff)
Cleanup binaries
Diffstat (limited to 'zenbook')
-rwxr-xr-xzenbook/bin/record-webcam7
-rwxr-xr-xzenbook/bin/wifi-restart4
2 files changed, 4 insertions, 7 deletions
diff --git a/zenbook/bin/record-webcam b/zenbook/bin/record-webcam
deleted file mode 100755
index 723985b..0000000
--- a/zenbook/bin/record-webcam
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-# https://unix.stackexchange.com/q/58526/37050
-DATE="$(date +%Y-%m-%d-%H-%M-%S)"
-cvlc \
- v4l2:///dev/video0:width=640:height=480 \
- :input-slave=alsa://hw:1,0 \
- --sout="#transcode{vcodec=theo,vb=2000,fps=8,acodec=vorb,ab=90,channels=1,samplerate=44100}:standard{access=file,mux=ogg,dst=$DATE.ogg}"
diff --git a/zenbook/bin/wifi-restart b/zenbook/bin/wifi-restart
new file mode 100755
index 0000000..e9537c6
--- /dev/null
+++ b/zenbook/bin/wifi-restart
@@ -0,0 +1,4 @@
+#!/bin/sh
+sudo ifdown wlp2s0
+sudo ifup wlp2s0
+