diff options
author | Tom Willemse | 2023-10-12 17:03:21 -0700 |
---|---|---|
committer | Tom Willemse | 2023-10-12 17:03:21 -0700 |
commit | 3712c888b7c2956a2348177ffc6e816481d63591 (patch) | |
tree | 7b7220bc0ccf0a4677bf67b87f82530ae97ab367 /oni/packages/emacs.scm | |
parent | cb16d6af6182368a2db5a98d3cb62c0de36b676a (diff) | |
download | new-dotfiles-3712c888b7c2956a2348177ffc6e816481d63591.tar.gz new-dotfiles-3712c888b7c2956a2348177ffc6e816481d63591.zip |
Add golden-ratio to Emacs configuration
Diffstat (limited to 'oni/packages/emacs.scm')
-rw-r--r-- | oni/packages/emacs.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm index 9d488e4..ad6ee92 100644 --- a/oni/packages/emacs.scm +++ b/oni/packages/emacs.scm @@ -444,3 +444,31 @@ new-theme for a while. I couldn't think of a name so I named it after him.") (description "This package provides an Emacs-based interface to the Notmuch mail system."))) + +(define-public emacs-golden-ratio + (let ((commit "375c9f287dfad68829582c1e0a67d0c18119dab9") + (revision "0")) + (package + (name "emacs-golden-ratio") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (uri (git-reference + (url "https://github.com/roman/golden-ratio.el.git") + (commit commit))) + (method git-fetch) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a635a3h6jx0clgwmhwc48i14y3xy5q29y37lp2sjnbxx1hlmkli")))) + (build-system emacs-build-system) + (home-page "https://github.com/roman/golden-ratio.el") + (synopsis "Automatic resizing of Emacs windows to the golden ratio") + (description "When working with many windows at the same time, each window has a size that is +not convenient for editing. + +golden-ratio helps on this issue by resizing automatically the windows you are +working on to the size specified in the \"Golden Ratio\". The window that has +the main focus will have the perfect size for editing, while the ones that are +not being actively edited will be re-sized to a smaller size that doesn't get in +the way, but at the same time will be readable enough to know it's content.") + (license license:expat)))) |