webcam toggle added
This commit is contained in:
parent
abfbe3a1ac
commit
b6cf3341b0
2 changed files with 4 additions and 2 deletions
2
.config/Scripts/camtoggle
Executable file
2
.config/Scripts/camtoggle
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
pkill -f /dev/video || mpv --geometry=-0-0 --autofit=30% /dev/video0
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue