Skip to content

Instantly share code, notes, and snippets.

@adisbladis
Created August 1, 2019 14:22
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save adisbladis/1a4fe69d4b47cdd60eadcd47e7f933ce to your computer and use it in GitHub Desktop.
Save adisbladis/1a4fe69d4b47cdd60eadcd47e7f933ce to your computer and use it in GitHub Desktop.
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