mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-11-22 05:26:02 -08:00
GNOME dependable installation, structure and style improvements
Split utils in utils.py to a directory Moved ./gnome-shell_css/ to ./gnome-shell/.css/
This commit is contained in:
12
scripts/utils/concatenate_files.py
Normal file
12
scripts/utils/concatenate_files.py
Normal file
@@ -0,0 +1,12 @@
|
||||
def concatenate_files(edit_file, file):
|
||||
"""
|
||||
Merge two files
|
||||
:param edit_file: where it will be appended
|
||||
:param file: file you want to append
|
||||
"""
|
||||
|
||||
with open(file, 'r') as read_file:
|
||||
file_content = read_file.read()
|
||||
|
||||
with open(edit_file, 'a') as write_file:
|
||||
write_file.write('\n' + file_content)
|
||||
Reference in New Issue
Block a user