~mjz/+junk/testing

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os

dirs = {}
dirs['detach-skeleton/'] = '~/.config/awn/applets/detach-skeleton/'
dirs['run/'] = '~/.config/awn/applets/run/'
dirs['slickswitcher/'] = '~/.config/awn/applets/slickswitcher/'

files = {}
files['detach-skeleton.desktop'] = '~/.config/awn/applets/detach-skeleton.desktop'
files['run.desktop'] = '~/.config/awn/applets/run.desktop'
files['slickswitcher.desktop'] = '~/.config/awn/applets/slickswitcher.desktop'

for fromdir, todir in dirs.items():
  os.system('cp -R %s %s' % (fromdir, todir))

for fromfile, tofile in files.items():
  os.system('cp -R %s %s' % (fromfile, tofile))