-/*
- // make our guile interfaces exist
- SWIG_init();
-
- // run the guile of d3th
- FILE *rcpyfd = fopen("/home/natas/.openbox/user.scm", "r");
- if (!rcpyfd) {
- printf("failed to load guile script /home/natas/.openbox/user.scm\n");
- } else {
- fclose(rcpyfd);
- gh_load("/home/natas/.openbox/user.scm");
- }
-*/
-
- Py_SetProgramName(argv[0]);
- Py_Initialize();
- init_otk();
- init_openbox();
- // i wish...
- //PyRun_String("from _otk import *; from _openbox import *;", Py_file_input,
- // Py_None, Py_None);
- FILE *rcpyfd = fopen("/home/natas/.openbox/user.py", "r");
- if (!rcpyfd) {
- printf("failed to load python file /home/natas/.openbox/user.py\n");
- } else {
- PyRun_SimpleFile(rcpyfd, "/home/natas/.openbox/user.py");
- fclose(rcpyfd);
- }
-
-