stumpwm-user-attempt.lisp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ;; 2019-04-16 I tried to move from `:stumpwm' to `:stumpwm-user' module
  2. ;; by prepending the following code to my "init.lisp" (and replacing
  3. ;; `:stumpwm' module name in other files). Unfortunately, it didn't
  4. ;; work in one very important place (maybe in some others as well, but
  5. ;; this one is enough). When I pressed "s-t c" (bound to `colon'
  6. ;; command), I got the following echo message:
  7. ;;
  8. ;; Error In Command 'colon': unknown type specifier: FLOAT-GROUP
  9. ;;
  10. ;; Apparently, it is some bug in stumpwm, but I didn't bother to dig it.
  11. ;; So I will stick to :stumpwm module. It's not a problem after all,
  12. ;; since all my procedures, macros and variables are prefixed with `al/'.
  13. ;;; Exporting missing symbols from :stumpwm
  14. ;; "missing" means they are internal for `:stumpwm' module, so they
  15. ;; cannot be accessed directly from `:stumpwm-user' module (without
  16. ;; prefixing them with `stumpwm::'). And since I use these symbols in
  17. ;; my config, I export them here.
  18. (in-package :stumpwm)
  19. (export
  20. '(run-prog
  21. ;; Key maps and procedures
  22. *tile-group-top-map*
  23. *tile-group-root-map*
  24. *float-group-top-map*
  25. *float-group-root-map*
  26. print-key-seq
  27. key-to-keycode+state
  28. ;; Groups, frames and windows
  29. switch-to-group
  30. group-frames
  31. tile-group-last-frame
  32. tile-group-frame-head
  33. tile-group-current-frame
  34. make-frame
  35. focus-frame
  36. focus-frame-after
  37. screen-current-group
  38. window-frame
  39. frame-window
  40. populate-frames
  41. focus-frame
  42. sync-frame-windows
  43. dump-group
  44. restore-group
  45. *window-info-format*
  46. window-property
  47. find-matching-windows
  48. focus-all
  49. sort-windows
  50. *float-window-border*
  51. *float-window-title-height*
  52. float-window-move-resize
  53. ;; Colors
  54. *bar-hi-color*
  55. screen-fg-color
  56. screen-bg-color
  57. screen-focus-color
  58. screen-border-color
  59. update-colors-all-screens
  60. hex-to-xlib-color))
  61. (in-package :stumpwm-user)