summaryrefslogtreecommitdiff
path: root/fussy.el
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-04-08 08:51:51 -0700
committercolin <colin@cicadas.surf>2023-04-08 08:51:51 -0700
commit82500b714351be2bd012eb46cb30bd1a0d98551f (patch)
tree6e71f01b72e813bcb336151da65b49fb1916ff35 /fussy.el
parent9840cb919532a70435cf1f1d031485ed051a7dc0 (diff)
Better image generation
Diffstat (limited to 'fussy.el')
-rw-r--r--fussy.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/fussy.el b/fussy.el
index 818786c..a7b24cd 100644
--- a/fussy.el
+++ b/fussy.el
@@ -123,12 +123,18 @@ the theme came from."
(package-refresh-contents)
(package-install 'compat)
(require 'compat)
-(toggle-frame-maximized)
+
+
+(set-frame-height (frame-focus) 50)
+(set-frame-width (frame-focus) 100)
+
+(defun rel-to-home (file)
+ (concat (getenv "HOME") "/" file))
(fussy-generate-all-theme-images
- "/home/colin/projects/LearnCPP/chapter1/hello_world/hello.cpp"
- "/home/colin/projects/fussy/fussy.el"
- "/home/colin/projects/INACTIVE/nsa/nsa.py")
+ (rel-to-home "../fussy.lisp")
+ (rel-to-home "../bandleader.py")
+ (rel-to-home"../conway.cpp"))
(kill-emacs)