Skip to content

Z572/gwwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gwwm - guile wayland windows manager.

fork from dwl, add guile to configure it.

WARN

  • Is a WIP project.
  • Both api changes and errors occur.
  • no xwayland for now

how to build

you need

optional:

autoreconf -fiv
./configure
make -j

develop

If you use emacs, you can use geiser-connect to connect gwwm.

If you use guix:

git clone https://github.com/Z572/gwwm
git clone https://github.com/Z572/guile-wayland
git clone https://github.com/Z572/guile-wlroots
git clone https://github.com/Z572/util572
cd gwwm
guix time-machine --channels=channels-lock.scm -- shell -D -f guix.scm
autoreconf -fiv
./configure
make -j
make run

configure

simple example ~/.config/gwwm/init.scm:

(use-modules (gwwm)
             (gwwm config)
             (gwwm commands)
             (gwwm keymap)
             (gwwm hooks)
             (gwwm color))
;;; win+d
(keymap-global-set (kbd (s d)) (lambda () (spawn "firefox" '("firefox"))))
(gwwm
 (borderpx 1)
 (sloppyfocus? #t)
 (xkb-rules
  (make-xkb-rules
   "us"
   #:model "asus_laptop"
   #:options
   '("ctrl:ralt_rctrl"
     "ctrl:swapcaps_hyper"
     "shift:both_capslock")))
 (bordercolor (make-color "#ffbbeeff")))

thanks

Thanks of guile, dwl , tinywl ,sway.