diff options
| author | 2025-02-07 08:59:20 -0800 | |
|---|---|---|
| committer | 2025-02-13 22:24:44 -0800 | |
| commit | 986b04aa9a19c24583adee2bbd6dda0a8e8d440c (patch) | |
| tree | cc3baf09187431361546792202c9c6c0e5c7f2e4 | |
| parent | bee8b7008c94f06bb661678bc396cc9aeb749b08 (diff) | |
| download | new-dotfiles-986b04aa9a19c24583adee2bbd6dda0a8e8d440c.tar.gz new-dotfiles-986b04aa9a19c24583adee2bbd6dda0a8e8d440c.zip | |
pop-os: Add some buttons to my dashboard
| -rw-r--r-- | oni/home/config/pop-os/emacs.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/oni/home/config/pop-os/emacs.el b/oni/home/config/pop-os/emacs.el index 309c284..adf6fdf 100644 --- a/oni/home/config/pop-os/emacs.el +++ b/oni/home/config/pop-os/emacs.el @@ -121,4 +121,21 @@ buffers.") (dashboard-setup-startup-hook) (run-with-idle-timer 300 t (lambda () (switch-to-buffer dashboard-buffer-name))) (run-at-time "02:00" 86400 #'dashboard-open) +(setq dashboard-navigator-buttons `(((,(propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))) "PRs" "Open pull requests" + (lambda (&rest _) + (browse-url "https://github.com/pulls?q=is%3Aopen+is%3Apr+org%3Ajuked-social+draft%3Afalse+review%3Anone+-author%3Aapp%2Fdependabot")) + default "[" "]")) + ((,(propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))) "back-end" "Unmerged into back-end" + (lambda (&rest _) + (browse-url "https://github.com/juked-social/social-api/compare/main...staging")) + default "[" "]") + (,(propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))) "chanced" "Unmerged into chanced front-end" + (lambda (&rest _) + (browse-url "https://github.com/juked-social/chanced-frontend/compare/main...staging")) + default "[" "]") + (,(propertize " " 'display `(image :type svg :file ,(expand-file-name "search.svg" oni-gui-icons-dir) :ascent center :margin (5 . 0))) "punt" "Unmerged into punt front-end" + (lambda (&rest _) + (browse-url "https://github.com/juked-social/punt-frontend/compare/main...staging")) + default "[" "]")))) +(setq dashboard-set-navigator t) (add-hook 'server-after-make-frame-hook #'dashboard-open) |
