import xrdb2Remmina import xrdb2Termite import xrdb2freebsd_vt if __name__ == '__main__': for f in glob("../schemes/*.itermcolors"): base_name = splitext(basename(f))[0] xrdb_filepath = join('../xrdb', base_name + '.xrdb') with open(xrdb_filepath, 'w') as fout: ret_code = subprocess.Popen(['./iterm2xrdb', f], stdout=fout).wait() print(ret_code and "ERROR" or "OK" + " --> " + xrdb_filepath) print() xrdb2konsole.main('../xrdb/', '../konsole/') print('OK --> ' + '../konsole/') xrdb2terminator.main('../xrdb/', '../terminator/') print('OK --> ' + '../terminator/') xrdb2Xresources.main('../xrdb/', '../Xresources/') print('OK --> ' + '../Xresources/') xrdb2putty.main('../xrdb/', '../putty/') print('OK --> ' + '../putty/') xrdb2xfce_terminal.main('../xrdb/', '../xfce4terminal/colorschemes/') print('OK --> ' + '../xfce4terminal/colorschemes/') xrdb2Remmina.main('../xrdb/', '../remmina/') print('OK --> ' + '../Remmina/') xrdb2Termite.main('../xrdb/', '../termite/') print('OK --> ' + '../termite/') xrdb2freebsd_vt.main('../xrdb/', '../freebsd_vt/') print('OK --> ' + '../freebsd_vt/')
for f in glob("../schemes/*.itermcolors"): base_name = splitext(basename(f))[0] xrdb_filepath = join('../xrdb', base_name + '.xrdb') with open(xrdb_filepath, 'w') as fout: ret_code = subprocess.Popen(['./iterm2xrdb', f], stdout=fout).wait() print(ret_code and "ERROR" or "OK" + " --> " + xrdb_filepath) print() xrdb2konsole.main('../xrdb/', '../konsole/') print('OK --> ' + '../konsole/') xrdb2terminator.main('../xrdb/', '../terminator/') print('OK --> ' + '../terminator/') xrdb2Xresources.main('../xrdb/', '../Xresources/') print('OK --> ' + '../Xresources/') xrdb2putty.main('../xrdb/', '../putty/') print('OK --> ' + '../putty/') xrdb2xfce_terminal.main('../xrdb/', '../xfce4terminal/colorschemes/') print('OK --> ' + '../xfce4terminal/colorschemes/') xrdb2Remmina.main('../xrdb/', '../remmina/') print('OK --> ' + '../Remmina/') xrdb2Termite.main('../xrdb/', '../termite/') print('OK --> ' + '../termite/') xrdb2freebsd_vt.main('../xrdb/', '../freebsd_vt/') print('OK --> ' + '../freebsd_vt/') xrdb2kitty.main('../xrdb/', '../kitty/') print('OK --> ' + '../kitty/') xrdb2moba.main('../xrdb', '../mobaxterm') print('OK --> ' + '../mobaxterm/') xrdb2pantheon_terminal.main('../xrdb/', '../pantheonterminal/') print('OK --> ' + '../pantheonterminal/')