WIP new structure
@@ -9,9 +9,15 @@
|
||||
|
||||
function main() {
|
||||
call_path=`pwd`
|
||||
cd "${call_path}"
|
||||
echo "Working Dir: " $(pwd)
|
||||
path=""
|
||||
|
||||
if [[ ! "${1::1}" == /* ]]; then
|
||||
path="${call_path}/${1}"
|
||||
else
|
||||
path="${1}"
|
||||
fi
|
||||
|
||||
cd "/opt/"
|
||||
python /opt/cornea.zip "$@"
|
||||
}
|
||||
main "$@";
|
||||
|
BIN
user_config/usr/share/cornea/icons/archive.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
user_config/usr/share/cornea/icons/audio.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
user_config/usr/share/cornea/icons/bin.png
Normal file
After Width: | Height: | Size: 858 B |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
BIN
user_config/usr/share/cornea/icons/cornea.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
user_config/usr/share/cornea/icons/dir.png
Normal file
After Width: | Height: | Size: 850 B |
BIN
user_config/usr/share/cornea/icons/doc.png
Normal file
After Width: | Height: | Size: 702 B |
BIN
user_config/usr/share/cornea/icons/image.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
user_config/usr/share/cornea/icons/pdf.png
Normal file
After Width: | Height: | Size: 925 B |
BIN
user_config/usr/share/cornea/icons/presentation.png
Normal file
After Width: | Height: | Size: 882 B |
BIN
user_config/usr/share/cornea/icons/spreadsheet.png
Normal file
After Width: | Height: | Size: 707 B |
BIN
user_config/usr/share/cornea/icons/text.png
Normal file
After Width: | Height: | Size: 798 B |
BIN
user_config/usr/share/cornea/icons/trash.png
Normal file
After Width: | Height: | Size: 989 B |
BIN
user_config/usr/share/cornea/icons/video.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
user_config/usr/share/cornea/icons/web.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
23
user_config/usr/share/cornea/key-bindings.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"keybindings": {
|
||||
"help" : "F1",
|
||||
"rename_files" : ["F2", "<Control>e"],
|
||||
"open_terminal" : "F4",
|
||||
"refresh_tab" : ["F5", "<Control>r"],
|
||||
"delete_files" : "Delete",
|
||||
"tggl_top_main_menubar" : "Alt_L",
|
||||
"trash_files" : "<Shift><Control>t",
|
||||
"tear_down" : "<Control>q",
|
||||
"go_up" : "<Control>Up",
|
||||
"go_home" : "<Control>slash",
|
||||
"grab_focus_path_entry" : "<Control>l",
|
||||
"open_files" : "<Control>o",
|
||||
"show_hide_hidden_files" : "<Control>h",
|
||||
"keyboard_create_tab" : "<Control>t",
|
||||
"keyboard_close_tab" : "<Control>w",
|
||||
"keyboard_copy_files" : "<Control>c",
|
||||
"keyboard_cut_files" : "<Control>x",
|
||||
"paste_files" : "<Control>v",
|
||||
"show_new_file_menu" : "<Control>n"
|
||||
}
|
||||
}
|
40
user_config/usr/share/cornea/settings.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"config": {
|
||||
"base_of_home": "",
|
||||
"hide_hidden_files": "true",
|
||||
"thumbnailer_path": "ffmpegthumbnailer",
|
||||
"go_past_home": "true",
|
||||
"lock_folder": "false",
|
||||
"locked_folders": "venv::::flasks",
|
||||
"mplayer_options": "-quiet -really-quiet -xy 1600 -geometry 50%:50%",
|
||||
"music_app": "/opt/deadbeef/bin/deadbeef",
|
||||
"media_app": "mpv",
|
||||
"image_app": "mirage",
|
||||
"office_app": "libreoffice",
|
||||
"pdf_app": "evince",
|
||||
"text_app": "leafpad",
|
||||
"file_manager_app": "solarfm",
|
||||
"terminal_app": "terminator",
|
||||
"remux_folder_max_disk_usage": "8589934592"
|
||||
},
|
||||
"filters": {
|
||||
"meshs": [".blend", ".dae", ".fbx", ".gltf", ".obj", ".stl"],
|
||||
"code": [".cpp", ".css", ".c", ".go", ".html", ".htm", ".java", ".js", ".json", ".lua", ".md", ".py", ".rs", ".toml", ".xml", ".pom"],
|
||||
"videos": [".mkv", ".mp4", ".webm", ".avi", ".mov", ".m4v", ".mpg", ".mpeg", ".wmv", ".flv"],
|
||||
"office": [".doc", ".docx", ".xls", ".xlsx", ".xlt", ".xltx", ".xlm", ".ppt", ".pptx", ".pps", ".ppsx", ".odt", ".rtf"],
|
||||
"images": [".png", ".jpg", ".jpeg", ".gif", ".ico", ".tga", ".webp"],
|
||||
"text": [".txt", ".text", ".sh", ".cfg", ".conf", ".log"],
|
||||
"music": [".psf", ".mp3", ".ogg", ".flac", ".m4a"],
|
||||
"pdf": [".pdf"]
|
||||
|
||||
},
|
||||
"theming":{
|
||||
"success_color":"#88cc27",
|
||||
"warning_color":"#ffa800",
|
||||
"error_color":"#ff0000"
|
||||
},
|
||||
"debugging": {
|
||||
"ch_log_lvl": 10,
|
||||
"fh_log_lvl": 20
|
||||
}
|
||||
}
|