diff options
| author | Luke <luke@lukesmith.xyz> | 2018-02-04 13:51:28 -0700 |
|---|---|---|
| committer | Luke <luke@lukesmith.xyz> | 2018-02-04 13:51:28 -0700 |
| commit | b6cf3341b0324052fd804a5150f58c81ea315016 (patch) | |
| tree | 7ee321d20aa9eb08e5603a3d308e7b37334feb8d | |
| parent | abfbe3a1ac742b406156614127092427d6b18bb0 (diff) | |
| download | eibhear-b6cf3341b0324052fd804a5150f58c81ea315016.tar.gz eibhear-b6cf3341b0324052fd804a5150f58c81ea315016.tar.zst eibhear-b6cf3341b0324052fd804a5150f58c81ea315016.zip | |
webcam toggle added
| -rwxr-xr-x | .config/Scripts/camtoggle | 2 | ||||
| -rw-r--r-- | .config/i3/config | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.config/Scripts/camtoggle b/.config/Scripts/camtoggle new file mode 100755 index 0000000..2e98cb2 --- /dev/null +++ b/.config/Scripts/camtoggle @@ -0,0 +1,2 @@ +#!/bin/bash +pkill -f /dev/video || mpv --geometry=-0-0 --autofit=30% /dev/video0 diff --git a/.config/i3/config b/.config/i3/config index ce0166e..2a55af9 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -224,8 +224,8 @@ bindsym $mod+Shift+x exec $shutdown for_window [title="video0 - mpv"] floating enable for_window [title="video0 - mpv"] sticky enable -bindsym $mod+c exec --no-startup-id mpv --geometry=-0-0 --autofit=30% /dev/video0 -bindsym $mod+Shift+c exec pkill -f dev/video +bindsym $mod+c exec --no-startup-id camtoggle +#bindsym $mod+Shift+c bindsym $mod+v exec $term -e ncmpcpp -s visualizer bindsym $mod+Shift+v exec projectM-pulseaudio |
