Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run Zoom in Xephyr
{ pkgs ? import <nixpkgs> {} }:
let
xinitRc = pkgs.writeScript "zoom-xinitrc" ''
#!${pkgs.runtimeShell}
${pkgs.zoom-us}/bin/zoom-us &
exec ${pkgs.icewm}/bin/icewm
'';
in pkgs.writeScriptBin "zoom-us" ''
#!${pkgs.runtimeShell}
exec ${pkgs.xorg.xinit}/bin/xinit ${xinitRc} -- ${pkgs.xorg.xorgserver}/bin/Xephyr :1 -screen 1366x768 -resizeable
''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.