Damn Small Linux Forums
Another JWM project - Printable Version

+- Damn Small Linux Forums (https://damnsmalllinux.org/forums)
+-- Forum: Damn Small Linux Forum (https://damnsmalllinux.org/forums/forum-1.html)
+--- Forum: Other Topics (https://damnsmalllinux.org/forums/forum-5.html)
+--- Thread: Another JWM project (/thread-73.html)

Pages: 1 2 3


RE: Another JWM project - Rev - 06-12-2024

Hey guys I added Keybinding support and autostart support. Keep in mind, this is a quick and dirty implementation and may change in the future. Here's an example of how you add them to your config.
Code:
keybind h {
    key = "H"
    command = "up"
}

keybind refresh {
    mods = {"Control", "Alt"}
    key = "R"
    command = "restart"
}

keybind firefox {
    mods = {"Control", "Alt"}
    key = "W"
    command = "exec:firefox"
}
Code:
autostart cmst {
    sleep_time = 1
    fork_needed = true
    restart_kill = true
    program = "cmst"
    args = "-m"
}
How would you guys like the configuration to be located? My current thought is to have one jwms.conf in ~/.config/jwms and a default one in /etc/jwms. Or I can leave out the one in /etc entirely.