10-23-2024, 08:08 AM
(06-12-2024, 03:52 AM)Rev Wrote: 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"
}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.Code:autostart cmst {
sleep_time = 1
fork_needed = true
restart_kill = true
program = "cmst"
args = "-m"
}
Well, it would be nice to follow the XDG stuff, like xdg-config-home or whatever it's called. That way system managers can choose where that stuff goes instead of it being hard-coded. But as long as you follow the traditional guidelines -- system-wide config in /etc, user-specific stuff in ~/.config -- then I'm sure people will be happy
Also this looks like a super cool project and I'm curious to give it a try. Do you have an installation guide?