Damn Small Linux Forums

Full Version: Another JWM project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.
Pages: 1 2 3