This repository was archived by the owner on May 15, 2021. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 2
Configuration Examples
Akira Komamura edited this page Jun 11, 2018 · 2 revisions
A frame for writing Emacs Lisp code.
(frame-workflow-define-subject "emacs-lisp" :make-frame '(frame-purpose-make-mode-frame 'emacs-lisp-mode))- Filter the buffer list with frame-purpose.el.
A frame for web browsing (using Firefox) in EXWM.
(frame-workflow-define-subject "web" :layout '(progn (start-process-shell-command "firefox" nil "firefox") (delete-other-windows)))- Firefox is started when the frame is created.
Frame-workflow ships with a mode line configuration. If you use a different modeline framework like spaceline, you may need to define a configuration.
This is a configuration for spaceline-all-the-icons.
(spaceline-define-segment frame-workflow "The current frame-workflow subject." (when-let ((subject (frame-workflow--frame-subject-name))) (format "%s %s" (propertize (all-the-icons-octicon "browser" :v-adjust 0) 'face `(:family ,(all-the-icons-octicon-family) :height ,(spaceline-all-the-icons--height 1.1) :inherit)) (propertize subject 'face '(:height 0.8 :inherit)))) :tight t :when (bound-and-true-p frame-workflow-mode))To add this segment to your modeline, add the symbol to the call of spaceline-all-the-icons-theme:
(spaceline-all-the-icons-theme 'frame-workflow)