06-12-2024, 03:52 AM
(This post was last modified: 06-14-2024, 04:13 AM by Rev.
Edit Reason: Updated keymod Ctrl To be Control
)
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.
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:
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"
}