sway: add webcam-streaming binding, related stuff
This commit is contained in:
parent
4f4c24094f
commit
dcbf3be759
@ -260,6 +260,14 @@ for_window [app_id="org.gnome.Nautilus"] border pixel 1
|
|||||||
for_window [app_id="dolphin"] border pixel 1
|
for_window [app_id="dolphin"] border pixel 1
|
||||||
for_window [app_id="kitty"] border pixel 2
|
for_window [app_id="kitty"] border pixel 2
|
||||||
|
|
||||||
|
# as per https://github.com/japhir/ArchConfigs/blob/master/swayconfig
|
||||||
|
# add the webcam screen for video recording
|
||||||
|
bindsym $mod+ctrl+Shift+a exec mpv --no-osc --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0 || notify-send "failed to start webcam"
|
||||||
|
# for_window [title="^video0 - mpv$"] floating enable, sticky enable, resize set height 260 px, move absolute position 0 px 820 px, border none
|
||||||
|
for_window [title="^video0 - mpv$"] floating enable, sticky enable, resize set height 130 px, border none
|
||||||
|
for_window [title="Firefox — Sharing Indicator$"] floating enable, resize set height 16 px, border none
|
||||||
|
for_window [title="Picture-in-Picture"] floating enable
|
||||||
|
|
||||||
#--- Xtk Applications ------------------------------------------------------
|
#--- Xtk Applications ------------------------------------------------------
|
||||||
for_window [title="xclock"] floating enable
|
for_window [title="xclock"] floating enable
|
||||||
for_window [title="Calculator"] floating enable
|
for_window [title="Calculator"] floating enable
|
||||||
|
Loading…
Reference in New Issue
Block a user