From 3f5d9da47569b1af2fa4c7e2be70e1eeff9a2ed2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 7 Jun 2020 18:34:19 -0400 Subject: [PATCH] Revert "camtoggle removed" This reverts commit 90c4cdc831c4d9f5cd8bf8ca5d9273c2b227c4c9. --- .config/sxhkd/sxhkdrc | 4 ++-- .local/bin/camtoggle | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 .local/bin/camtoggle diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 1f37d24..1b89372 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -25,9 +25,9 @@ super + c super + v $TERMINAL -e nvim -c VimwikiIndex super + shift + a - $TERMINAL -e alsamixer; pkill -RTMIN+10 blocks + $TERMINAL -e pulsemixer super + shift + c - mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --title='mpvfloat' /dev/video0 + camtoggle super + shift + e tutorialvids super + w diff --git a/.local/bin/camtoggle b/.local/bin/camtoggle new file mode 100755 index 0000000..05679c0 --- /dev/null +++ b/.local/bin/camtoggle @@ -0,0 +1,2 @@ +#!/bin/sh +pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" /dev/video0