diff options
author | Samuel Fadel <samuel@nihil.ws> | 2022-12-08 15:57:36 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2022-12-08 15:57:36 +0100 |
commit | 6bdaee03c0fd3caac390dffdaaf52d54653b1430 (patch) | |
tree | d6e6d725f0c46aa4acf89ceb2bc1cf3f714d9760 /wm.scm | |
parent | a6051a3146da4d99788905c0805890d78ab004da (diff) |
More features implemented.
* .manifest.scm: Added libx11
* Makefile: Add x11 to pkg-config calls
* main.scm: Add more config, including some keybinding stuff
* wm.scm: Add key-from-str function
* schewm.c: keysym_from_str() and others implemented/refactored
Diffstat (limited to 'wm.scm')
-rw-r--r-- | wm.scm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,6 +16,14 @@ (dynamic-func name libschewm) args)) +(define c/key-from-str + (schewm-func uint32 + "keysym_from_str" + (list '*))) + +(define (key-from-str s) + (c/key-from-str (string->pointer s))) + (define c/wm-init (schewm-func int "wm_init" '())) |