Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Commit

Permalink
Missing some files (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
raelgc committed Nov 15, 2016
1 parent f9ae6fa commit b872bb1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,15 @@ Make sure that `File` > `Close to Tray` is checked.

This is the font-family required (i.e., you need of them): `Monaco, Menlo, Consolas, Courier New, monospace`.

#### 9. Viewing snippets consumes too much resources

This is a known behavior of python webkit. But you can disable snippets inline view (they'll be opened in browser).

To achieve this, edit the config file located at `~/.config/scudcloud/scudcloud.cfg` and add the following line:

Snippets=False


# License

ScudCloud is is released under the [MIT License](/LICENSE).
3 changes: 3 additions & 0 deletions scudcloud/resources/disable_snippets.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/* Hidding snippets */
.snippet_container { display: none !important; }
.msg_inline_file_preview_toggler .msg_inline_media_toggler { display: none !important; }
2 changes: 2 additions & 0 deletions scudcloud/resources/disable_snippets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Disabling flex panels
$('body').delegate('.file_preview_link.no_jumbomoji.file_force_flexpane.bold.msg_inline_file_preview_title', 'click', function(e){e.preventDefault();desktop.open($(this).parent().attr("href"));});

0 comments on commit b872bb1

Please sign in to comment.