diff options
author | Samuel Fadel <samuel@nihil.ws> | 2022-12-02 18:12:56 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2022-12-02 18:12:56 +0100 |
commit | f7ec25115caf0ff0c17275571f740748becfcc3e (patch) | |
tree | 27214eb106bc4f05a7a630707c5c3b9d4b09c291 /main.scm | |
parent | 21ebd4dda267d09c60d8b646782aed28138c5690 (diff) |
Sketching ideas.
Diffstat (limited to 'main.scm')
-rw-r--r-- | main.scm | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,8 +1,20 @@ -(use-modules (wm)) +(use-modules (srfi srfi-9) + (wm)) + +(define-record-type <wm-config> + (make-config border-width outer-border-width) + wm-config? + (border-width config-border-width set-config-border-width!) + (outer-border-width config-outer-border-width set-config-outer-border-width!)) + +(define config + (make-config 2 0)) (when (wm-init) (wm-set-configure-notify-handler! (lambda (x y w h) (display (+ x y w h)) (display "\n"))) + (display config) + (display "\n") (wm-quit)) |