With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.
With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.
This switches between the laptop monitor ($intern) when undocked and a two monitor setup when docked ($extern right of $intern). | |
ENV{ID_VENDOR_ID}, ENV{ID_MODEL_ID}, x_user and intern need to be set. | |
Based on the Arch wiki, StackExchange and Google. |
#!/usr/bin/env python | |
from subprocess import check_output, Popen, PIPE, call | |
import re | |
list_sinks = Popen(['pacmd', 'list-sinks'], stdout=PIPE) | |
output = str(check_output(['grep', r"index:"], stdin=list_sinks.stdout)) | |
list_sinks.wait() | |
selected = None | |
sinks = [] | |
for index_line in output.split(r'\n')[:-1]: |
Currently considering https://github.com/webdriverio/webdrivercss
Core Goals: